You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Enable MyPy strict mode
MyPy is best with strict or nearly strict configuration. Alternatively, set `strict = false`.
Signed-off-by: Dimitri Papadopoulos <[email protected]>
* Remove deprecated `show_error_codes` from MyPy config
Since MyPy v0.990, `show_error_codes = true` the default.
Signed-off-by: Dimitri Papadopoulos <[email protected]>
* Enable `ignore-without-code` in MyPy config
This will force all skips to include the error code, which makes them
more readable, and avoids skipping something unintended.
Signed-off-by: Dimitri Papadopoulos <[email protected]>
* Enable `redundant-expr` in MyPy config
This helps catch useless lines of code, like checking the same condition twice.
Signed-off-by: Dimitri Papadopoulos <[email protected]>
* Enable `truthy-bool` in MyPy config
This catches mistakes in using a value as truthy if it cannot be falsy.
Signed-off-by: Dimitri Papadopoulos <[email protected]>
* Fix MyPy [type-arg] error
Missing type parameters for generic type "dict".
Signed-off-by: Dimitri Papadopoulos <[email protected]>
* Fix MyPy [attr-defined] error
Module "tuf.ngclient" does not explicitly export attributes.
Signed-off-by: Dimitri Papadopoulos <[email protected]>
---------
Signed-off-by: Dimitri Papadopoulos <[email protected]>
0 commit comments