-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
66 lines (55 loc) · 1.07 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
[bumpversion]
current_version = 0.4.0
commit = True
tag = True
tag_name = {new_version}
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:begin/__init__.py]
[bumpversion:file:README.md]
[changelog_gen]
commit = true
release = true
allowed_branches = master
section_mapping =
feature=feat
test=fix
bug=fix
docs=fix
issue_link = https://github.com/LachlanMarnham/begin/issues/{issue_ref}
[aliases]
test = pytest
[tool:pytest]
testpaths = tests
addopts =
--random-order
[flake8]
max-line-length = 120
max-complexity = 10
inline-quotes = '
per-file-ignores =
tests/*:E731
[coverage:run]
source = begin
branch = False
[coverage:report]
sort = cover
fail_under = 95
show_missing = true
skip_covered = true
exclude_lines =
pragma: no cover
if __name__ == '__main__':
[isort]
line_length = 120
multi_line_output = 3
force_grid_wrap = 2
include_trailing_comma = true
default_section = THIRDPARTY
lines_after_imports = 2
combine_star = true
known_first_party =
begin
tests
no_lines_before = LOCALFOLDER