Skip to content

Commit 3b194b9

Browse files
authored
Merge pull request #11 from opencollector/fix/ci-build
fix: CI build
2 parents 20c370a + 81d5971 commit 3b194b9

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
- ubuntu-24.04-arm
4848
- windows-2025
4949
- windows-11-arm
50-
- macOS-26-intel
5150
- macOS-26
5251

5352
steps:

pyproject.toml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dev = [
3232
"click>=8.3",
3333
"ruff>=0.4",
3434
"jinja2>=3",
35-
"mypy>=0.910",
35+
"mypy>=1.19",
3636
"pytest>=6.2",
3737
"sphinx>=4",
3838
"sphinx-rtd-theme>=0.5",
@@ -77,20 +77,16 @@ select = ["E", "F", "I", "W"]
7777
ignore = ["E501"]
7878

7979
[tool.hatch.envs.lint]
80-
dependencies = ["ruff>=0.4"]
80+
features = ["dev"]
8181

8282
[tool.hatch.envs.lint.scripts]
8383
fix = ["ruff format {args:src}", "ruff check --fix {args:src}"]
84-
check = ["ruff format --check {args:src}", "ruff check {args:src}"]
84+
check = ["ruff format --check {args:src}", "ruff check {args:src}", "mypy -p jntajis"]
8585

8686
[tool.hatch.envs.wheels]
8787
dependencies = ["cibuildwheel>=2"]
8888
detached = true
8989

90-
[tool.hatch.envs.wheels.env-vars]
91-
CIBW_BUILD = "cp310-* cp311-* cp312-* cp313-*"
92-
CIBW_SKIP = "pp*"
93-
9490
[tool.hatch.envs.wheels.scripts]
9591
build = ["cibuildwheel --output-dir {args:dist}"]
9692

@@ -99,3 +95,10 @@ python = ["3.13", "3.12", "3.11", "3.10"]
9995

10096
[tool.mypy]
10197
files = "src/"
98+
99+
[tool.cibuildwheel]
100+
build = ["cp310-*", "cp311-*", "cp312-*", "cp313-*"]
101+
# skip = "pp*"
102+
103+
[tool.cibuildwheel.macos]
104+
archs = ["universal2"]

0 commit comments

Comments
 (0)