Skip to content

🧱 static integration testing #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 28 commits into from
Jul 6, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
cf1306b
🧑‍💻 lefthook config fine-tuning
jorenham Jul 2, 2025
3b23312
🎨 remove redundant `bound=object`
jorenham Jul 2, 2025
5f5995b
🚚 restructured tests directories
jorenham Jul 2, 2025
7434579
🔧⬆️ mypy config tweaks, reorder dep groups, and bump deps
jorenham Jul 2, 2025
a32517f
💡 remove redundant `# noqa`
jorenham Jul 2, 2025
d00681e
🧪 add (failing) numpy integration test for `HasArrayNamespace`
jorenham Jul 2, 2025
a15686c
🔧 fix awkward dependency groups
jorenham Jul 2, 2025
a7fe54d
👷 integration testing matrix for numpy
jorenham Jul 2, 2025
2b30311
🙈 ignore some irrelevant ruff codes for the static integration tests
jorenham Jul 2, 2025
a6bb9b7
💚 fix test path
jorenham Jul 2, 2025
d59a1c5
💚 don't use `--frozen` when installing different a numpy version
jorenham Jul 2, 2025
9a73605
🚧 debug-print the installed numpy version
jorenham Jul 2, 2025
cc91649
🚧 `--refresh` , maybe?
jorenham Jul 2, 2025
26d85ba
🚧 `--reinstall`, maybe?
jorenham Jul 2, 2025
b9f77b5
⬆️ might as well bump `setup-uv` then...
jorenham Jul 2, 2025
d509f4f
🚧 `--isolated`, maybe?
jorenham Jul 2, 2025
55ac805
🚧 `enable-cache: false`, maybe?
jorenham Jul 2, 2025
110a869
🚧 `--exact`, maybe?
jorenham Jul 2, 2025
7d2e59b
🚧 no mypy flags, maybe?
jorenham Jul 2, 2025
de3924e
🚧 `uv pip`, maybe?
jorenham Jul 2, 2025
4db60c2
💚 clean up CI debug statements
jorenham Jul 2, 2025
57eb000
🐛 fix `HasArrayNamespace` falsely rejecting `ndarray` instances on nu…
jorenham Jul 2, 2025
9e1fc18
👷 remove numpy<2 from the integration testing matrix
jorenham Jul 2, 2025
a4a75f9
🧙 split numpy 1 and 2 integration tests with black voodoo magic
jorenham Jul 2, 2025
95ec86d
✂️ don't `cut` more than needed
jorenham Jul 2, 2025
9c89224
🩹 don't attempt to directly use `np.array_api.Array`
jorenham Jul 2, 2025
b0673fa
🔧 move ruff ignore rules for the tests to the tests
jorenham Jul 2, 2025
5644f37
⏪ temporarily restore the lefthook step
jorenham Jul 3, 2025
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
Prev Previous commit
Next Next commit
🔧 move ruff ignore rules for the tests to the tests
  • Loading branch information
jorenham committed Jul 2, 2025
commit b0673fa2337dd868f8fb8512e85af0140244a61a
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ version_tuple = {version_tuple!r}
"__dlpack_device__",
]

[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["ANN201", "D1", "S101"]

[tool.ruff.lint.flake8-import-conventions]
banned-from = ["array_api_typing"]

Expand Down
3 changes: 3 additions & 0 deletions tests/.ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ extend = "../pyproject.toml"

[lint]
extend-ignore = [
"ANN201", # https://docs.astral.sh/ruff/rules/missing-return-type-undocumented-public-function/
"D1", # https://docs.astral.sh/ruff/rules/#pydocstyle-d
"INP001", # https://docs.astral.sh/ruff/rules/implicit-namespace-package/
"S101", # https://docs.astral.sh/ruff/rules/assert/
]
Loading