Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#108)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/alessandrojcm/commitlint-pre-commit-hook: v9.10.0 → v9.11.0](alessandrojcm/commitlint-pre-commit-hook@v9.10.0...v9.11.0)
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)
- [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](PyCQA/flake8@6.1.0...7.0.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Feb 8, 2024
1 parent 75a1b9e commit 6f9b7ad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.10.0
rev: v9.11.0
hooks:
- id: commitlint
stages:
Expand All @@ -24,7 +24,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
Expand All @@ -38,7 +38,7 @@ repos:
- id: pydocstyle
additional_dependencies: ["tomli"]
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
ci:
Expand Down
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 6f9b7ad

Please sign in to comment.