-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Expand file tree
/
Copy pathsetup.cfg
More file actions
33 lines (29 loc) · 1.17 KB
/
Copy pathsetup.cfg
File metadata and controls
33 lines (29 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# configuration approach followed:
# - whenever possible, prefer pyproject.toml
# - for configurations insufficiently supported by pyproject.toml, use setup.cfg instead
# - setup.py discouraged; minimal stub included only for compatibility with legacy tools
# pyproject.toml support for configs outside PEP 621 is currently only in beta
# see https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
[options]
packages = find:
include_package_data = False
# non-endpoint scripts are not supported in pyproject.toml
scripts =
bin/brief_salutation
bin/a_shell_script
[options.package_data]
benchmark = py.typed
[options.packages.find]
exclude =
# the following exclusion is to prevent shipping of tests.
# if you do include them, add pytest to the required packages.
*tests*
# flake8 currently does not support pyproject.toml
# see https://github.com/PyCQA/flake8/issues/234
[flake8]
max-line-length = 80
ignore = E203, E501, W503
# C3 code-generation templates are string.Template files containing
# ${placeholder} substitutions; they are not valid standalone Python and
# must not be linted (they trip E999 SyntaxError).
extend-exclude = src/claimed/c3/templates