pyproject-validate
| CI/CD | |
| Package | |
| Meta |
Validate and format pyproject.toml files.
Table of Contents
Installation
pip install pyproject-validate
Usage
usage: pyproject-validate [-h] [--fix] [--config CONFIG] [--version]
optional arguments:
-h, --help show this help message and exit
--fix whether to apply fixes for any encountered errors
--config CONFIG explicit path to the project config file
--version show program's version number and exit
Validators
Specs
Adhere to the data model defined by PEP 517 and PEP 621.
Naming
Ensure normalized project names.
Before:
[project]
name = "Foo.bAr"
After:
name = "foo-bar"
Dependencies
Ensure normalized and sorted PEP 508 dependency definitions.
Before:
[project]
dependencies = [
"python-dateutil",
"bAr.Baz[TLS] >=1.2RC5",
'Foo;python_version<"3.8"',
]
After:
dependencies = [
"bar-baz[tls]>=1.2rc5",
"foo; python_version < '3.8'",
"python-dateutil",
]
License
pyproject-validate is distributed under the terms of the MIT license.
Release files for pyproject-validate 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyproject_validate-0.1.0.tar.gz | 11.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyproject_validate-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.6 kB
Release files / pyproject_validate-0.1.0.tar.gz
| Download URL | pyproject_validate-0.1.0.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e60605a5b7e99c194d8b735bf051cdd660de5faa6ad9561c79742d34da3280e
|
|
BLAKE2b-256 checksum How to use checksums |
f2a1d21b37d66148eba1ffd13fab78e91ffdf91984220d049a81ffdfbbaf3676
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / pyproject_validate-0.1.0-py3-none-any.whl
| Download URL | pyproject_validate-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97bb4d096b4f6dc32e8d1ea4f6f09acc6d84409309a85dab3808eeaf988aa1aa
|
|
BLAKE2b-256 checksum How to use checksums |
d66370e74b1a0b93074501051da8a6ae9835e47b4a035e174d9e23aeff1664d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|