forked from gramener/gramex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
31 lines (27 loc) · 842 Bytes
/
setup.cfg
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
[wheel]
universal = 1
[pep8]
ignore = E265,E402
[flake8]
exclude=build,dist,docs,.eggs,node_modules,.vscode
max-line-length=99
; E911 allows use of str(). Required for pathlib.Path to string conversions
; N802 ignores "function name should be in lowercase". Required for
; tearDownModule(), extendMarkdown, etc where function name is pre-defined
; W504 ignores "line break after binary operator". We use (x and\ y)
; B902 ignores "blind except Exception:". We trap broad errors often
ignore=E911,N802,W504,B902
per-file-ignores =
; some files uses magic constants. That's OK
testlib/test_pptgen2.py:E912
testlib/test_scale.py:E912
[nosetests]
verbosity=2
nocapture=1
# Enable coverage via environment NOSE_WITH_COVERAGE=1
; with-coverage=1
cover-package=gramex
cover-erase=1
cover-html=1
cover-html-dir=htmlcov
cover-branches=1