Software Alternatives & Reviews

flake8 VS PyLint

Compare flake8 VS PyLint and see what are their differences

flake8 logo flake8

A wrapper around Python tools to check the style and quality of Python code.

PyLint logo PyLint

Pylint is a Python source code analyzer which looks for programming errors.
  • flake8 Landing page
    Landing page //
    2022-12-20
  • PyLint Landing page
    Landing page //
    2023-09-22

flake8 videos

Linters and fixers: never worry about code formatting again (Vim + Ale + Flake8 & Black for Python)

More videos:

  • Review - flake8 на максималках: что, как и зачем / Илья Лебедев

PyLint videos

Pylint Tutorial – How to Write Clean Python

More videos:

  • Tutorial - How to write pylint plugins

Category Popularity

0-100% (relative to flake8 and PyLint)
Code Coverage
33 33%
67% 67
Code Analysis
24 24%
76% 76
Code Quality
39 39%
61% 61
Code Review
15 15%
85% 85

User comments

Share your experience with using flake8 and PyLint. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare flake8 and PyLint

flake8 Reviews

We have no reviews of flake8 yet.
Be the first one to post

PyLint Reviews

7 best recommended IntelliJ IDEA Python plugins - Programmer Sought
As the name suggests, this plugin is a Python linter. It provides real-time and on-demand scanning of Python files with Pylint ideas from your Intellij. Pylint is an open source project, so it can be fully customized according to your needs. In addition, Pylint has a lot of documentation on the plugin website.

Social recommendations and mentions

Based on our record, PyLint should be more popular than flake8. It has been mentiond 11 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

flake8 mentions (5)

  • How I start every new Python backend API project
    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:... - Source: dev.to / over 1 year ago
  • Flake8 took down the gitlab repository in favor of github
    I just ran `pre-commit autoupdate`. It's asking for a username for https://gitlab.com/pycqa/flake8. :-(. Source: over 1 year ago
  • flake8-length: Flake8 plugin for a smart line length validation.
    Flake8 plugin for a smart line length validation. Source: over 1 year ago
  • Make your Django project newbie contributor friendly with pre-commit
    $ pre-commit install Pre-commit installed at .git/hooks/pre-commit $ git add .pre-commit-config.yaml $ git commit -m "Add pre-commit config" [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://gitlab.com/pycqa/flake8. [INFO] Initializing environment for https://github.com/pycqa/isort. [INFO] Initializing environment for... - Source: dev.to / almost 3 years ago
  • On unit testing
    If you're looking for just good automated error checking, I personally use a bunch of flake8 plugins via pre-commit hooks: flake8-bugbear, flake8-builtins, flake8-bandit, etc. You can find a bunch of sites that give recommended plugins and you just need to pick which ones you care about :). Source: about 3 years ago

PyLint mentions (11)

  • The Cloud Resume Challenge - GCP :)
    I used Pylint to perform basic test on the code and for the security bit I used snyk SCM to check for vulnerabilities within my code and it's dependencies. - Source: dev.to / over 1 year ago
  • I'm being told that one of my projects on GitHub is poorly coded. Can anyone tell me why? The only thing I see ugly, not necessary wrong or poorly coded, is the two variables with the list of iPhone models, and the incredibly long if, elif, and else statements.
    Pylint - https://pylint.pycqa.org/en/latest/ Black - https://black.readthedocs.io/en/stable/. Source: over 1 year ago
  • API pull into pandas with formatting.
    Your code isn't PEP-8 compliant. Use black or autopep8 on your code to auto-format your code, or at least use pylint to check for issues, before asking anyone else to read your code. Source: almost 2 years ago
  • First time posting here wow
    Here's the pylint user manual if you're curious. Source: about 2 years ago
  • 50 Ways You can Improve as a Programmer
    Use code linters. Code linters provide immediate feedback for your programs. The online W3C Markup Validation Service checks web documents for validity. ESlint helps you find and fix problems in JavaScript code. Pylint is a linter for Python code. Linters are available as plugins for IDEs like Visual Studio Code. Linters force you to learn by flagging errors and suggesting changes. - Source: dev.to / over 2 years ago
View more

What are some alternatives?

When comparing flake8 and PyLint, you can also consider the following products

PyFlakes - A simple program which checks Python source files for errors.

SonarQube - SonarQube, a core component of the Sonar solution, is an open source, self-managed tool that systematically helps developers and organizations deliver Clean Code.

PEP8 - pep8 is a tool to check your Python code against some of the style conventions in PEP 8.

PyCharm - Python & Django IDE with intelligent code completion, on-the-fly error checking, quick-fixes, and much more...

ReSharper - ReSharper is a productivity tool for visual studio that provides tools and features to help you manage your code.

Checkmarx - The industry’s most comprehensive AppSec platform, Checkmarx One is fast, accurate, and accelerates your business.