Skip to content

Commit 0f31d3c

Browse files
Update all dependencies (#83)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Avasam <[email protected]>
1 parent e4f8c85 commit 0f31d3c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/verify_newsfragments.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
def main():
1717
invalid_filenames = [
1818
filename for filename
19-
in listdir(NEWSFRAGMENTS_FIR)
19+
in listdir(NEWSFRAGMENTS_FIR) # noqa: PTH208 # Easier as strings
2020
if not (NEWS_PATTERN.fullmatch(filename) or filename.endswith(".gitignore"))
2121
]
2222

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# Workaround for https://github.com/adamchainz/pre-commit-dprint/issues/4
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.6.0
4+
rev: v5.0.0
55
hooks:
66
- id: trailing-whitespace
77
args: [--markdown-linebreak-ext=md]
@@ -30,7 +30,7 @@ repos:
3030
additional_dependencies: ["dprint@~0.46.0"]
3131
pass_filenames: false # https://github.com/adamchainz/pre-commit-dprint/issues/3#issuecomment-1483410008
3232
- repo: https://github.com/astral-sh/ruff-pre-commit
33-
rev: "v0.6.2" # Must match requirements-dev.txt
33+
rev: "v0.8.1" # Must match requirements-dev.txt
3434
hooks:
3535
- id: ruff
3636
args: [--fix]
@@ -43,7 +43,7 @@ repos:
4343
hooks:
4444
- id: add-trailing-comma
4545
- repo: https://github.com/RobertCraigie/pyright-python
46-
rev: "v1.1.377" # Must match requirements-dev.txt
46+
rev: "v1.1.389" # Must match requirements-dev.txt
4747
hooks:
4848
- id: pyright
4949
args: [--threads]

Dolphin scripts/Entrance Randomizer/lib/transition_infos.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Transition(NamedTuple):
2020
class ExitJSON(TypedDict):
2121
area_id: str
2222
area_name: str
23-
requires: None | list[list[str]]
23+
requires: list[list[str]] | None
2424

2525

2626
class AreaJSON(TypedDict):
@@ -45,7 +45,7 @@ class AreaJSON(TypedDict):
4545
class Exit:
4646
area_id: int
4747
area_name: str
48-
requires: None | list[list[str]]
48+
requires: list[list[str]] | None
4949

5050

5151
@dataclass(frozen=True)

Dolphin scripts/requirements-dev.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ pre-commit
22
# Below must match .pre-commit-config.yaml, this is handled by Renovate
33
add-trailing-comma==3.1.0
44
autopep8==2.3.1
5-
pyright==1.1.377
6-
ruff==0.6.2
5+
pyright==1.1.389
6+
ruff==0.8.1

0 commit comments

Comments
 (0)