Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

A monkey-patch for `black` uncompromising Python source code reformatter, coercing it to use tabs for indentation instead of cargo cult spaces. !!! Migrated to Codeberg !!!

License

Notifications You must be signed in to change notification settings

KOLANICH-tools/antiflash.py

Repository files navigation

antiflash.py Unlicensed work

wheel (GitLab) wheel (GHA via nightly.link) GitLab Build Status GitLab Coverage GitHub Actions Libraries.io Status Code style: antiflash

We have moved to https://codeberg.org/KOLANICH-tools/antiflash.py, grab new versions there.

Under the disguise of "better security" Micro$oft-owned GitHub has discriminated users of 1FA passwords while having commercial interest in success of FIDO 1FA specifications and Windows Hello implementation which it promotes as a replacement for passwords. It will result in dire consequencies and is competely inacceptable, read why.

If you don't want to participate in harming yourself, it is recommended to follow the lead and migrate somewhere away of GitHub and Micro$oft. Here is the list of alternatives and rationales to do it. If they delete the discussion, there are certain well-known places where you can get a copy of it. Read why you should also leave GitHub.


A monkey-patch for black uncompromising Python source code reformatter, coercing it to use tabs for indentation instead of cargo cult spaces.

antiflash is white coating applied to nuclear-carrying bombers to protect them from overheating from light emitted by nuclear explosion.

Limitations

  1. It monkey-patches black to use tabs. It doesn't create any branches in black. It just replaces hardcoded 4 spaces with a hardcoded \t. After the monkey-patch is applied, black itself will use tabs.
  2. So, importing this package produces a side effect. So it is only useful in situations where only antiflash is needed, not antiflash and black simultaniously.

About

A monkey-patch for `black` uncompromising Python source code reformatter, coercing it to use tabs for indentation instead of cargo cult spaces. !!! Migrated to Codeberg !!!

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages