Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-01-02 22:13:01 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-01-02 22:17:19 +0300
commit0ef3cf9d5e9d4badd086fb637ede0b5263757db9 (patch)
treef206ce0f6603d404dc03ce7fe55307cf5d836b24 /CONTRIBUTING.md
parentd7d80b47d867577378e91d3993c901a5865de013 (diff)
ci: Add pre-commit config
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 0db119e13..c7f0d3b20 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -59,6 +59,19 @@ Example:
`feat: New Button which does something`
+# Use pre-commit
+
+Execute the following inside the repositor dir
+
+ $ pip install pre-commit
+ $ pre-commit install
+
+Now pre-commit will run various checks before code can be committed.
+
+To update to the newest versions
+
+ $ pre-commit autoupdate
+
# Man Pages
Man pages are written in markdown and converted with pandoc