Skip to content

Commit

Permalink
Linter tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
markokr committed Nov 14, 2021
1 parent 6f2fa9d commit ccc19c6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,14 @@
[bdist_wheel]
universal=0

[flake8]
max-line-length = 120
ignore = W391, W503, W504, H306, E1, E2, E3, E4, E5, E7
exclude = .git,__pycache__,.tox

[mypy]
python_version = 3.8

[mypy-setuptools]
ignore_missing_imports = True

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
for ln in f:
if ln.startswith("__version__"):
_version = ln.split()[2].strip("\"'")
len(_version)
assert _version

# load info
with open("README.rst") as f:
Expand Down

0 comments on commit ccc19c6

Please sign in to comment.