Skip to content

Commit

Permalink
chore(deps-dev): bump ruff from 0.7.4 to 0.8.0 (#195)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump ruff from 0.7.4 to 0.8.0

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.4 to 0.8.0.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.7.4...0.8.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: ruff check --fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lucas <[email protected]>
  • Loading branch information
dependabot[bot] and hairmare authored Nov 27, 2024
1 parent 3ca57df commit 8b09523
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.4.2'
rev: 'v0.8.0'
hooks:
- id: ruff
arg: [--fix]
args: [--fix]
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand Down
11 changes: 7 additions & 4 deletions docs/gen_ref_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@
with mkdocs_gen_files.open("reference/SUMMARY.md", "w") as nav_file:
nav_file.writelines(nav.build_literate_nav())

with Path("README.md").open("r") as readme, mkdocs_gen_files.open(
"index.md",
"w",
) as index_file:
with (
Path("README.md").open("r") as readme,
mkdocs_gen_files.open(
"index.md",
"w",
) as index_file,
):
index_file.writelines(readme.read())
3 changes: 2 additions & 1 deletion pathfinderevents.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
import logging
import signal
import sys
from typing import TYPE_CHECKING, Any, Iterable, NoReturn, Self
from typing import TYPE_CHECKING, Any, NoReturn, Self
from urllib.parse import parse_qs

if TYPE_CHECKING:
from collections.abc import Iterable
from wsgiref.types import StartResponse, WSGIEnvironment

import cherrypy # type: ignore[import-untyped]
Expand Down
40 changes: 20 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pytest-cov = "^6.0.0"
pytest-mypy = "^0.10.3"
pytest-random-order = "^1.1.1"
pytest-ruff = "^0.4"
ruff = "^0.7.4"
ruff = "^0.8.0"

[tool.pytest.ini_options]
minversion = "7.2"
Expand Down

0 comments on commit 8b09523

Please sign in to comment.