config: add FT tag, remove unnecessary coverage config
This commit is contained in:
parent
fe4006da2b
commit
86d5f8475e
@ -29,6 +29,7 @@ classifiers = [
|
|||||||
"Programming Language :: Python :: 3.12",
|
"Programming Language :: Python :: 3.12",
|
||||||
"Programming Language :: Python :: 3.13",
|
"Programming Language :: Python :: 3.13",
|
||||||
"Programming Language :: Python :: 3.14",
|
"Programming Language :: Python :: 3.14",
|
||||||
|
"Programming Language :: Python :: Free Threading",
|
||||||
"Programming Language :: Python :: Implementation :: CPython",
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
"Programming Language :: Python :: Implementation :: PyPy",
|
"Programming Language :: Python :: Implementation :: PyPy",
|
||||||
"Topic :: Security :: Cryptography",
|
"Topic :: Security :: Cryptography",
|
||||||
@ -116,23 +117,6 @@ source = ["src", ".tox/py*/**/site-packages"]
|
|||||||
[tool.coverage.report]
|
[tool.coverage.report]
|
||||||
show_missing = true
|
show_missing = true
|
||||||
skip_covered = true
|
skip_covered = true
|
||||||
exclude_lines = [
|
|
||||||
# a more strict default pragma
|
|
||||||
"\\# pragma: no cover\\b",
|
|
||||||
|
|
||||||
# allow defensive code
|
|
||||||
"^\\s*raise AssertionError\\b",
|
|
||||||
"^\\s*raise NotImplementedError\\b",
|
|
||||||
"^\\s*return NotImplemented\\b",
|
|
||||||
"^\\s*raise$",
|
|
||||||
|
|
||||||
# typing-related code
|
|
||||||
"^if (False|TYPE_CHECKING):",
|
|
||||||
": \\.\\.\\.(\\s*#.*)?$",
|
|
||||||
"^ +\\.\\.\\.$",
|
|
||||||
"-> ['\"]?NoReturn['\"]?:",
|
|
||||||
]
|
|
||||||
omit = []
|
|
||||||
|
|
||||||
|
|
||||||
[tool.interrogate]
|
[tool.interrogate]
|
||||||
@ -155,7 +139,6 @@ enable_error_code = ["ignore-without-code"]
|
|||||||
|
|
||||||
ignore_missing_imports = true
|
ignore_missing_imports = true
|
||||||
|
|
||||||
|
|
||||||
[[tool.mypy.overrides]]
|
[[tool.mypy.overrides]]
|
||||||
module = "tests.*"
|
module = "tests.*"
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
@ -203,7 +186,6 @@ ignore = [
|
|||||||
"EM101", # no need for exception msg hygiene in tests
|
"EM101", # no need for exception msg hygiene in tests
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
[tool.ruff.lint.isort]
|
[tool.ruff.lint.isort]
|
||||||
lines-between-types = 1
|
lines-between-types = 1
|
||||||
lines-after-imports = 2
|
lines-after-imports = 2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user