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
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ jobs:
cache-dependency-path: pyproject.toml
- name: Install the project and its test dependencies
run: pip install --group test coverage[toml] .
- name: Include SDist check dependencies
if: matrix.python-version == '3.13'
run: pip install build flit
- name: Test with pytest
run: coverage run -m pytest -v
env:
Expand Down
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,13 @@ repos:
- id: rst-directive-colons
- id: rst-inline-touching-normal

- repo: https://github.com/henryiii/check-sdist
rev: v1.4.0
hooks:
- id: check-sdist
args: [--inject-junk]
additional_dependencies:
- flit-core

ci:
autoupdate_schedule: quarterly
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,3 @@ depends = []
deps = ["pre-commit"]
package = "skip"
commands = [["pre-commit", "run", "-a"]]

[tool.tox.env.pkg]
deps = ["build", "flit >= 3.8"]
commands = [["pytest", "tests/test_sdist.py", { replace = "posargs", extend = true }]]
51 changes: 0 additions & 51 deletions tests/test_sdist.py

This file was deleted.

Loading