-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.cfg
66 lines (56 loc) · 1.45 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
[bumpversion]
current_version = 0.10.0
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?:(?P<release>a|b|rc)(?P<build>\d+))?
serialize =
{major}.{minor}.{patch}{release}{build}
{major}.{minor}.{patch}
[bumpversion:part:release]
values =
a
b
rc
[bumpversion:part:build]
first_value = 0
[flake8]
ignore = E203, E266, E501, W503
max-line-length = 80
max-complexity = 18
select = B,C,E,F,W,T4,B9
show_source = True
per_file_ignores =
__init__.py: F401,F403
odata_query/grammar.py:F821,F811
[tool:isort]
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
combine_as_imports = True
line_length = 88
default_section = THIRDPARTY
known_first_party = odata_query, tests
[tool:pytest]
addopts =
--cov .
--cov-branch
--cov-config setup.cfg
--cov-report term-missing
--cov-report xml:coverage.xml
testpaths = tests
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
[coverage:run]
omit = ./tests/*, ./.tox/*
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:sonar-project.properties]
search = sonar.projectVersion={current_version}
replace = sonar.projectVersion={new_version}
[bumpversion:file:odata_query/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:docs/source/conf.py]
search = release = "{current_version}"
replace = release = "{new_version}"