mirror of
https://github.com/hacs/integration.git
synced 2025-07-20 18:20:50 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
* Bump ruff from 0.11.13 to 0.12.1 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.11.13 to 0.12.1. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.11.13...0.12.1) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.12.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Ignore new issues --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ludeeus <joasoe@proton.me>
145 lines
2.0 KiB
TOML
145 lines
2.0 KiB
TOML
[tool.isort]
|
|
# https://github.com/PyCQA/isort/wiki/isort-Settings
|
|
profile = "black"
|
|
# will group `import x` and `from x import` of the same module.
|
|
force_sort_within_sections = true
|
|
known_first_party = [
|
|
"custom_components",
|
|
"tests",
|
|
]
|
|
forced_separate = [
|
|
"tests",
|
|
]
|
|
combine_as_imports = true
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode="auto"
|
|
addopts = "-rxf -l --cov=./ --cov-report=xml"
|
|
filterwarnings = [
|
|
"ignore::DeprecationWarning",
|
|
"ignore:It is recommended to use web.AppKey instances for keys"
|
|
]
|
|
log_format = "%(asctime)s.%(msecs)03d %(levelname)-8s %(threadName)s %(name)s:%(filename)s:%(lineno)s %(message)s"
|
|
log_date_format = "%Y-%m-%d %H:%M:%S"
|
|
testpaths = [
|
|
"tests",
|
|
]
|
|
python_files = [
|
|
"test_*.py",
|
|
]
|
|
|
|
norecursedirs = [
|
|
".git",
|
|
]
|
|
|
|
[tool.ruff]
|
|
fix = true
|
|
line-length = 100
|
|
show-fixes = true
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["ALL"]
|
|
ignore = [
|
|
"ANN001",
|
|
"ANN002",
|
|
"ANN003",
|
|
"ANN201",
|
|
"ANN202",
|
|
"ANN204",
|
|
"ANN205",
|
|
"ANN401",
|
|
"ARG001",
|
|
"ARG002",
|
|
"ARG005",
|
|
"ASYNC110",
|
|
"BLE001",
|
|
"C901",
|
|
"COM812",
|
|
"D100",
|
|
"D101",
|
|
"D102",
|
|
"D103",
|
|
"D105",
|
|
"D107",
|
|
"D202",
|
|
"D203",
|
|
"D205",
|
|
"D213",
|
|
"D400",
|
|
"D401",
|
|
"D415",
|
|
"E501",
|
|
"E713",
|
|
"EM101",
|
|
"EM102",
|
|
"F401",
|
|
"FBT001",
|
|
"FBT002",
|
|
"FBT003",
|
|
"I001",
|
|
"INP001",
|
|
"ISC001",
|
|
"N812",
|
|
"N818",
|
|
"PLC0206",
|
|
"PLC0415",
|
|
"PLR0911",
|
|
"PERF401",
|
|
"PERF402",
|
|
"PIE804",
|
|
"PLR0912",
|
|
"PLR0913",
|
|
"PLR0915",
|
|
"PLR1714",
|
|
"PLR1722",
|
|
"PLR2004",
|
|
"PLR5501",
|
|
"PTH103",
|
|
"PTH107",
|
|
"PTH110",
|
|
"PTH113",
|
|
"PTH123",
|
|
"RET502",
|
|
"RET503",
|
|
"RET504",
|
|
"RET507",
|
|
"RSE102",
|
|
"RUF005",
|
|
"RUF008",
|
|
"RUF012",
|
|
"RUF013",
|
|
"S105",
|
|
"S110",
|
|
"SIM102",
|
|
"SIM103",
|
|
"SIM105",
|
|
"SIM108",
|
|
"SIM110",
|
|
"SIM114",
|
|
"SIM117",
|
|
"SLF001",
|
|
"TC001",
|
|
"TC002",
|
|
"TC003",
|
|
"TID252",
|
|
"TRY003",
|
|
"TRY201",
|
|
"TRY300",
|
|
"TRY301",
|
|
"TRY400",
|
|
"TRY401",
|
|
"UP040"
|
|
]
|
|
|
|
fixable = ["ALL"]
|
|
unfixable = []
|
|
|
|
|
|
[tool.ruff.lint.isort]
|
|
combine-as-imports = true
|
|
force-sort-within-sections = true
|
|
known-first-party = [
|
|
"custom_components.hacs",
|
|
] |