neuroinformatics-unit / python-cookiecutter

Utility to create a basic Python project structure with tests, CI etc.
BSD 3-Clause "New" or "Revised" License
20 stars 3 forks source link

Remove black excludes config #41

Closed dstansby closed 1 year ago

dstansby commented 1 year ago

black automatically ignores files already specified in .gitignore, so remove files that are duplicated across .gitignore and the black config.

The remaining entries were

exclude = '''
(
  /(
    | _build
    | buck-out
    | examples
  )/
)
'''

and I these should either be in .gitignore (_build), not be ignored by black (examples) or I don't know what they are (buck-out), so I've just removed the exclude config completely.