/black-disable-checker

Little pre-commit script that fail if black has been disabled in a comment.

Primary LanguagePythonMIT LicenseMIT

black-disable-checker

PyPI version PRs Welcome

That little door knob on your blackened bike shed can also be any color you like; as long as it's black.

black-disable-checker is an uncompromising black adoption checker. By using it, you agree to really cede control over minutiae of hand-formatting. In return, you will not have to argue about disabling black or not. You will save time and mental energy for more important matters.

Installation

- repo: https://github.com/Pierre-Sassoulas/black-disable-checker/
  rev: 1.1.0
  hooks:
    - id: black-disable-checker