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 99 - id : check-yaml
1010 - id : check-added-large-files
1111- repo : https://github.com/psf/black
12- rev : 22.12 .0
12+ rev : 23.1 .0
1313 hooks :
1414 - id : black
1515 exclude : (_version\.py|versioneer\.py)$
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ def _docdir(request):
2626 # Trigger ONLY for the doctests.
2727 doctest_plugin = request .config .pluginmanager .getplugin ("doctest" )
2828 if isinstance (request .node , doctest_plugin .DoctestItem ):
29-
3029 # Get the fixture dynamically by its name.
3130 tmpdir = pp .local (data_dir )
3231
Original file line number Diff line number Diff line change 1919
2020
2121class FSLConverter :
22-
2322 INPUT_KEYS = [
2423 "allowed_values" ,
2524 "argstr" ,
@@ -138,7 +137,7 @@ def types_to_names(spec_fields):
138137 el = list (el )
139138 try :
140139 el [1 ] = el [1 ].__name__
141- except ( AttributeError ) :
140+ except AttributeError :
142141 el [1 ] = el [1 ]._name
143142 spec_fields_str .append (tuple (el ))
144143 return spec_fields_str
You can’t perform that action at this time.
0 commit comments