generated from ludeeus/integration_blueprint
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
52 lines (47 loc) · 1.38 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
[coverage:run]
source =
custom_components/ambrogio_robot
[coverage:report]
exclude_lines =
pragma: no cover
raise NotImplemented()
if __name__ == '__main__':
main()
show_missing = true
[tool:pytest]
asyncio_mode=auto
minversion = 6.0
testpaths = tests
addopts =
--strict-markers
--cov=custom_components/ambrogio_robot
--cov-report xml
[isort]
# https://github.com/timothycrosley/isort
# https://github.com/timothycrosley/isort/wiki/isort-Settings
# splits long import on multiple lines indented by 4 spaces
multi_line_output = 3
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
line_length=88
indent = " "
# by default isort don't check module indexes
not_skip = __init__.py
# will group `import x` and `from x import` of the same module.
force_sort_within_sections = true
sections = FUTURE,STDLIB,INBETWEENS,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
default_section = THIRDPARTY
known_first_party = custom_components.ambrogio_robot, tests
combine_as_imports = true
[bumpver]
current_version = "0.0.0"
version_pattern = "MAJOR.MINOR.PATCH[-PYTAGNUM]"
commit_message = "bump version {old_version} -> {new_version}"
commit = True
tag = True
push = True
[bumpver:file_patterns]
setup.cfg = current_version = "{version}"
custom_components/ambrogio_robot/manifest.json = "version": "{pep440_version}"
custom_components/ambrogio_robot/const.py = VERSION = "{version}"