Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 23 Python Flake8 Projects
-
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.
-
Anyway, create a venv, pip install https://github.com/wemake-services/wemake-python-styleguide and Black, format your code and check it with flake8.
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
- repo: https://github.com/nbQA-dev/nbQA rev: 1.5.3 hooks: - id: nbqa-mypy args: ["--ignore-missing-imports", "--check-untyped-defs"] # pass args to mypy exclude: "directory_to_exclude/.*" # eclude any directory/files from formatting additional_dependencies: ["mypy", "types-toml", "types-requests"] # install additional dependencies - id: nbqa-black exclude: "directory_to_exclude/.*" # eclude any directory/files from formatting - id: nbqa-isort exclude: "directory_to_exclude/.*" # eclude any directory/files from formatting
-
-
-
mccabe for Ned’s script to check McCabe complexity
-
Deal
Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.
Project mention: What features would you want in a new programming language? | reddit.com/r/ProgrammingLanguages | 2023-01-03I started using a design by contract library for a Python project this year and it made my code safer and easier to use.
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
pep8-naming for checking the PEP-8 naming conventions.
-
flake8-comprehensions for writing better list/set/dict comprehensions.
-
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.
-
flake8-bandit uses bandit behind the scenes: https://github.com/tylerwince/flake8-bandit/blob/main/flake8_bandit.py ruff doesn't and implements the rules directly
-
-
-
-
Project mention: flake8-todos: Lint TODO comments in a Python code | reddit.com/r/opensource | 2022-09-14
-
Project mention: flake8-length: Flake8 plugin for a smart line length validation. | reddit.com/r/coding | 2022-10-09
-
Project mention: flake8-codes: CLI tool to introspect flake8 plugins and their codes | reddit.com/r/opensource | 2022-10-06
-
Project mention: flake8-ruler: More powerful configs for flake8 | reddit.com/r/madeinpython | 2022-10-01
-
flake8-warnings
Python linter (flake8, pylint, CLI) that warns you about using deprecated modules, classes, and functions
Project mention: flake8-warnings: Python linter (flake8, pylint, CLI) that warns you about using deprecated modules, classes, and functions | reddit.com/r/Python | 2022-10-03 -
Project mention: beartype: It has documentation now. It only took two years, my last hair follicle, precious sanity points (SPs), and working with Sphinx. Don't be like @leycec. Go hard on documentation early. | reddit.com/r/Python | 2023-03-07
Useless comments are my old enemy. I try to come up with objective metrics but I have only a few so far. If anyone curious, I have flake8-comments to find comments like that.
-
-
-
PyPi: https://pypi.org/project/onepyece/
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Flake8 related posts
- beartype: It has documentation now. It only took two years, my last hair follicle, precious sanity points (SPs), and working with Sphinx. Don't be like @leycec. Go hard on documentation early.
- flake8-length: Flake8 plugin for a smart line length validation.
- flake8-codes: CLI tool to introspect flake8 plugins and their codes
- flake8-length: Flake8 plugin for a smart line length validation.
- flake8-warnings: Python linter (flake8, pylint, CLI) that warns you about using deprecated modules, classes, and functions
- flake8-comments: Report redundant comments in python code
- flake8-ruler: More powerful configs for flake8
-
A note from our sponsor - Sonar
www.sonarsource.com | 31 Mar 2023
Index
What are some of the best open-source Flake8 projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | Flake8 | 2,720 |
2 | wemake-python-styleguide | 2,168 |
3 | nbQA | 726 |
4 | best-of-python-dev | 701 |
5 | PEP 8 Speaks | 579 |
6 | mccabe | 551 |
7 | Deal | 518 |
8 | pep8-naming | 432 |
9 | flake8-comprehensions | 417 |
10 | nitpick | 331 |
11 | flake8-bandit | 101 |
12 | flake8-type-checking | 88 |
13 | flake8-typing-imports | 50 |
14 | rubric | 24 |
15 | flake8-todos | 23 |
16 | flake8-length | 21 |
17 | flake8-codes | 13 |
18 | flake8-ruler | 10 |
19 | flake8-warnings | 9 |
20 | flake8-comments | 9 |
21 | flake8-pylint | 9 |
22 | flake8-too-many | 5 |
23 | onepyece | 5 |