mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Configure mypy to show error codes
By configuring mypy to show error codes when we get a warning by mypy we will receive an error code as well. Those error codes are useful when you want to disable specific mypy warning for a line with: Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
This commit is contained in:
parent
a24c4e95be
commit
e18b6ba506
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ warn_unreachable = True
|
|||
strict_equality = True
|
||||
disallow_untyped_defs = True
|
||||
disallow_untyped_calls = True
|
||||
show_error_codes = True
|
||||
files =
|
||||
tuf/api/,
|
||||
tuf/ngclient,
|
||||
|
|
|
|||
Loading…
Reference in a new issue