Skip to content

Commit 9c83407

Browse files
committed
refactor(renovate): rely on builtin pre-commit python dep manager
1 parent 158a27e commit 9c83407

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ repos:
9292
hooks:
9393
- id: mypy
9494
require_serial: True
95+
language: python
9596
# N.B. mypy requires an installed version of whatever third-party
9697
# library it is asked to check against. In practice, that means
9798
# whenever we see an error telling us to do so, we should add the
@@ -108,6 +109,7 @@ repos:
108109
rev: v1.5.0
109110
hooks:
110111
- id: yesqa
112+
language: python
111113
# N.B. keep these in sync with flake8, otherwise yesqa will remove
112114
# required noqa's related to these plugins
113115
additional_dependencies: &flake8deps
@@ -132,6 +134,7 @@ repos:
132134
rev: 7.0.0
133135
hooks:
134136
- id: flake8
137+
language: python
135138
additional_dependencies: *flake8deps
136139
args:
137140
# https://www.flake8rules.com/
@@ -155,7 +158,7 @@ repos:
155158
entry: bash -c 'set -e; for toml in "$@"; do pushd ./${toml%pyproject.toml}; poetry check; popd; done' --
156159
language: python
157160
additional_dependencies:
158-
- poetry>=1.5.0
161+
- poetry==1.8.5
159162
pass_filenames: true
160163
files: 'pyproject\.toml$'
161164
- id: poetry-use-version-ranges
@@ -189,8 +192,9 @@ repos:
189192
hooks:
190193
- id: check-github-workflows
191194
- id: check-renovate
195+
language: python
192196
additional_dependencies:
193-
- pyjson5
197+
- pyjson5==1.6.9
194198

195199
# docker
196200
- repo: https://github.com/AleksaC/hadolint-py

0 commit comments

Comments
 (0)