File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
3
3
- repo : git://github.com/pre-commit/pre-commit-hooks
4
- rev : v2.2.3
4
+ rev : v4.0.1
5
5
hooks :
6
6
- id : check-json
7
7
- id : check-yaml
@@ -11,17 +11,17 @@ repos:
11
11
" .xml"
12
12
13
13
- repo : https://github.com/mgedmin/check-manifest
14
- rev : " 0.39 "
14
+ rev : " 0.46 "
15
15
hooks :
16
16
- id : check-manifest
17
17
18
18
- repo : https://github.com/psf/black
19
- rev : stable
19
+ rev : 21.7b0
20
20
hooks :
21
21
- id : black
22
22
23
23
- repo : https://github.com/PyCQA/pylint
24
- rev : pylint-2.4.2
24
+ rev : v2.9.5
25
25
hooks :
26
26
- id : pylint
27
27
args :
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def get_version():
37
37
"bs4" ,
38
38
"rinohtype" ,
39
39
],
40
- "code_style" : ["pre-commit==2.6 " ],
40
+ "code_style" : ["pre-commit==2.13.0 " ],
41
41
},
42
42
classifiers = [
43
43
"Development Status :: 5 - Production/Stable" ,
Original file line number Diff line number Diff line change @@ -250,8 +250,10 @@ def run(self):
250
250
else :
251
251
try :
252
252
tab_name = LEXER_MAP [self .arguments [0 ]]
253
- except :
254
- raise ValueError ("Lexer not implemented: {}" .format (self .arguments [0 ]))
253
+ except KeyError as invalid_lexer_error :
254
+ raise ValueError (
255
+ "Lexer not implemented: {}" .format (self .arguments [0 ])
256
+ ) from invalid_lexer_error
255
257
256
258
self .tab_classes .add ("code-tab" )
257
259
You canβt perform that action at this time.
0 commit comments