Mein Discord Server
► https://discord.gg/zfvbjTEzv6
Links aus diesem Video
Git Download ► https://git-scm.com/downloads
Pre-Commit Beispiel-Datei ► https://github.com/tibue99/ezcord/blob/main/.pre-commit-config.yaml
Standard Pre-Commit Hooks ► https://github.com/pre-commit/pre-commit-hooks
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Mein Hosting* ► https://tidd.ly/3gJufg6
Code auf Github ► https://github.com/tibue99/tutorial-bot
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Inhalt 📚
Heute zeige ich euch Pre-Commit Hooks. Damit könnt ihr euren Python Code automatisch vor jedem Commit formatieren lassen, damit ihr keine Style-Fehler auf GitHub pusht. Datei verwenden wir Pre-Commit Hooks wie Black und isort.
Timestamps 🕑
0:00 | Setup
0:50 | Config-Datei (.pre-commit-config.yaml)
1:57 | Installation & Ausführung
3:34 | Meine Pre-Commit Hooks
5:19 | Alle Dateien checken
6:39 | Auto-Update
7:03 | mypy (Type Checker)
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Die mit dem * markierten Links führen zu Inhalten, bei denen ich eine Provision bekomme, wenn eine Bestellung ausgeführt wird.