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-03 00:27:32 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-01-03 00:31:33 +0300
commit26afcb62b8e619df6d58056b1239bb25837f8770 (patch)
treef74a9c3d2da9d20090857c7c6aea4f80ada305d9 /.pre-commit-config.yaml
parentc63d33245c00b949eb1db5aef3740c7a59e79a33 (diff)
ci: Update pre-commit config
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 4ffe760cf..e01828f33 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,6 +3,8 @@ repos:
rev: v0.0.206
hooks:
- id: ruff
+ exclude: ".githooks/"
+ args: ["--force-exclude"]
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
@@ -15,3 +17,15 @@ repos:
rev: v1.1.286
hooks:
- id: pyright
+ pass_filenames: false
+ additional_dependencies:
+ - nbxmpp @ git+https://dev.gajim.org/gajim/python-nbxmpp.git
+ - PyGObject-stubs @ git+https://github.com/pygobject/pygobject-stubs.git
+ - python-gitlab
+ - sentry-sdk
+ stages: [manual]
+
+ - repo: https://github.com/pycqa/isort
+ rev: 5.11.4
+ hooks:
+ - id: isort