auto-optional

Type checker

Enforces consistent use of optional type annotations in Python code

Makes typed arguments Optional when the default argument is None

GitHub

17 stars
2 watching
3 forks
Language: Python
last commit: about 2 years ago
Linked from 1 awesome list

code-qualitypypipythonpython3refactoring

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
jellezijlstra/autotyping Automatically adds type annotations to code 241
stewori/pytypes Provides runtime typechecking and annotation tools for Python to enforce strict type compatibility 201
sco1/flake8-annotations Detects missing type annotations in Python functions and methods 156
kotlinisland/basedmypy A Python static type checker with additional features to improve typing and error reporting. 148
orsinium-labs/infer-types A CLI tool to automatically add type annotations into Python code 86
aldanor/typo A package providing runtime type checking for Python functions annotated with argument type hints. 29
snok/flake8-type-checking Analyze and optimize type-checking imports in Python code to improve maintainability and runtime performance. 115
contains-io/typet A Python library that simplifies type checking and validation in object-oriented coding 22
best-doctor/flake8-annotations-complexity Tools to help write clear and maintainable Python code with type annotations 46
ambv/retype Re-applies type annotations from .pyi stubs to codebases 141
tyleryep/flake8-future-annotations Checks Python code for usage of outdated type annotations and suggests adding support for future annotations 15
ilevkivskyi/com2ann Translates type comments to type annotations in Python source code 142
reokatoa/koreksyon Tools for developing and implementing spell-checking and grammar-checking capabilities in low-resource languages. 3
ilevkivskyi/typing_inspect Provides utilities for inspecting and analyzing Python types at runtime 352