Skip to content

Commit 8470194

Browse files
authored
Upgrade Python tools
1 parent 015c931 commit 8470194

7 files changed

Lines changed: 254 additions & 169 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
all default: style-check
55

66
# Code style; defines `style-check` and `style-fix`.
7+
CODE_STYLE_EXCLUSIONS_USER := --exclude=manual.html
78
ifeq (,$(wildcard .plume-scripts))
89
ifeq (,$(wildcard checker/bin-devel/.plume-scripts))
910
dummy := $(shell ./gradlew -q getPlumeScripts)

docs/developer/release/release_build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import sys
1212
from pathlib import Path
1313

14-
from release_utils import ( # ty: ignore # TODO: limitation in ty
14+
from release_utils import (
1515
check_repo,
1616
check_tools,
1717
clone_from_scratch_or_update,
@@ -31,7 +31,7 @@
3131
prompt_yes_no,
3232
set_umask,
3333
)
34-
from release_vars import ( # ty: ignore # TODO: limitation in ty
34+
from release_vars import (
3535
CF_VERSION,
3636
CHECKER_FRAMEWORK,
3737
CHECKLINK,

docs/developer/release/release_push.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import sys
99
from pathlib import Path
1010

11-
from release_utils import ( # ty: ignore # TODO: limitation in ty
11+
from release_utils import (
1212
continue_or_exit,
1313
current_distribution_by_website,
1414
delete_directory,
@@ -25,7 +25,7 @@
2525
set_umask,
2626
version_number_to_array,
2727
)
28-
from release_vars import ( # ty: ignore # TODO: limitation in ty
28+
from release_vars import (
2929
CF_VERSION,
3030
CHECKER_FRAMEWORK,
3131
CHECKER_LIVE_API_DIR,
@@ -42,7 +42,7 @@
4242
TMP_DIR,
4343
execute,
4444
)
45-
from sanity_checks import ( # ty: ignore # TODO: limitation in ty
45+
from sanity_checks import (
4646
javac_sanity_check,
4747
maven_sanity_check,
4848
)

docs/developer/release/release_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import urllib.request
2020
from pathlib import Path
2121

22-
from release_vars import ( # ty: ignore # TODO: limitation in ty
22+
from release_vars import (
2323
execute,
2424
execute_output,
2525
execute_status,

docs/developer/release/sanity_checks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import zipfile
1414
from pathlib import Path
1515

16-
from release_utils import ( # ty: ignore # TODO: limitation in ty
16+
from release_utils import (
1717
are_in_file,
1818
delete,
1919
delete_directory,
@@ -23,7 +23,7 @@
2323
insert_before_line,
2424
wget_file,
2525
)
26-
from release_vars import ( # ty: ignore # TODO: limitation in ty
26+
from release_vars import (
2727
CHECKER_FRAMEWORK,
2828
SANITY_DIR,
2929
execute,

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ dependencies = []
99
[dependency-groups]
1010
dev = [
1111
"html5validator>=0.4.2",
12-
"pymarkdownlnt>=0.9.33",
12+
"pymarkdownlnt>=0.9.36",
1313
"requests>=2.32.5",
14-
"ty>=0.0.1a31",
14+
"ruff>=0.15.8",
15+
"ty>=0.0.26",
1516
]

uv.lock

Lines changed: 242 additions & 159 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)