Skip to content

Minimal example of Black pre-commit hook failing to respect pyproject.toml exclude rule

Notifications You must be signed in to change notification settings

jidicula/pre-commit-black

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit-black

Minimal example of Black pre-commit hook failing to respect pyproject.toml exclude rule.

The main branch uses black 20.8b2. The master-black branch uses black's master branch.

To run

  1. poetry install
  2. poetry shell
  3. pre-commit install
  4. Add a trailing newline to ignored/ostensibly_ignored.py.
  5. Run black check . to verify that project files pass.
  6. Stage the change and attempt to commit.

About

Minimal example of Black pre-commit hook failing to respect pyproject.toml exclude rule

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages