diff --git a/setup.cfg b/setup.cfg index f955d0f..9e6f0c7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 + diff --git a/setup.py b/setup.py index 6f164f5..51932db 100644 --- a/setup.py +++ b/setup.py @@ -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: