Skip to content

Instantly share code, notes, and snippets.

View malelew's full-sized avatar

Mohamed Al Elew malelew

View GitHub Profile
name zen-of-python-refactor
description Review and refactor Python code using PEP 20 (Zen of Python) principles. Use when performing code review, refactoring complex codebases, editing AI-assisted code additions, or when the user mentions code quality, readability, or Python style.

Zen of Python Refactoring

Apply PEP 20 principles to review and refactor Python code. Run import this in Python to see the full Zen.

When to Use

header, footer {
background-color: #000;
font-size: .77273rem;
height: 5.45455rem;
position: relative;
display: flex;
align-items: center;
justify-content: space-around;
z-index: 5;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
date close
2019/20 28.4
2020/21 2.8
2021/22 -24.2
2022/23 -58.3
2023/24 -38.2