Skip to content

Commit cfc7fc6

Browse files
authored
[MNT] Move config from setup.cfg to pyproject.toml (#1852)
### Description Configuration for coverage and mypy has been migrated from setup.cfg to pyproject.toml to centralize settings. This simplifies management by consolidating all tool configurations in a single file.
1 parent aa3bc9d commit cfc7fc6

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,3 +200,13 @@ black = 1
200200

201201
[tool.nbqa.exclude]
202202
ruff = "docs/source/tutorials/" # ToDo: Remove this when fixing notebooks
203+
204+
[tool.coverage.report]
205+
ignore_errors = false
206+
show_missing = true
207+
208+
[tool.mypy]
209+
ignore_missing_imports = true
210+
no_implicit_optional = true
211+
check_untyped_defs = true
212+
cache_dir = ".cache/mypy/"

setup.cfg

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)