-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.cfg
20 lines (19 loc) · 853 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# pm-version 0.1.7
[flake8]
# see https://flake8.pycqa.org/en/latest/user/options.html#options-list
exclude =
.ipynb_checkpoints
# E731: https://www.flake8rules.com/rules/E731.html -- do not assign lambda expression, use a def
# W503: https://www.flake8rules.com/rules/W503.html -- line break before binary operator
# E501: https://www.flake8rules.com/rules/E501.html -- Line lengths are recommended to be no greater than 79 characters.
ignore = E731,W503,E501
count = True
statistics = True
# mccabe flake8 plugin, set the maximum allowed McCabe complexity value
# see https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-max-complexity
max-complexity = 7
max-line-length = 120
# flake8-copyright plugin, see https://github.com/savoirfairelinux/flake8-copyright
copyright-check = True
copyright-min-file-size = 1
select = E,F,W,C