2022-05-31 21:04:47 +00:00
|
|
|
# Setuptools v62.3 doesn't support editable installs with just 'pyproject.toml' (PEP 660).
|
|
|
|
# Keep this file until it does!
|
|
|
|
|
2018-06-25 13:57:26 +00:00
|
|
|
[metadata]
|
2022-01-28 16:11:46 +00:00
|
|
|
url = https://www.home-assistant.io/
|
2018-06-25 13:57:26 +00:00
|
|
|
|
2016-02-14 00:56:32 +00:00
|
|
|
[flake8]
|
2022-11-23 13:40:37 +00:00
|
|
|
exclude = .venv,.git,docs,venv,bin,lib,deps,build
|
2021-04-25 10:38:40 +00:00
|
|
|
max-complexity = 25
|
2019-11-06 19:38:00 +00:00
|
|
|
doctests = True
|
2019-07-30 23:59:12 +00:00
|
|
|
# To work with Black
|
|
|
|
# E501: line too long
|
|
|
|
# W503: Line break occurred before a binary operator
|
|
|
|
# E203: Whitespace before ':'
|
|
|
|
# D202 No blank lines allowed after function docstring
|
2019-09-24 06:23:53 +00:00
|
|
|
# W504 line break after binary operator
|
2019-07-30 23:59:12 +00:00
|
|
|
ignore =
|
|
|
|
E501,
|
|
|
|
W503,
|
|
|
|
E203,
|
2019-09-24 06:23:53 +00:00
|
|
|
D202,
|
|
|
|
W504
|
2021-03-02 08:02:04 +00:00
|
|
|
noqa-require-code = True
|
2023-01-24 13:24:21 +00:00
|
|
|
|
|
|
|
# Ignores, that are currently caused by mismatching configurations
|
|
|
|
# between ruff and flake8 configurations. Once ruff becomes permanent flake8
|
|
|
|
# will be removed, including these ignores below.
|
|
|
|
# In case we decide not to continue with ruff, we should remove these
|
|
|
|
# and probably need to clean up a couple of noqa comments.
|
|
|
|
per-file-ignores =
|
|
|
|
homeassistant/config.py:NQA102
|
2023-01-30 13:06:52 +00:00
|
|
|
tests/components/august/mocks.py:NQA102
|
2023-01-24 13:24:21 +00:00
|
|
|
tests/components/tts/conftest.py:NQA102
|
|
|
|
tests/helpers/test_icon.py:NQA102
|