Skip to content

Commit

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

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.1](astral-sh/ruff-pre-commit@v0.5.7...v0.6.1)

* [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] authored Aug 19, 2024
1 parent 61bf2fc commit 0886770
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ repos:
pass_filenames: false
entry: pixi run refurb scripts/.local/bin
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
rev: v0.6.1
hooks:
- id: ruff
args: ['--output-format=full', '--fix', '--config', 'ruff/.config/ruff/pyproject.toml']
Expand Down
4 changes: 2 additions & 2 deletions scripts/.local/bin/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ def get_ros_packages(directory: Path) -> list[str]:
def run_command(
cmd: list,
dry_run: bool, # noqa: FBT001
cwd: Optional[str] = None, # noqa: U007
env: Optional[dict] = None, # noqa: U007
cwd: Optional[str] = None, # noqa: UP007
env: Optional[dict] = None, # noqa: UP007
) -> int | None:
"""Run a command.
Expand Down

0 comments on commit 0886770

Please sign in to comment.