| May | JUN | Jul |
| 16 | ||
| 2021 | 2022 | 2023 |
COLLECTED BY
Collection: Save Page Now Outlinks
autopep8 library, including an Emacs
plugin that lints your code for PEP8 compliance as you work.
How to use Flask8
explains what Flask8 is, its usage and expected output.
Pylint false positives
is a walkthrough of issues that Pylint detects in an example project,
which ones cannot be fixed and the ones where the tool was incorrect.
The author concludes that with all of the false positives that were
found the signal to noise ratio was not useful enough to use the
tool on a typical project. However, on a brand new project without
many dependencies it might be helpful to keep your code in a pristine
state before the code base grows beyond the nosiness false positives
threshold.
What is Flake8 and why we should use it?
covers why using a linting tool like Flake8 can improve the quality of
your Python code and how to install and configure it for your
environment.
Which Python static analysis tools should I use?
covers Pylint, PyFlakes and mypy with a short description of the
advantages and disadvantage for each one.
This Stack Overflow question on Python static code analysis tools
contains comparison discussions of PyLint, PyChecker and PyFlakes.
Consistent Python code with Black
covers how to use Black and add it as a pre-commit hook in Git to
ensure consistency in repository updates.
Format Python however you like with Black
is a super short introduction on what Black does to keep your code
formatting consistent.
Intro to Black – The Uncompromising Python Code Formatter
contains some introductory examples for using Black and shows how to
use it on your source files.
Python static analysis tools
is a quick overview of the features for Black, Pylint, Pyflakes, Mypy,
Bandit and Prospector.