Commit 545a4de 1 parent ad22862 commit 545a4de Copy full SHA for 545a4de
File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
"""Extension to define a new Sphinx directive for objects moved to the `luigi` package."""
2
+
2
3
from docutils import nodes
3
4
from docutils .parsers .rst import directives
4
5
from docutils .statemachine import StringList
Original file line number Diff line number Diff line change @@ -728,12 +728,12 @@ def output(self):
728
728
with set_luigi_config (
729
729
{
730
730
"TaskPathParameter" : {
731
- "a" : str ( tmpdir / ( default + "_from_config" ))
732
- if default is not None
733
- else str ( tmpdir ),
734
- "b" : str ( tmpdir / ( default + "_from_config" ))
735
- if default is not None
736
- else str ( tmpdir ),
731
+ "a" : (
732
+ str ( tmpdir / ( default + "_from_config" )) if default is not None else str ( tmpdir )
733
+ ),
734
+ "b" : (
735
+ str ( tmpdir / ( default + "_from_config" )) if default is not None else str ( tmpdir )
736
+ ),
737
737
"d" : "" ,
738
738
}
739
739
}
You can’t perform that action at this time.
0 commit comments