Python Style: Difference between revisions
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | =External= | ||
* https://www.python.org/dev/peps/pep-0008/ | * https://www.python.org/dev/peps/pep-0008/ | ||
* https://google.github.io/styleguide/pyguide.html | |||
=Overview= | =Overview= | ||
* [[Python_Language_Functions#Style|Function definition style]] | * [[Python_Language_Functions#Style|Function definition style]] | ||
=Internal= | |||
* [[Python#Subjects|Python]] | |||
=<tt>pylint</tt>= | |||
{{External|https://pypi.org/project/pylint/}} | |||
==Installation== | |||
<syntaxhighlight lang='bash'> | |||
pip install pylint | |||
</syntaxhighlight> | |||
==Execution== | |||
<syntaxhighlight lang='bash'> | |||
pylint --recursive=y . | |||
</syntaxhighlight> | |||
=Organizatorium= | =Organizatorium= | ||
<font color=darkkhaki> | <font color=darkkhaki> | ||
* Process maximum line length: https://peps.python.org/pep-0008/#maximum-line-length | * Process maximum line length: https://peps.python.org/pep-0008/#maximum-line-length | ||
* Google Python Style Guide https://google.github.io/styleguide/pyguide.html | |||
</font> | </font> |
Latest revision as of 17:00, 7 July 2022
External
Overview
Internal
pylint
Installation
pip install pylint
Execution
pylint --recursive=y .
Organizatorium
- Process maximum line length: https://peps.python.org/pep-0008/#maximum-line-length
- Google Python Style Guide https://google.github.io/styleguide/pyguide.html