Our great sponsors
- InfluxDB - Access the most powerful time series database as a service
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
- Sonar - Write Clean Python Code. Always.
- CodiumAI - TestGPT | Generating meaningful tests for busy devs
A tool that automatically formats Python code to conform to the PEP 8 style guide.
Generally yes, but I'd add a couple of blank lines to separate the code into "visual blocks". Two blank lines each before and after the function block of cease. One blank line each before if direction == "encode": and elif direction == "decode":. Tools like autopep8 or black can help you automate some of that.
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.
I have some legacy code which has been ported to Python 3 recently, but is still quite ugly. What are recommended points for coding style to improve it and make it more modern/pleasant in style?
1 project | reddit.com/r/learnpython | 15 Nov 2022
autopep8 or styler equivalent in Julia
2 projects | reddit.com/r/Julia | 1 May 2022
PEP8 and long if and/or statements
1 project | reddit.com/r/learnpython | 27 Apr 2022
J’ai créé un générateur de mdp pour ceux que ça intéresse !
2 projects | reddit.com/r/programmation | 28 Mar 2022
Improve your Django Code with pre-commit
13 projects | dev.to | 5 Apr 2023