From: Daniele Varrazzo Date: Tue, 28 Jan 2025 13:54:00 +0000 (+0100) Subject: docs: document why pre-commit language is set to 'local' X-Git-Tag: 3.2.5~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe755a7e7e86b561c5ceadaaec87dd29247903ea;p=thirdparty%2Fpsycopg.git docs: document why pre-commit language is set to 'local' --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 329b09d4f..082386b67 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,12 @@ # See https://pre-commit.com for more information +# +# Note: we use `language: system` to make sure that pre-commit uses the same +# dependencies installed by `pip install psycopg[dev]` and not some random +# version installed in a hidden virtualenv. This way running the tools via +# pre-commit should give the same result of running them manually. +# +# Please check README.rst about setting up a development env. + repos: - repo: local hooks: