pylama
Pylint
Our great sponsors
pylama | Pylint | |
---|---|---|
5 | 29 | |
1,037 | 5,085 | |
- | 1.4% | |
0.0 | 9.6 | |
5 months ago | 3 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 only |
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.
pylama
-
Enhance Your Project Quality with These Top Python Libraries
Pylama is a code audit tool for Python that wraps tools like Pylint, pycodestyle, PyFlakes, McCabe, and others to provide a unified interface.
-
How pythonic is enough pythonic?
Use a code linter. And potentially use black.
-
Newbie here: blank spaces for better code readability?
Use a linter like pylama
-
Code Quality Tools in Python
Linters analyze code to detect various categories of issues like logistical issue and stylistic issues. Some popular linters are Pylint, pycodestyle, Flake8 and Pylama.
Pylint
-
Enhancing Python Code Quality: A Comprehensive Guide to Linting with Ruff
Pylint, on the other hand, focuses on code analysis and style checking. It offers extensive customization options and supports various coding standards. Pylint is known for its comprehensive reports and ability to detect a wide range of code issues.
-
Options for configuration of python libraries - Stack Overflow
In my opinion, the best way to expose configuration options is to read and parse them from the project's pyproject.toml file. Here's how Pylint handles it.
-
Pylint strict base configuration
I even contributed to Pylint by submitting a new rule a few years ago : implicit-str-concat.
-
Premier League Project Infrastructure Update
Implemented code formatting with Black and linting with Pylint in my CI pipeline. Here is my updated GitHub Actions Workflow file: ci.yml
-
Improve your Django Code with pre-commit
One last thing to do before running the hooks is to create a config file, just like we did with flake8. For this you are going to create a pylintrc file at the roor of your project and copy the contents of the pylintrc file from the pylint repo (here is the link to it).
- Even the Pylint codebase uses Ruff
- The Heisenbug lurking in your async code
- I Built A Tinder Clone Using The FARM Stack
-
🕶 What it takes to build a Static Analysis tool
Python: Pylint
- Stop Using Utcnow and Utcfromtimestamp
What are some alternatives?
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.
black - The uncompromising Python code formatter
prospector - Inspects Python source files and provides information about type and location of classes, methods etc
autopep8 - A tool that automatically formats Python code to conform to the PEP 8 style guide.
ruff - An extremely fast Python linter and code formatter, written in Rust.
isort - A Python utility / library to sort imports.
PythonBuddy - 1st Online Python Editor With Live Syntax Checking and Execution
autoflake - Removes unused imports and unused variables as reported by pyflakes
mypy - Optional static typing for Python
dotenv-linter - ⚡️Lightning-fast linter for .env files. Written in Rust 🦀