Last active
September 10, 2020 14:13
-
-
Save metalg0su/73a8a7cfed9554ed3f8d9d56c26290f4 to your computer and use it in GitHub Desktop.
python project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# extensions: flake8-docstring | |
[flake8] | |
exclude = | |
./venv | |
max-line-length = 120 | |
ignore = | |
W503 | |
# flake8-docstrings: http://www.pydocstyle.org/en/latest/error_codes.html#error-codes | |
D10 | |
D40 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from setuptools import setup, find_packages | |
req_tests = ["pytest"] | |
req_lint = ["flake8", "flake8-docstrings"] | |
req_etc = ["black", "isort", "vulture"] | |
req_dev = req_tests + req_lint + req_etc | |
setup_options = { | |
"name": "", | |
"description": "", | |
"packages": find_packages(), | |
"install_requires": [], | |
"extras_require": { | |
"tests": req_tests, | |
"lint": req_lint, | |
"dev": req_dev | |
}, | |
"package_dir": {"": "."}, | |
"entry_points": { | |
"console_scripts": [ | |
"run-proc=src.__main__:main", | |
], | |
}, | |
} | |
setup(**setup_options) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment