Skip to content

Commit cc2e43a

Browse files
docs: fix typo (#406)
* docs: fix typo * docs: fix typo newly found by codespell
1 parent ac1ea0d commit cc2e43a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/pages/guides/style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ command line. `strict = true` is now allowed in config files, too
582582
The extra strict options shown above, like `warn_unreachable` {% rr MY103 %},
583583
and `ignore-without-code` {% rr MY104 %}, `redundant-expr` {% rr MY105 %}, and
584584
`truthy-bool` {% rr MY106 %} can trigger too often (like on `sys.platform`
585-
checks) and have to be ignored occasionally, but can find some signifiant logic
585+
checks) and have to be ignored occasionally, but can find some significant logic
586586
errors in your typing.
587587

588588
[mypy page]: {% link pages/guides/mypy.md %}

src/sp_repo_review/checks/ruff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def check(pyproject: dict[str, Any], ruff: dict[str, Any]) -> bool | str:
7575
match pyproject:
7676
case {"project": {"requires-python": str()}}:
7777
if "target-version" in ruff:
78-
return "You have both Ruff's `target-version` and `project.requires-python`. You only need the later."
78+
return "You have both Ruff's `target-version` and `project.requires-python`. You only need the latter."
7979
return True
8080
case _:
8181
return "target-version" in ruff

0 commit comments

Comments
 (0)