wemake-python-styleguide
flake8-type-checking
Our great sponsors
wemake-python-styleguide | flake8-type-checking | |
---|---|---|
2 | 3 | |
2,418 | 109 | |
1.6% | 1.8% | |
9.3 | 8.2 | |
6 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.
wemake-python-styleguide
-
Is my new Python library good?
Anyway, create a venv, pip install https://github.com/wemake-services/wemake-python-styleguide and Black, format your code and check it with flake8.
-
flake8-cached - a wrapper around flake8 to cache file runs
I use flake8 with [wemake-python-style-guide](https://wemake-python-stylegui.de/) plugin. It takes around 2mins to run the linter for some mid-range web apps. I have created https://github.com/jnoortheen/flake8-cached to speed up this process. I use it with Pycharm's filewatcher. It is a simple wrapper and intended to be used only during development with a fs watcher.
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?
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-typing-imports - flake8 plugin which checks that typing imports are properly guarded
flake8-too-many - A flake8 plugin that prevents you from writing "too many" bad codes.
pyproject-flake8 - pyproject-flake8 (pflake8), a monkey patching wrapper to connect flake8 with pyproject.toml configuration
tryceratops - A linter to prevent exception handling antipatterns in Python (limited only for those who like dinosaurs).
flake8-length - Flake8 plugin for a smart line length validation.
flake8-bugbear - A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
flake8-codes - CLI tool to introspect flake8 plugins and their codes
treeage - Expose aging code by listing contents of repository in a tree-like format with eye-catching age metric.
flake8-todos - Lint TODO comments in a Python code