flake8-typing-imports
flake8-typing-only-imports
flake8-typing-imports | flake8-typing-only-imports | |
---|---|---|
1 | 1 | |
47 | 9 | |
- | - | |
6.8 | 7.1 | |
4 days ago | about 3 years ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" 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 🙂
flake8-typing-only-imports
What are some alternatives?
flake8-type-checking - Flake8 plugin for managing type-checking imports & forward references.
pyupgrade - A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
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.
pre-commit-hooks - Some out-of-the-box hooks for pre-commit
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.
nitpick - Enforce the same settings on multiple projects
option - Rust like Option and Result types in Python