c9-python-getting-started/more-python-for-beginners/01 - Formatting and linting
Christopher Harrison 311866d09e Added new content 2020-04-27 16:49:00 -07:00
..
.vscode Added new content 2020-04-27 16:49:00 -07:00
README.md Added new content 2020-04-27 16:49:00 -07:00
bad.py Added new content 2020-04-27 16:49:00 -07:00
good.py Added new content 2020-04-27 16:49:00 -07:00

README.md

Style Guidelines

Formatting

Formatting makes code readable and easier to debug.

Documentation

  • PEP 8 is a set of coding conventions for Python code
  • Docstring is the standard for documenting a module, function, class or method definition

Linting

Linting helps you identify formatting and convention issues in your Python code

  • Pylint Pylint is a linter for Python to help enforce coding standards and check for errors in Python code
  • Linting Python in Visual Studio Code will show you how to enable litners in VS Code
  • Type hints allow some interactive development environments and linters to enforce types

Microsoft Learn Resources

Explore related tutorials on Microsoft Learn.