Skip to content

Commit 76cf5c1

Browse files
committed
refactor(renovate): rely on builtin pre-commit python dep manager
1 parent 8d4eab3 commit 76cf5c1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ repos:
101101
# hooks:
102102
# - id: mypy
103103
# require_serial: True
104+
# language: python
104105
# # N.B. mypy requires an installed version of whatever third-party
105106
# # library it is asked to check against. In practice, that means
106107
# # whenever we see an error telling us to do so, we should add the
@@ -117,16 +118,13 @@ repos:
117118
rev: v1.5.0
118119
hooks:
119120
- id: yesqa
121+
language: python
120122
# N.B. keep these in sync with flake8, otherwise yesqa will remove
121123
# required noqa's related to these plugins
122124
additional_dependencies: &flake8deps
123-
# renovate: datasource=pypi depName=flake8-2020
124125
- flake8-2020==1.8.1
125-
# renovate: datasource=pypi depName=flake8-broken-line
126126
- flake8-broken-line==1.0.0
127-
# renovate: datasource=pypi depName=flake8-builtins
128127
- flake8-builtins==2.5.0
129-
# renovate: datasource=pypi depName=flake8-comprehensions
130128
- flake8-comprehensions==3.15.0
131129
files: coveralls/.*
132130
# TODO: debug why CoverallsException breaks this
@@ -158,6 +156,7 @@ repos:
158156
rev: 7.1.2
159157
hooks:
160158
- id: flake8
159+
language: python
161160
additional_dependencies: *flake8deps
162161
args:
163162
# https://www.flake8rules.com/
@@ -199,8 +198,8 @@ repos:
199198
hooks:
200199
- id: check-github-workflows
201200
- id: check-renovate
201+
language: python
202202
additional_dependencies:
203-
# renovate: datasource=pypi depName=pyjson5
204203
- pyjson5==1.6.9
205204

206205
# docker

0 commit comments

Comments
 (0)