Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and adrien-berchet committed Feb 8, 2024
1 parent 1f150d4 commit 0dc7fa7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/source/_ext/luigi_move.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Extension to define a new Sphinx directive for objects moved to the `luigi` package."""

from docutils import nodes
from docutils.parsers.rst import directives
from docutils.statemachine import StringList
Expand Down
12 changes: 6 additions & 6 deletions tests/test_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,12 +728,12 @@ def output(self):
with set_luigi_config(
{
"TaskPathParameter": {
"a": str(tmpdir / (default + "_from_config"))
if default is not None
else str(tmpdir),
"b": str(tmpdir / (default + "_from_config"))
if default is not None
else str(tmpdir),
"a": (
str(tmpdir / (default + "_from_config")) if default is not None else str(tmpdir)
),
"b": (
str(tmpdir / (default + "_from_config")) if default is not None else str(tmpdir)
),
"d": "",
}
}
Expand Down

0 comments on commit 0dc7fa7

Please sign in to comment.