File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 9
9
- id : check-yaml
10
10
- id : check-added-large-files
11
11
- repo : https://github.com/psf/black
12
- rev : 22.12 .0
12
+ rev : 23.1 .0
13
13
hooks :
14
14
- id : black
15
15
exclude : (_version\.py|versioneer\.py)$
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ def _docdir(request):
26
26
# Trigger ONLY for the doctests.
27
27
doctest_plugin = request .config .pluginmanager .getplugin ("doctest" )
28
28
if isinstance (request .node , doctest_plugin .DoctestItem ):
29
-
30
29
# Get the fixture dynamically by its name.
31
30
tmpdir = pp .local (data_dir )
32
31
Original file line number Diff line number Diff line change 19
19
20
20
21
21
class FSLConverter :
22
-
23
22
INPUT_KEYS = [
24
23
"allowed_values" ,
25
24
"argstr" ,
@@ -138,7 +137,7 @@ def types_to_names(spec_fields):
138
137
el = list (el )
139
138
try :
140
139
el [1 ] = el [1 ].__name__
141
- except ( AttributeError ) :
140
+ except AttributeError :
142
141
el [1 ] = el [1 ]._name
143
142
spec_fields_str .append (tuple (el ))
144
143
return spec_fields_str
You can’t perform that action at this time.
0 commit comments