mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Adding mypy configuration to pyproject (#6116)
* Adding mypy configuration to pytproject * Correcting specifications for pyproject.toml
This commit is contained in:
parent
b2db8579f3
commit
a4aa852a17
2 changed files with 13 additions and 11 deletions
11
mypy.ini
11
mypy.ini
|
|
@ -1,11 +0,0 @@
|
|||
[mypy]
|
||||
show_error_codes = True
|
||||
check_untyped_defs = True
|
||||
|
||||
[mypy-cryptography.hazmat.bindings._openssl]
|
||||
ignore_missing_imports = True
|
||||
|
||||
[mypy-iso8601]
|
||||
ignore_missing_imports = True
|
||||
[mypy-pretend]
|
||||
ignore_missing_imports = True
|
||||
|
|
@ -20,3 +20,16 @@ markers = [
|
|||
"skip_fips: this test is not executed in FIPS mode",
|
||||
"supported: parametrized test requiring only_if and skip_message",
|
||||
]
|
||||
|
||||
[tool.mypy]
|
||||
show_error_codes = true
|
||||
check_untyped_defs = true
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = [
|
||||
"cryptography.hazmat.bindings._openssl",
|
||||
"iso8601",
|
||||
"pretend"
|
||||
]
|
||||
ignore_missing_imports = true
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue