Golden Codes - armanexplorer planet

Practical code snippets for Django, Python, Bash, Git and All!

View on GitHub

pre-commit

website

Hooks

repos

Hooks Repo

Flake8

Flake8 Docs

Black

Black Documentation

Mypy

Mypy with existing code base

pyupgrade

reorder-python-imports

markdownlint

ruff

good samples

flake sample

AMAZON CIS

gitleaks

Repo Link

ignore false positive

Link

Add a comment with gitleaks:allow to the line containing the error we want ignore

detect-secrets

Repo Link

ignore false positives

Add a comment with pragma: allowlist secret in that line or pragma: allowlist nextline secret in its previous line

Link