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: almost 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 238
stewori/pytypes Provides runtime typechecking and annotation tools for Python to enforce strict type compatibility 200
sco1/flake8-annotations Detects missing type annotations in Python functions and methods 156
kotlinisland/basedmypy A Python type checker built to resolve issues with the mypy project and Python's typing system 143
orsinium-labs/infer-types A CLI tool to automatically add type annotations into Python code 85
aldanor/typo A package providing runtime type checking for Python functions annotated with argument type hints. 28
snok/flake8-type-checking Analyze and optimize type-checking imports in Python code to improve maintainability and runtime performance. 113
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 142
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 141
reokatoa/koreksyon Tools for developing and implementing spell-checking and grammar-checking capabilities in low-resource languages. 3
ethanhs/python-typecheckers A comprehensive collection of Python type checkers, categorized by syntax and execution time. 62
ilevkivskyi/typing_inspect Provides utilities for inspecting and analyzing Python types at runtime 350