Skip to content

Commit

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

updates:
- [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](codespell-project/codespell@v2.3.0...v2.4.1)
- [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.4](astral-sh/ruff-pre-commit@v0.8.6...v0.9.4)

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

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

* Update .pre-commit-config.yaml

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
  • Loading branch information
pre-commit-ci[bot] and cclauss authored Feb 8, 2025
1 parent 69f94e7 commit 3b3725c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
args:
- --quiet-level=2
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.5
hooks:
- id: ruff-format
- id: ruff
Expand Down
8 changes: 4 additions & 4 deletions src/set_theory.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ def set_theory(abc, ac, cde):
print(f"Set difference: abc - cde --> {sorted(abc - cde)}")
print(f"Symmetric difference: abc ^ cde --> {sorted(abc ^ cde)}")
print(
"Is subset: ac <= abc, abc <= abc --> " f"{ac <= abc}, {abc <= abc}" # noqa: PLR0124
f"Is subset: ac <= abc, abc <= abc --> {ac <= abc}, {abc <= abc}" # noqa: PLR0124
)
print(
"Is superset: abc >= ac, abc >= abc --> " f"{abc >= ac}, {abc >= abc}" # noqa: PLR0124
f"Is superset: abc >= ac, abc >= abc --> {abc >= ac}, {abc >= abc}" # noqa: PLR0124
)
print(
"Is proper subset: ac < abc, abc < abc --> " f"{ac < abc}, {abc < abc}" # noqa: PLR0124
f"Is proper subset: ac < abc, abc < abc --> {ac < abc}, {abc < abc}" # noqa: PLR0124
)
print(
"Is proper superset: abc > ac, abc > abc --> " f"{abc > ac}, {abc > abc}", # noqa: PLR0124
f"Is proper superset: abc > ac, abc > abc --> {abc > ac}, {abc > abc}", # noqa: PLR0124
)


Expand Down

0 comments on commit 3b3725c

Please sign in to comment.