Skip to content

Instantly share code, notes, and snippets.

@AppleBoiy
Last active October 14, 2023 20:08
Show Gist options
  • Save AppleBoiy/f65846e59c0264be046c893b60b02fd1 to your computer and use it in GitHub Desktop.
Save AppleBoiy/f65846e59c0264be046c893b60b02fd1 to your computer and use it in GitHub Desktop.
setup config file for python package project
[metadata]
name =
version =
author = AppleBoiy
long_description = file: .github/README.md
long_description_content_type = text/markdown
url =
classifiers =
Development Status ::
Intended Audience :: Developers
License :: OSI Approved :: GNU General Public License v3 (GPL-3)
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Software Development ::
[options]
packages = find:
python_requires =
install_requires =
[coverage:run]
omit =
*/tests/*
*/test_*
*download*
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| node_modules
)/
'''
[flake8]
max-line-length = 88
exclude = .git,__pycache__,venv,data,docs,build,dist,*.egg-info
ignore = E203, E266, E501, W503, F403, F401
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment