File tree 3 files changed +13
-8
lines changed
3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ exclude: 'src/pip/_vendor/'
2
2
3
3
repos :
4
4
- repo : https://github.com/pre-commit/pre-commit-hooks
5
- rev : v4.1 .0
5
+ rev : v4.2 .0
6
6
hooks :
7
7
- id : check-builtin-literals
8
8
- id : check-added-large-files
26
26
hooks :
27
27
- id : flake8
28
28
additional_dependencies : [
29
- ' flake8-bugbear==20.1.4 ' ,
29
+ ' flake8-bugbear==22.3.23 ' ,
30
30
' flake8-logging-format==0.6.0' ,
31
- ' flake8-implicit-str-concat==0.2 .0' ,
31
+ ' flake8-implicit-str-concat==0.3 .0' ,
32
32
]
33
33
exclude : tests/data
34
34
@@ -47,10 +47,11 @@ repos:
47
47
additional_dependencies : [
48
48
' keyring==23.0.1' ,
49
49
' nox==2021.6.12' ,
50
- ' pytest==6.2.5' ,
51
- ' types-docutils==0.1.8' ,
52
- ' types-setuptools==57.0.2' ,
53
- ' types-six==0.1.9' ,
50
+ ' pytest==7.1.1' ,
51
+ ' types-docutils==0.18.3' ,
52
+ ' types-setuptools==57.4.14' ,
53
+ ' types-freezegun==1.1.9' ,
54
+ ' types-six==1.16.15' ,
54
55
]
55
56
56
57
- repo : https://github.com/pre-commit/pygrep-hooks
Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ extend-ignore =
24
24
G200, G202,
25
25
# black adds spaces around ':'
26
26
E203,
27
+ # using a cache
28
+ B019,
29
+ # reassigning variables in a loop
30
+ B020,
27
31
per-file-ignores =
28
32
# G: The plugin logging-format treats every .log and .error as logging.
29
33
noxfile.py: G
Original file line number Diff line number Diff line change 6
6
from typing import Any , Optional , cast
7
7
from unittest import mock
8
8
9
- import freezegun # type: ignore
9
+ import freezegun
10
10
import pytest
11
11
from pip ._vendor .packaging .version import parse as parse_version
12
12
You can’t perform that action at this time.
0 commit comments