-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (92 loc) · 2.43 KB
/
pyproject.toml
File metadata and controls
104 lines (92 loc) · 2.43 KB
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
[build-system]
requires = ['setuptools >= 40.6.0', 'wheel', 'setuptools_scm[toml]>=3.4']
build-backend = 'setuptools.build_meta'
[tool.black]
line-length = 98
target-version = ['py37','py38']
[tool.coverage.run]
branch = true
[tool.coverage.report]
precision = 2
show_missing = true
[tool.flakehell.plugins]
dlint = [ '+*' ]
flake8-bandit = [ '+*' ]
flake8-broken-line = [ '+*' ]
flake8-bugbear = [ '+*' ]
flake8-commas = [ '+*' ]
flake8-comprehensions = [ '+*' ]
flake8-darglint = [ '+*' ]
flake8-debugger = [ '+*' ]
flake8-docstrings = [ '+*' ]
flake8-eradicate = [ '+*' ]
flake8-isort = [ '+*' ]
flake8-pytest-style = [ '+*' ]
# flake8-quotes = [ '+*' ]
flake8-rst-docstrings = [ '+*' ]
flake8-string-format = [ '+*' ]
mccabe = [ '+*' ]
pep8-naming = [ '+*' ]
pycodestyle = [ '+*' ]
pyflakes = [ '+*' ]
pylint = [ '+*' ]
wemake-python-styleguide = [ '+*', '-WPS305', '-WPS306', '-WPS421' ]
[tool.isort]
atomic = true
include_trailing_comma = true
lines_after_imports = 2
lines_between_types = 0
line_length = 98
multi_line_output = 3
default_section = 'THIRDPARTY'
known_first_party = 'simplejenkins'
[tool.pylint.master]
jobs = 0
load-plugins = [
'pylint.extensions.broad_try_clause',
'pylint.extensions.emptystring',
'pylint.extensions.comparetozero',
'pylint.extensions.bad_builtin',
'pylint.extensions.mccabe',
'pylint.extensions.docstyle',
'pylint.extensions.check_elif',
'pylint.extensions.redefined_variable_type',
'pylint.extensions.overlapping_exceptions',
'pylint.extensions.docparams',
]
max-line-length = 120
persistent = 'no'
[tool.pylint.messages_control]
enable = [
'F', # Fatal
'E', # Error
'W', # Warning
'R', # Refactor
'C', # Convention
'I', # Informational
]
disable= [
'fixme',
'no-absolute-import',
'spelling',
'suppressed-message',
'locally-disabled',
'missing-function-docstring', # Handled by flake8-docstrings
'missing-module-docstring',
]
[tool.pylint.reports]
msg-template = '{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}'
output-format = 'colorized'
score = 'no'
[tool.pylint.format]
single-line-if-stmt = 'yes'
[tool.pylint.logging]
logging-format-style='old' # TODO: Update code to 'new' style
[tool.pytest.ini_options]
addopts = '--verbosity=2 --doctest-modules --ignore=docs --showlocals -rfp --strict-markers --cov-report=term --cov SimpleJenkinsAPI'
log_cli = true
log_level = 'DEBUG'
log_cli_level = 'INFO'
log_file_level = 'DEBUG'
testpaths = ['tests']
[tool.setuptools_scm]