-
Notifications
You must be signed in to change notification settings - Fork 289
/
setup.cfg
63 lines (58 loc) · 1.68 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
[semantic_release]
version_variable=pyproject.toml:version,custom_components/alexa_media/const.py:__version__
version_pattern=custom_components/alexa_media/manifest.json:"version": "{version}"
upload_to_pypi=false
upload_to_release=false
changelog_sections=breaking,feature,fix,documentation,performance,refactor
[pydocstyle]
ignore = D202, D212, D416, D213, D203, D407
[flake8]
exclude = .venv,.git,.tox,docs,venv,bin,lib,deps,build
# To work with Black
max-line-length = 88
# E501: line too long
# H301: on mport per line
# W503: Line break occurred before a binary operator
# E203: Whitespace before ':'
# E251: Unexpected whitespace around =
# D202 No blank lines allowed after function docstring
# W504 line break after binary operator
# H102 missing apache
# H306 Alphabetically order your imports by the full module path.
# E701 Multiple statements
ignore =
E501,
H301,
W503,
E203,
D202,
W504,
H102,
H306,
E701,
E251
[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 = " "
# will group `import x` and `from x import` of the same module.
force_sort_within_sections = true
sections = FUTURE,STDLIB,THIRD-PARTY,FIRSTPARTY,LOCALFOLDER
default_section = THIRD-PARTY
known_first_party = alexa_media,tests
forced_separate = tests
combine_as_imports = true
[mypy]
python_version = 3.9
ignore_errors = true
follow_imports = silent
ignore_missing_imports = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_unused_configs = true