Skip to content

Commit

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

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.7.4 to 0.8.1.
- [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.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

* chore: ruff changes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lucas <hairmare@rabe.ch>
  • Loading branch information
dependabot[bot] and hairmare authored Nov 30, 2024
1 parent 6f6264f commit a5384fe
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.4.2'
rev: 'v0.8.1'
hooks:
- id: ruff
args: [--fix]
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())
4 changes: 3 additions & 1 deletion minioevents.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@
import logging
import signal
import sys
from typing import TYPE_CHECKING, Any, Generator, NoReturn
from typing import TYPE_CHECKING, Any, NoReturn

from cloudevents.http import CloudEvent
from cloudevents.kafka import to_structured
from configargparse import ArgumentParser # type: ignore[import-untyped]
from kafka import KafkaConsumer, KafkaProducer # type: ignore[import-untyped]

if TYPE_CHECKING: # pragma: no cover
from collections.abc import Generator

from kafka.consumer.fetcher import ConsumerRecord # type: ignore[import-untyped]

logger = logging.getLogger(__name__)
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 @@ -24,7 +24,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.1"

[tool.pytest.ini_options]
minversion = "7.2"
Expand Down
2 changes: 2 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[lint]
select = ["ALL"]
ignore = [
"COM812",
"D203",
"D213",
"ISC001",
]

[lint.per-file-ignores]
Expand Down

0 comments on commit a5384fe

Please sign in to comment.