flake8-typing-imports
nitpick
flake8-typing-imports | nitpick | |
---|---|---|
1 | 2 | |
47 | 383 | |
- | - | |
6.8 | 8.4 | |
5 days ago | 5 days 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 🙂
nitpick
-
Creating A Modern Python Development Environment
It can become tedious maintaining configurations across projects, especially since EditorConfig, pytest-cov, flake8, Mypy and pre-commit all require configuration files. Nitpick is a tool and flake8 plugin that enforces the same configurations across multiple language-independent projects, automating this tedious configuration.
-
What is the best strategy to align coding practice across the team?
I'd recommend you have a look at nitpick. It's a tool to align lint/formatting tools across projects.
What are some alternatives?
flake8-type-checking - Flake8 plugin for managing type-checking imports & forward references.
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
pyupgrade - A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.
best-of-python-dev - 🏆 A ranked list of awesome python developer tools and libraries. Updated weekly.
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.
rubric - Linter config initializer for Python
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.
flakehell - Flake8 wrapper to make it nice, legacy-friendly, configurable.
flake8-typing-only-imports - Flake8 plugin for managing type-checking imports & forward references [Moved to: https://github.com/sondrelg/flake8-type-checking]
wemake-python-styleguide - The strictest and most opinionated python linter ever!