Check the contents of an SDist vs. git
Project description
check-sdist
To run:
$ pipx run check-sdist
You can add --no-isolation
to disable build isolation (faster, but must
preinstall build deps), --source-dir
to select a different source dir to
check, and --inject-junk
to temporarily inject some common junk files while
running.
To use the development version:
$ pipx run --spec git+https://github.com/henryiii/check-sdist check-sdist
To use the pre-commit integration, use this in your .pre-commit-config.yaml
:
- repo: https://github.com/henryiii/check-sdist
rev: v0.1.0
hooks:
- id: check-sdist
args: [--inject-junk]
additional_dependencies: [] # list your build deps here
Or, slower, but doesn't require build dependency listing:
- repo: https://github.com/henryiii/check-sdist
rev: v0.1.0
hooks:
- id: check-sdist-isolated
args: [--inject-junk]
To configure, these options are provided for your pyproject.toml file:
[tool.check-sdist]
sdist-only = []
git-only = []
default-ignore = true
You can add .gitignore style lines here, and you can turn off the default ignore
list, which adds some default git-only
files.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file check_sdist-0.1.0.tar.gz
.
File metadata
- Download URL: check_sdist-0.1.0.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25571e6c0860a658c7f9afbdde6e55a8019dfa3b871958486868e625d45dedeb |
|
MD5 | 539f3e221c25e913ff48a88b44af6987 |
|
BLAKE2b-256 | 7e8156432d1340323862b30515756e732391c2b9e3f2f03dafe20e730c5652ac |
File details
Details for the file check_sdist-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: check_sdist-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4242920b0a82a0b2416a951db3dcee9867c09c08e46f0495d564bd25b9dde5fa |
|
MD5 | b00d4213f5a0c4c6dc9d37acababf654 |
|
BLAKE2b-256 | 483b55e25532a2a1e2a41ae65af510f4ef0d5fe9a631c6f72d398d5031932862 |