gestioCOF/pyproject.toml
Aurélien Delobelle 104e71dcf6 core -- Add black,isort,flake8 to CI and pre-commit hook
On CI:
- black and isort in check mode must pass.
- flake8 only prints errors
  WIP: make it also failed.

On pre-commit:
- black and isort will format staged files, if installed on path.
- flake8 prints its output if necessary.
2018-10-06 12:53:50 +02:00

9 lines
169 B
TOML

[tool.black]
# Automatically ignore files in .gitignore (opened at this time):
# https://github.com/ambv/black/issues/475
exclude = '''
/(
\.pyc
| venv
)/
'''