2020-07-29 17:08:56 -04:00
|
|
|
[build-system]
|
|
|
|
requires = ["setuptools", "wheel"]
|
|
|
|
|
2020-02-14 09:09:34 -05:00
|
|
|
[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
|
|
|
|
)/
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
2021-10-15 02:31:44 +05:30
|
|
|
( # and these additional random rules
|
2020-02-14 09:09:34 -05:00
|
|
|
/( __pycache__
|
|
|
|
| \.circleci
|
|
|
|
| \.github
|
|
|
|
| \.vscode
|
|
|
|
| \.pytest_cache
|
2020-05-06 21:23:57 -04:00
|
|
|
| ply
|
2020-02-14 09:09:34 -05:00
|
|
|
)/
|
|
|
|
)
|
|
|
|
'''
|
2021-07-30 04:01:52 +05:30
|
|
|
|
|
|
|
extend_exclude = '''
|
|
|
|
((xonsh/parser_table.py)|(xonsh/completion_parser_table.py))
|
|
|
|
'''
|
2021-10-15 02:31:44 +05:30
|
|
|
|
|
|
|
force_exclude = '''.*/__amalgam__.py'''
|
2022-01-31 20:57:51 +05:30
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
2022-03-18 11:53:40 +05:30
|
|
|
extend_skip_glob = ["xonsh/*_table.py", "xonsh/ply/**.py", "*/__amalgam__.py", "**/__amalgam__.py"]
|
2022-01-31 20:57:51 +05:30
|
|
|
src_paths = ["xonsh", "xontrib", "xompletions", "tests"]
|
2022-03-24 00:46:50 +05:30
|
|
|
known_first_party = ["xonsh", "xontrib", "xompletions", "tests"]
|
|
|
|
known_third_party = ["ply", "pytest"]
|