flake8-typing-imports
flake8-type-checking
flake8-typing-imports | flake8-type-checking | |
---|---|---|
1 | 3 | |
47 | 110 | |
- | 1.8% | |
6.8 | 8.2 | |
4 days ago | 3 months 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-type-checking
-
Flake8-type-checking now has support for FastAPI and Pydantic
If you use flake8 to lint your code, check out flake8-type-checking ๐ We just released v1.3.1 to make it runnable in a FastAPI or Pydantic project.
- If you want to get a little bit stricter about your import management
-
If you use flake8, check out the plugin I made ๐
Just released v1.0.0 of flake8-typeโchecking, which is a plugin made to help you manage type-annotation imports ๐ฅณ
What are some alternatives?
pyupgrade - A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
pyproject-flake8 - pyproject-flake8 (pflake8), a monkey patching wrapper to connect flake8 with pyproject.toml configuration
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.
flake8-length - Flake8 plugin for a smart line length validation.
pre-commit-hooks - Some out-of-the-box hooks for pre-commit
flake8-codes - CLI tool to introspect flake8 plugins and their codes
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.
wemake-python-styleguide - The strictest and most opinionated python linter ever!
flake8-typing-only-imports - Flake8 plugin for managing type-checking imports & forward references [Moved to: https://github.com/sondrelg/flake8-type-checking]
nitpick - Enforce the same settings on multiple projects
option - Rust like Option and Result types in Python