Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .dprint.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"excludes": ["**/*.lock", "dist/"],
"plugins": [
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm",
"https://plugins.dprint.dev/json-0.20.0.wasm",
"https://plugins.dprint.dev/markdown-0.19.0.wasm",
"https://plugins.dprint.dev/json-0.21.0.wasm",
"https://plugins.dprint.dev/markdown-0.20.0.wasm",
"https://plugins.dprint.dev/toml-0.7.0.wasm",
],
}
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5.0.0
- uses: actions/checkout@v6.0.0

- name: repo review
uses: scientific-python/repo-review@v0.12.3
Expand All @@ -32,9 +32,9 @@ jobs:
uses: dprint/check@v2.3

- name: typos
uses: crate-ci/typos@v1.39.0
uses: crate-ci/typos@v1.40.0

- uses: astral-sh/setup-uv@v7.1.3
- uses: astral-sh/setup-uv@v7.1.4
with:
python-version: "3.14"

Expand Down Expand Up @@ -64,9 +64,9 @@ jobs:
- py: "3.14"
np: "2.3"
steps:
- uses: actions/checkout@v5.0.0
- uses: actions/checkout@v6.0.0

- uses: astral-sh/setup-uv@v7.1.3
- uses: astral-sh/setup-uv@v7.1.4
with:
activate-environment: true
python-version: ${{ matrix.py }}
Expand Down Expand Up @@ -109,9 +109,9 @@ jobs:
- py: "3.14"
np: "2.0"
steps:
- uses: actions/checkout@v5.0.0
- uses: actions/checkout@v6.0.0

- uses: astral-sh/setup-uv@v7.1.3
- uses: astral-sh/setup-uv@v7.1.4
with:
python-version: ${{ matrix.py }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/checkout@v5.0.0
- uses: actions/checkout@v6.0.0

- uses: astral-sh/setup-uv@v7.1.3
- uses: astral-sh/setup-uv@v7.1.4
with:
python-version: "3.14"

Expand Down
18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["uv_build>=0.9.8,<0.10.0"]
requires = ["uv_build>=0.9.13,<0.10.0"]
build-backend = "uv_build"

[tool.uv.build-backend]
Expand Down Expand Up @@ -68,21 +68,21 @@ extra = [
]
lint = [
"dprint-py>=0.50.2.0",
"ruff>=0.14.4",
"sp-repo-review[cli]>=2025.11.10",
"ruff>=0.14.7",
"sp-repo-review[cli]>=2025.11.21",
]
test = [
{ include-group = "extra" },
"beartype>=0.22.5",
"pytest>=9.0.0",
"beartype>=0.22.6",
"pytest>=9.0.1",
"typing-extensions>=4.15.0",
]
type = [
{ include-group = "extra" },
{ include-group = "test" },
"basedpyright>=1.33.0",
"mypy[faster-cache]>=1.18.2",
"pyrefly==0.41.3",
"basedpyright>=1.34.0",
"mypy[faster-cache]>=1.19.0",
"pyrefly==0.43.1",
]
dev = [
{ include-group = "extra" },
Expand Down Expand Up @@ -144,7 +144,7 @@ testpaths = ["optype", "examples", "tests"]
addopts = ["-ra", "--doctest-modules"]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "IGNORE_EXCEPTION_DETAIL", "ELLIPSIS"]
filterwarnings = ["error"]
log_cli_level = "INFO"
log_level = "INFO"
strict = true

# repo-review
Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_has_types.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ assert_type(typeof(bool_or_int), type[int]) # type: ignore[arg-type] # mypy fa

lit_str: LiteralString
# https://github.com/facebook/pyrefly/issues/1166
assert_type(type(lit_str), type[str]) # pyrefly: ignore[assert-type]
assert_type(type(lit_str), type[str])
assert_type(typeof(lit_str), type[str]) # pyrefly: ignore[bad-argument-type] # pf fail

class TDict(TypedDict): ...
Expand Down
Loading
Loading