-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.cfg
117 lines (82 loc) · 1.8 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# ----- isort -----
[isort]
line_length=79
indent=' '
import_heading_future=coding: utf-8
import_heading_stdlib=Standard imports
import_heading_thirdparty=External imports
import_heading_firstparty=Internal imports
import_heading_localfolder=Local imports
force_single_line=True
force_sort_within_sections=True
lines_after_imports=2
force_adds=True
verbose=True
not_skip=__init__.py
known_standard_library=
known_first_party=
aoikrocketchaterrbot
known_third_party=
aoikwafutil
errbot
MeteorClient
waflib
# ===== isort =====
# ----- flake8 -----
[flake8]
ignore = D200,D203,D212,D301,D401,D404,I100,I201,N805,N801,N812
# ===== flake8 =====
# ----- pycodestyle -----
[pycodestyle]
exclude = .*, __pycache__
max-line-length = 79
show-source = 1
show-pep8 = 1
statistics = 1
verbose = 1
# ===== pycodestyle =====
# ----- pydocstyle -----
[pydocstyle]
ignore = D200,D203,D212,D301,D401,D404,I100,N812
# ===== pydocstyle =====
# ----- nose -----
[nosetests]
verbosity=3
with-doctest=1
# with-coverage=1
#
# This works on Windows but raises error on Linux:
# ``coverage.misc.CoverageException: No data to report.``
stop=1
# ===== nose =====
# ----- nose2 -----
[unittest]
code-directories = src
test-file-pattern = *_tests.py
test-method-prefix = test_
plugins =
nose2.plugins.failfast
nose2.plugins.doctests
nose2.plugins.coverage
# ===== nose2 =====
# ----- pytest -----
[pytest]
# addopts = --maxfail 3
addopts = --verbose --exitfirst --doctest-modules
python_files = *_tests.py
python_classes = *Test
python_functions = test_*
# ===== pytest =====
# ----- coverage -----
[coverage:run]
omit =
*/test_*.py
*/testing_*.py
*/tests_*.py
*/*_test.py
*/*_testing.py
*/*_tests.py
*/test/*.py
*/testing/*.py
*/tests/*.py
# ===== coverage =====