-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
41 lines (39 loc) · 1.08 KB
/
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
32
33
34
35
36
37
38
39
40
41
[flake8]
exclude=
__pycache__
tests/
ignore =
E2, # whitespaces
E3, # blank lines
E701, # multiple statements on a colon line (cleaner single line if branching)
E704 # multiple statements on a colon line
W293, # blank lint contains whitespace
E128, # visual indents
W504, # line break after binary operator
W291, # trailing whitespaces
W503, # bad practice: PEP 8 recommended style, which was changed on April 16th, 2016
max-line-length = 120
show-source = 1
builtins = 'self'
count = 1
statistics = 1
[nosetests]
verbosity = 2
rednose = 1
with-doctest = 1
where = tests
with-coverage = 1
cover-erase = 1
cover-tests = 0
cover-xml = 1
cover-package = monitor
[coverage:run]
source = monitor
omit =
__pycache__/*
tests/* # unittest files
monitor/ui/* # skip pygame src
monitor/sys/* # skip sys modules (for now)
monitor/__main__.py
monitor/__init__.py
monitor/__version__.py