xch-blockchain/pyproject.toml
Kyle Altendorf e3fb3ce96e
Move black from SuperLinter to upload workflow, use 21.12b0 in pre-commit (#10103)
* black==21.12b0 in pre-commit

Match `setup.py`.

* move black from super linter to upload workflow

* black (updated)

* configure so black . works

* --check --diff for black
2022-02-20 21:33:09 -08:00

18 lines
414 B
TOML

[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=4.1.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
fallback_version = "unknown-no-.git-directory"
local_scheme = "no-local-version"
[tool.black]
line-length = 120
target-version = ['py37', 'py38', 'py39']
include = '''
^/(
[^/]*.py
| (benchmarks|build_scripts|chia|tests|tools)/.*\.pyi?
)$
'''
exclude = ''