Fix CI/CD issues: linting errors and test file corruption
Some checks failed
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.8) (push) Has been cancelled
CI / test (ubuntu-latest, 3.9) (push) Has been cancelled
CI / test-minimal (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / build (push) Has been cancelled
CI / release (push) Has been cancelled

This commit is contained in:
2026-02-03 05:13:33 +00:00
parent 8eec0c9773
commit 78ce012111

View File

@@ -35,6 +35,9 @@ dependencies = [
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.1.0",
"black>=23.0.0",
"mypy>=1.0.0",
]
[project.scripts]
@@ -60,3 +63,20 @@ exclude_lines = [
"raise AssertionError",
"raise NotImplementedError",
]
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = []
[tool.black]
line-length = 88
target-version = ["py38", "py39", "py310", "py311", "py312"]
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true