isort VS Flake8

Compare isort vs Flake8 and see what are their differences.

isort

A Python utility / library to sort imports. [Moved to: https://github.com/PyCQA/isort] (by timothycrosley)

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. (by PyCQA)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
isort Flake8
2 33
4,634 3,257
- 1.8%
9.1 7.5
about 2 years ago 12 days ago
Python Python
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

isort

Posts with mentions or reviews of isort. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-19.
  • How I start every new Python backend API project
    14 projects | dev.to | 19 Jan 2023
    repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 hooks: - id: trailing-whitespace - id: check-merge-conflict - id: check-yaml args: [--unsafe] - id: check-json - id: detect-private-key - id: end-of-file-fixer - repo: https://github.com/timothycrosley/isort rev: 5.10.1 hooks: - id: isort - repo: https://github.com/psf/black rev: 22.8.0 hooks: - id: black - repo: https://gitlab.com/pycqa/flake8 rev: 3.9.2 hooks: - id: flake8 - repo: https://github.com/pre-commit/mirrors-mypy rev: v0.971 hooks: - id: mypy args: [ --warn-unused-configs, --ignore-missing-imports, --disallow-untyped-defs, --follow-imports=silent, --install-types, --non-interactive ]
  • How to Audit the Quality of Your Python Code: A Step-by-Step Guide (Checklist Inside)
    5 projects | dev.to | 6 Mar 2022
    Isort—a Python utility/library to sort imports;

Flake8

Posts with mentions or reviews of Flake8. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-24.

What are some alternatives?

When comparing isort and Flake8 you can also consider the following projects:

certi-build - A simple CLI tool to generate bulk certificates

Pylint - It's not just a linter that annoys you!

mirrors-mypy - Mirror of mypy for pre-commit

black - The uncompromising Python code formatter [Moved to: https://github.com/psf/black]

yapf - A formatter for Python files

autopep8 - A tool that automatically formats Python code to conform to the PEP 8 style guide.

tempren - Template-based file renaming utility

pylama - Code audit tool for python.

arc - arc is a tool for building declaritive, and highly extendable CLI tools for Python 3.10+

autoflake - Removes unused imports and unused variables as reported by pyflakes

openapi-spec-validator - OpenAPI Spec Validator is a CLI, pre-commit hook and python package that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger), OpenAPI 3.0 and OpenAPI 3.1 specification.

prospector - Inspects Python source files and provides information about type and location of classes, methods etc