Skip to content

Commit

Permalink
Small fixes to the setup and pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqwang committed Oct 24, 2021
1 parent 34b052a commit c355287
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[tool.usort]

first_party_detection = false

[tool.black]

line-length = 110
target-version = ["py36"]
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ universal=1

[metadata]
license_file = LICENSE
description-file = README.md

[pep8]
max-line-length = 110
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c355287

Please sign in to comment.