311866d09e | ||
---|---|---|
.. | ||
.vscode | ||
README.md | ||
bad.py | ||
good.py |
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.