refactor: another refactor
Some checks failed
Integration Testing / Integration Tests (2024.12.0, 3.11) (push) Failing after 27s
Integration Testing / Integration Tests (2024.12.0, 3.12) (push) Failing after 56s
Integration Testing / Integration Tests (2024.12.0, 3.13) (push) Failing after 1m38s
Integration Testing / Integration Tests (2025.9.4, 3.11) (push) Failing after 19s
Integration Testing / Integration Tests (2025.9.4, 3.12) (push) Failing after 20s
Integration Testing / Integration Tests (2025.9.4, 3.13) (push) Failing after 25s
Code Quality Check / Code Quality Analysis (push) Failing after 20s
Code Quality Check / Security Analysis (push) Failing after 21s

Signed-off-by: Rafal Zielinski <sq4ind@gmail.com>
This commit is contained in:
2025-09-28 17:01:21 +01:00
parent 1aad59c582
commit 554b8ac16b
25 changed files with 464 additions and 543 deletions

View File

@@ -1,11 +1,22 @@
[tool.black]
line-length = 127
target-version = ['py313']
target-version = ['py311', 'py312', 'py313']
[tool.isort]
profile = "black"
line_length = 127
[tool.mypy]
python_version = "3.13"
ignore_missing_imports = true
python_version = "3.11"
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"--cov=custom_components.adguard_hub",
"--cov-report=term-missing",
"--cov-report=html",
"--cov-fail-under=80",
"--asyncio-mode=auto",
"-v"
]