-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
60 lines (51 loc) · 1.14 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
[wheel]
universal = 1
[bdist_wheel]
universal = 1
[options]
setup_requires =
setuptools_scm
[pep8]
max-line-length = 120
[flake8]
; D100 - Missing docstring in public module
; D101 - Missing docstring in class
; D102 - Missing docstring in public method
; D103 - Missing docstring in public function
; D105 - Missing docstring in magic method `__func__`
ignore = D100,D101,D102,D103,D105
max-line-length = 120
exclude = .git,docs
max_complexity = 10
[tool:pytest]
python_files = test_*.py *tests.py *test.py
norecursedirs = .* tmp* __pycache__
addopts = -v --showlocals
[tool:isort]
line_length = 79
known_first_party = google_oauth2_tool
default_section = THIRDPARTY
multi_line_output = 4
combine_as_imports = true
include_trailing_comma = true
not_skip = __init__.py
[coverage:run]
branch = true
source = google_oauth2_tool
omit =
*/tests/*
*/__init__.py
[coverage:html]
directory = test-reports/coverage
[coverage:report]
show_missing = true
precision = 2
exclude_lines =
pragma: no cover
def __repr__
def __unicode__
def __str__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
\.\.\.