ha-core/setup.cfg

55 lines
1.6 KiB
INI
Raw Normal View History

[metadata]
license = Apache License 2.0
license_file = LICENSE.md
platforms = any
description = Open-source home automation platform running on Python 3.
long_description = file: README.rst
keywords = home, automation
classifier =
Development Status :: 4 - Beta
Intended Audience :: End Users/Desktop
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python :: 3.6
2018-09-24 11:11:24 +02:00
Programming Language :: Python :: 3.7
Topic :: Home Automation
2016-08-21 20:44:40 +02:00
[tool:pytest]
2015-09-19 21:29:23 +02:00
testpaths = tests
norecursedirs = .git testing_config
2015-12-28 06:14:35 +01:00
[flake8]
exclude = .venv,.git,.tox,docs,venv,bin,lib,deps,build
2019-07-31 01:59:12 +02:00
# To work with Black
max-line-length = 88
# E501: line too long
# W503: Line break occurred before a binary operator
# E203: Whitespace before ':'
# D202 No blank lines allowed after function docstring
ignore =
E501,
W503,
E203,
D202
[isort]
# https://github.com/timothycrosley/isort
# https://github.com/timothycrosley/isort/wiki/isort-Settings
# splits long import on multiple lines indented by 4 spaces
2019-07-31 01:59:12 +02:00
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 = homeassistant,tests
forced_separate = tests
combine_as_imports = true