Philipp Hörist pushed to branch master at gajim / gajim
Commits: 0ef3cf9d by Philipp Hörist at 2023-01-02T20:17:19+01:00 ci: Add pre-commit config - - - - - 2 changed files: - + .pre-commit-config.yaml - CONTRIBUTING.md Changes: ===================================== .pre-commit-config.yaml ===================================== @@ -0,0 +1,17 @@ +repos: + - repo: https://github.com/charliermarsh/ruff-pre-commit + rev: v0.0.206 + hooks: + - id: ruff + + - repo: https://github.com/codespell-project/codespell + rev: v2.2.2 + hooks: + - id: codespell + additional_dependencies: + - tomli + + - repo: https://github.com/RobertCraigie/pyright-python + rev: v1.1.286 + hooks: + - id: pyright ===================================== CONTRIBUTING.md ===================================== @@ -59,6 +59,19 @@ # Commit Messages `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 View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/0ef3cf9d5e9d4badd086fb637ede0b5263757db9 -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/0ef3cf9d5e9d4badd086fb637ede0b5263757db9 You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits