flake8-typing-imports
option
flake8-typing-imports | option | |
---|---|---|
1 | 1 | |
47 | 78 | |
- | - | |
6.8 | 0.0 | |
5 days ago | 4 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flake8-typing-imports
-
new flake8-hook to manage circular import issues 🚀
PS: I didn't know this when writing the plugin, but after finishing it (🙈) I found another similarplugin already existed. This doesn't quite do what I need it to though, so I'll probably keep maintaining my own version for now - but feel free to check that out too 🙂
option
-
Personally I have to go with nil
Should be pretty straightforward to implement. https://github.com/MaT1g3R/option
What are some alternatives?
flake8-type-checking - Flake8 plugin for managing type-checking imports & forward references.
Deal - 🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.
pyupgrade - A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
phantom-types - Phantom types for Python.
Flake8 - flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
django-stubs - PEP-484 stubs for Django
pre-commit-hooks - Some out-of-the-box hooks for pre-commit
sqlalchemy-stubs - Mypy plugin and stubs for SQLAlchemy
cookiecutter-poetry-config-management - Cookiecutter python template to get you started without wasting any time setting up virtual environments, vscode python paths, writing settings management code, setting up git pre-commit hooks and much more.
infer-types - A CLI tool to automatically add type annotations into Python code. Must have tool for annotating existing code.
flake8-typing-only-imports - Flake8 plugin for managing type-checking imports & forward references [Moved to: https://github.com/sondrelg/flake8-type-checking]
typedload - Python library to load dynamically typed data into statically typed data structures