• Stars
    star
    147
  • Rank 250,405 (Top 5 %)
  • Language
    Python
  • Created about 9 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This code is so bad, that it is worth sharing.

python-code-disasters

What is it all about?

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

Privacy is very important. There are two things basically:

  1. Refactor your code to remove anything, that might violate any security requirements, corporate rules or license agreements.
  2. 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.

Save yourself!

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!

Contributing

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.

Keywords

Pythod bad code examples, Python antipatterns

More Repositories

1

awesome-cryptography

A curated list of cryptography resources and links.
5,668
star
2

git-secret

๐Ÿ‘ฅ A bash-tool to store your private data inside a git repository.
Shell
3,692
star
3

dotfiles

dotfiles for the developer happiness: macos, zsh, brew, vscode, codespaces, python, node, elixir
Shell
583
star
4

misspell-fixer-action

๐Ÿ“Automatically fixes typos and mistakes in your source code and docs!
Shell
139
star
5

sobole-zsh-theme

Minimalistic zsh theme inspired by the old-fashioned hobbies
Shell
122
star
6

wakatime-zsh-plugin

๐Ÿ•’Track how much time you have spent in your terminal!
Shell
82
star
7

sobolevn.github.io

sobolevn's personal page, where I rant about software and management
HTML
37
star
8

dotbot-brewfile

Install brew packages with dotbot: bundle style!
Python
21
star
9

restrict-cursing-action

Github Action to prevent cursing and bad language in issues and pull requests
JavaScript
19
star
10

dotbot-pip

Install pip packages with dotbot
Python
15
star
11

heisenbug-2019

Examples for Heisenbug 2019
Jupyter Notebook
12
star
12

vue-flow-typed

Flow type definitions for Vue and family
JavaScript
10
star
13

django_stubs_example

Example project to show out `django-stubs`
Python
9
star
14

python-pure-evil

This is a repository where I do fun things with python
Python
8
star
15

flake8-type-annotations

Flake8 plugin to enforce consistent type annotation styles
Python
7
star
16

ship-it-boardgame

6
star
17

dotbot-asdf

Install asdf plugins with dotbot
Python
6
star
18

phoenix_auth0

Example Phoenix app with auth0 authentication
Elixir
6
star
19

mssql-linux-friendly

MSSQL Server that works well and is friendly to the end user
Shell
4
star
20

generator-django-agility

[Deprecated] Agile Yeoman generator for Django Framework
JavaScript
2
star
21

itmo-2019

Repository for my lectures about quality for ITMO
Python
2
star
22

fpconf_elixir

Source code from my talk on #fpconf 2016
Elixir
1
star
23

devoops-conf-2019

Example repository with Github Actions
Shell
1
star
24

my-talks

My collection of talks
1
star
25

hey-officer

Detects secret values inside your files, prevents secrets from being leaked
Python
1
star
26

homebrew-tap

Custom formulas for Homebrew
Ruby
1
star
27

bluetooth-streamdeck-plugin

Elgato StreamDeck Bluetooth Plugin
Python
1
star
28

require-vpn-plugin

FireFox plugin to require an existing VPN connection before accessing specified hosts
JavaScript
1
star