Python Forum
Tools and links that can help with code quality - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: Code Review (https://python-forum.io/forum-46.html)
+--- Thread: Tools and links that can help with code quality (/thread-23643.html)



Tools and links that can help with code quality - snippsat - Jan-11-2020

Style Guide for Python Code PEP 8
A stylized presentation of PEP 8

Linter and formatting tools.

These can work stand alone or as plugin for your IDE or editor.
Some popular examples.
  • Pylint ---> Checks for errors,tries to enforce a coding standard,looks for code smells.

  • Flake8 ---> Style conventions in PEP 8,detects various errors.
    Flake8 is a combination of PyFlakes,pycodestyle (formerly pep8) and Mccabe.

  • Black ---> Formats Python code without compromise.



RE: Tools and links that can help with code quality - Jatin4494 - Jan-28-2021

You can look into automated code review tools

One of the popular ones is Codegrip. Codegrip is an automated code review tool that will connect with your git account and analyses your projects automatically after every commit/Pull-request, an will provide you will the required analysis and solutions for all your issues and the technical debt they all incur.


RE: Tools and links that can help with code quality - DeaD_EyE - Jan-28-2021

  • isort sorts imports for you.
  • mypy does static type checking.
  • sourcery integrates into your IDE and source hosting to suggest improvements to your code

Not only related to Python: Use Sphinx to make documentation.


RE: Tools and links that can help with code quality - TaylorVaughan - Feb-13-2022

(Jan-11-2020, 04:10 PM)snippsat Wrote: Style Guide for Python Code PEP 8
A stylized presentation of PEP 8

Linter and formatting tools.

These can work stand alone or as plugin for your IDE or editor.
Some popular examples.
  • Pylint ---> Checks for errors,tries to enforce a codeprozone standard,looks for code smells.

  • Flake8 ---> Style conventions in PEP 8,detects various errors.
    Flake8 is a combination of PyFlakes,pycodestyle (formerly pep8) and Mccabe.

  • Black ---> Formats Python code without compromise.

Thank you for such kind of information.