mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-09 15:23:16 +00:00
26cb66b681
I also used the chance to add some type annotations and make sure they get accepted by mypy.
12 lines
222 B
INI
12 lines
222 B
INI
[mypy]
|
|
disallow_untyped_defs = true
|
|
disallow_subclassing_any = true
|
|
|
|
no_implicit_optional = true
|
|
|
|
warn_redundant_casts = true
|
|
warn_unused_ignores = true
|
|
warn_no_return = true
|
|
warn_return_any = true
|
|
warn_unreachable = true
|