diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5c8b0d91..2aedfe2b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,6 @@ repos: rev: 22.12.0 hooks: - id: black - args: ["--target-version=py38"] - repo: https://github.com/pycqa/isort rev: 5.11.5 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..891f268e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = ['setuptools>=40.8.0'] +build-backend = 'setuptools.build_meta' + +[tool.black] +target-version = ['py38']