An Atom Linter plugin which displays warnings related to Python optional static type as defined in PEP 484 using mypy.
-
Install python package mypy, run:
python3 -m pip install mypy
-
Install atom package, run:
apm install linter-mypy
Setting | Default Values |
---|---|
Path to the executable of Python | python3 |
Ignore File name Regex | |
Mypy ini File | |
Disallow Untyped Calls | True |
Disallow Untyped Defs | True |
Disallow Incomplete Defs | True |
Check Untyped Defs | True |
Warn Incomplete Stub | True |
Disallow Untyped Decorators | True |
Warn Redundant Casts | True |
Warn No Return | True |
Warn Return Any | True |
Disallow Subclassing Any | True |
Disallow Any Unimported | True |
Disallow Any Expr | True |
Disallow Any Unannotated | True |
Disallow Any Decorated | True |
Disallow Any Explicit | True |
Disallow Any Generics | True |
Warn Unused Ignores | True |
Warn Unused Configs | True |
Warn Missing Imports | True |
Strict Optional | True |
No Implicit Optional | True |
Follow Imports | silent |
Mypy Path |