File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 8
8
9
9
:github_badge: `quantifiedcode/python-code-patterns `
10
10
11
+ Welcome, fellow Pythoneer! This is an open collection of Python **code anti-patterns **. The goal of
12
+ this document is to show you how *NOT * to do things. In each document shown below, you will find an
13
+ example of badly written or problematic Python code, together with an easy-to-understand explanation
14
+ of the issues found in the code, and a proposed solution.
15
+
16
+ Many of the issues that we discuss here can be detected automatically using code analysis, e.g. using
17
+ Pylint, PyChecker or PEP8. You can also check many of these pattern online on our wrbsite, QuantifiedCode.
18
+
19
+ Licensing
20
+ ---------
21
+
22
+ This document is licensed under a creative-commons NC license, so you can use the text freely
23
+ for non-commercial purposes and adapt it to your needs. The only thing we ask in return is the
24
+ inclusion of a link to this page, so that your readers might find the content in its original form.
25
+
26
+ Contributing
27
+ ------------
28
+
29
+ If you think this collection can be improved or extended, please contribute! You can do this by
30
+ simply forking our Github project and sending us a pull request once you're done adding your changes.
31
+ We will review and merge all pull requests as fast as possible and be happy to include your name on
32
+ the list of authors of this document.
33
+
34
+
11
35
.. toctree ::
12
36
:glob:
13
37
:maxdepth: 2
You can’t perform that action at this time.
0 commit comments