Our great sponsors
-
Linters analyze code to detect various categories of issues like logistical issue and stylistic issues. Some popular linters are Pylint, pycodestyle, Flake8 and Pylama.
-
Flake8: a combination of following linters: PyFlakes, pycodestyle, Ned Batchelder’s McCabe script
-
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.
-
Flake8: a combination of following linters: PyFlakes, pycodestyle, Ned Batchelder’s McCabe script
-
Linters analyze code to detect various categories of issues like logistical issue and stylistic issues. Some popular linters are Pylint, pycodestyle, Flake8 and Pylama.
-
pydocstyle
-
as per the black's documentation, Black is "The uncompromising Python code formatter". It is my personal favourite because it has minimal configuration and is fast enough. Black is used by some very popular open-source projects, such as pytest, tox, Pyramid, Django Channels, Poetry, and so on. Example usage:
-
YAPF (Yet Another Python Formatter) is Google's official python formatter which follows google's style guide. The documentation is easy to understand the installation and configuration for this formatter.
-
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.
-
Formatters automatically format your code based on a style guide. Some popular formatters are Black, YAPF, autopep8 and isort.
-
autopep8 is an unofficial, yet popular, tool that automatically formates Python code to conform to PEP 8. It uses pycodestyle, Python’s official PEP-8 violation checker tool, to determine what parts of the code need to be formatted.
Related posts
- nbdev formating and linting
- I wrote a script to periodically change my Desktop background to live satellite images!
- Formatting Code with Black
- Python Code Quality - Improve the quality of your Python code with linters, code formatters, and security vulnerability scanners
- Automate Clean Code and Linting in Python