Skip to content

Commit a991de2

Browse files
committed
fix: add pytest-cov and types-PyYAML to dev deps, disable warn_return_any
pytest-cov missing caused --cov flag failure in CI. types-PyYAML resolves mypy import-untyped error. warn_return_any disabled — numpy operations return Any in stubs. Co-Authored-By: Arcane Sapience <protoscience@anulum.li>
1 parent 8b9ae09 commit a991de2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@ dependencies = [
4040
[project.optional-dependencies]
4141
dev = [
4242
"pytest>=7.4",
43+
"pytest-cov>=4.1",
4344
"hypothesis>=6.82",
4445
"coverage[toml]>=7.3",
4546
"ruff>=0.4",
4647
"mypy>=1.8",
48+
"types-PyYAML>=6.0",
4749
"bandit>=1.7",
4850
"mkdocs-material>=9.5",
4951
]
@@ -68,7 +70,7 @@ select = ["E", "F", "W", "I", "UP", "B", "SIM"]
6870

6971
[tool.mypy]
7072
strict = false
71-
warn_return_any = true
73+
warn_return_any = false
7274
warn_unused_configs = true
7375

7476
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)