pydocstyle
pylama
Our great sponsors
pydocstyle | pylama | |
---|---|---|
4 | 5 | |
1,106 | 1,038 | |
- | - | |
6.1 | 0.0 | |
6 months ago | 6 months ago | |
Python | Python | |
MIT License | MIT License |
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.
pydocstyle
-
Best general packages to use for Python projects
Not so much for the project but for project support I always use black for formatting. mypy to check my code. pydocstyle to check the comments.
-
What do you think about this method docstring style?
Check out https://github.com/pycqa/pydocstyle. There's a flake8 extension for it too https://pypi.org/project/flake8-docstrings/
-
Code Quality Tools in Python
pydocstyle
-
What's your 5(ish) year career plan?
something like pydocstyle and make sure all your functions and classes are correctly documented.
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
-
Advice on training Python best practices
Lint your code. I recommend 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.
What are some alternatives?
mkdocstrings - :blue_book: Automatic documentation from sources, for MkDocs.
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
Pylint - It's not just a linter that annoys you!
autopep8 - A tool that automatically formats Python code to conform to the PEP 8 style guide.
prospector - Inspects Python source files and provides information about type and location of classes, methods etc
pyment - Format and convert Python docstrings and generates patches
mypy - Optional static typing for Python
pycodestyle - Simple Python style checker in one Python file
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
dotenv-linter - ⚡️Lightning-fast linter for .env files. Written in Rust 🦀