diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f099507d..346d80e9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,8 +1,12 @@ +default_language_version: + python: python3.8 + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.0.1 hooks: - id: check-docstring-first + - id: check-toml - id: check-yaml exclude: packaging/.* - id: end-of-file-fixer diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..4c0a3fa2 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,8 @@ +[tool.usort] + +first_party_detection = false + +[tool.black] + +line-length = 110 +target-version = ["py36"] diff --git a/setup.cfg b/setup.cfg index a65e7939..db259a58 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,6 +3,7 @@ universal=1 [metadata] license_file = LICENSE +description-file = README.md [pep8] max-line-length = 110 diff --git a/setup.py b/setup.py index 92996e7a..1b6d86a2 100644 --- a/setup.py +++ b/setup.py @@ -78,9 +78,6 @@ def load_requirements( license="GPL-3.0", packages=find_packages(exclude=["test", "deployment", "notebooks"]), zip_safe=False, - options={ - "bdist_wheel": {"python_tag": "py36.py37.py38.py39"}, - }, classifiers=[ # Operation system "Operating System :: OS Independent",