Skip to content

Commit

Permalink
chore: migrate tool config to pyproject.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Oct 23, 2024
1 parent 6fdd494 commit d5d5c23
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 55 deletions.
25 changes: 25 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,28 @@ docs = [
[tool.pdm.scripts]
build = "python scripts/build.py"
docs = "mkdocs serve"

[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
ignore_errors = true

[tool.mypy]
ignore_missing_imports = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_untyped_decorators = true
explicit_package_bases = true
namespace_packages = true

[[tool.mypy.overrides]]
module = "pdm.backend._vendor.*"
ignore_errors = true
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.8
3.10
54 changes: 0 additions & 54 deletions setup.cfg

This file was deleted.

0 comments on commit d5d5c23

Please sign in to comment.