Skip to content

Commit 68ce2b1

Browse files
committed
fix python version in tests
1 parent 7675236 commit 68ce2b1

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/testing.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
uses: astral-sh/setup-uv@v5
6060
with:
6161
version: "latest"
62+
python-version: ${{ matrix.python-version }}
6263

6364
- name: Set up Python ${{ matrix.python-version }}
6465
run: uv python install ${{ matrix.python-version }}

pyproject.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ classifiers = [
4545
"Typing :: Typed",
4646
]
4747
dependencies = [
48-
"sitecustomize-entrypoints == 1.1.0",
48+
"sitecustomize-entrypoints >= 1.1.0",
4949
]
5050

5151
[project.urls]
@@ -177,7 +177,6 @@ ignore = [
177177
"ERA001", # Found commented-out code
178178
"G004", # Logging statement uses f-string
179179
"RET504", # Unnecessary assignment before `return` statement
180-
181180
# D212 conflicts with D213 - we prefer D212, so we ignore D213
182181
"D213", # Multi-line docstring summary should start at the second line
183182
# D211 conflicts with D203 - we prefer D211, so we ignore D203
@@ -186,17 +185,13 @@ ignore = [
186185

187186
[tool.ruff.lint.per-file-ignores]
188187
"docs/**" = [
189-
"INP001", # docs-dir should not be a python-package
188+
"INP001", # docs-dir should not be a python-package
190189
]
191190
"tests/**" = [
192191
"ANN", # Missing type annotations
193192
"ARG001", # Unused function argument
194-
# "ARG002", # Unused method argument
195193
"D", # Missing docstring
196-
# "E501", # Line too long
197194
"INP001", # tests-dir should not be a python-package
198-
# "NPY002", # TODO Replace legacy `np.random.rand` call with `np.random.Generator`
199-
# "SLF001", # Private member accessed
200195
"S101", # Use of `assert` detected
201196
]
202197

0 commit comments

Comments
 (0)