summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: c6be9f8f4eb12bf56f1d61fe0e88da2621a9d849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Setuptools v62.6 doesn't support editable installs with just 'pyproject.toml' (PEP 660).
# Keep this file until it does!

[metadata]
# wheel doesn't yet read license_files from pyproject.toml - tools.setuptools
# Keep it here until it does!
license_files =
    LICENSE
    CONTRIBUTORS.txt

[flake8]
extend-ignore =
    F401, # Unused imports
    E203, # Incompatible with black see https://github.com/psf/black/issues/315
    W503, # Incompatible with black
    B901 # Combine yield and return statements in one function
max-line-length = 110
select = B,C,E,F,W,T4,B9
# Required for flake8-typing-imports (v1.12.0)
# The plugin doesn't yet read the value from pyproject.toml
min_python_version = 3.7.2