I am, due to my work, seeing a lot of code written by other developers. Sometimes this code is so bad, that it is worth showing to the outer world.
Privacy is very important. There are two things basically:
- Refactor your code to remove anything, that might violate any security requirements, corporate rules or license agreements.
- It is not a goal of this project to insult or offend anyone, so, please, remove any brand-names, user marks,
__author__
variables and so on.
Do you want to save yourself and your project from a python
code disaster?
Then use wemake-python-styleguide
which is the strictest python
linter in existance.
With this tool all your code will be awesome!
Feel free to contribute. Before contributing, please, double check the Privacy section. Refactor your code to remove as much as you can to leave just the most valuable parts. I think that submitting a broken code is not an issue for this project. Moreover, formatting the code is also not required. Sometimes it is even better to leave it's formation untouched.
It is generally a good practice to read through your old files and contribute your own code.
It is still not clear to me, how to structure this project.
Pythod bad code examples, Python antipatterns