setup.cfg 879 Bytes
Newer Older
1 2
[flake8]
max-complexity = 10
3 4

[pycodestyle]
5
exclude = .git,build,__pycache__,venv*,TEST*,tests/run/test*.py,Cython/Debugger/libpython.py
6 7
max-line-length = 150
format = pylint
8 9 10 11 12 13 14 15 16 17 18 19
# See https://pycodestyle.pycqa.org/en/latest/intro.html#configuration
select =
    E711, E713, E714, E501, W291, E502, E703,
    # indentation
    E101, E111, E112, E113, E117
    E121, E125, E129,
    # E114, E115, E116, E122,
    # whitespace
    E223, E224, E228, E261, E273, E274, E275,
    # E201, E202, E203, E211, E265
    # E303, E306,
    W1, W2, W3
20
#ignore = W, E
21 22 23 24 25
ignore =
    W504,
    # W504 line break after binary operator
    S001,
    # S001 found module formatter
26
    E226,
27 28 29 30 31 32 33 34 35
    # E226 missing whitespace around operator[run]

[coverage:run]
branch = True
parallel = True
concurrency = multiprocessing,thread
include = Cython/*
source = Cython
omit = Test*
36 37 38 39

[bdist_wheel]
universal = 1