forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
26 lines (22 loc) · 764 Bytes
/
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
[wheel]
universal = 1
[tool:pytest]
testpaths = tests
norecursedirs = .git testing_config
[flake8]
exclude = .venv,.git,.tox,docs,www_static,venv,bin,lib,deps,build
[pydocstyle]
match_dir = ^((?!\.|www_static).)*$
[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 = 4
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
# typing is stdlib on py35 but 3rd party on py34, let it hang in between
known_inbetweens = typing
sections = FUTURE,STDLIB,INBETWEENS,THIRDPARTY,FIRSTPARTY,LOCALFOLDER