xonsh/pyproject.toml
Noorhteen Raja NJ 5dafceef47
chore: upgrade black and mypy (#4399)
* chore: upgrade black and mypy

* chore: update black config

ignore generated files from ply

* chore: upgrade pre-commit plugins
2021-07-29 18:31:52 -04:00

38 lines
638 B
TOML

[build-system]
requires = ["setuptools", "wheel"]
[tool.black]
# better to keep default line-length than to match flake8
exclude = '''
( # exclude entire contents of these top level directories...
/( \.eggs
| \.git
| \.hg
| \.mypy
| _cache
| \.nox
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
|
(
# and these additional random rules
/( __pycache__
| \.circleci
| \.github
| \.vscode
| \.pytest_cache
| ply
)/
)
'''
extend_exclude = '''
((xonsh/parser_table.py)|(xonsh/completion_parser_table.py))
'''