validate-pyproject
validate-pyproject copied to clipboard
Validation library for simple check on `pyproject.toml`
I run into a situation that I wanted to test local schemas changes in setuptools and see if they work first before cutting new releases to `validate-pyproject`. So my strategy...
This is an investigation on the suggestion in https://github.com/TheKevJames/coveralls-python/issues/434#issuecomment-2098571030.
Closes #162. See details of the discussion in https://github.com/pypa/setuptools/issues/4316#issuecomment-2068123376.
> The pip-run project defines a [py-module that has a dash in the name](https://github.com/jaraco/pip-run/blob/ee5cbbd03d19e7b33effb7d286e79cfcc45c53d8/setup.cfg#L18). It does so intentionally in order to make it possible to type `python -m pip-run` without...
> `--store` is broken (I think) as a subschema now references another schema (base.json for poetry’s license). I think this is a good opportunity to add the ability to load...
This is an experiment in adding fragments to entrypoints. While [it is suggested](https://packaging.python.org/en/latest/specifications/entry-points/#data-model) to use simple chars, these chars are valid according to the spec. This is the simplest way...
Experimenting with an alternative to #134.
I noticed an odd failure which might be related to #36. I was adding this to an existing project and added the following to my `.pre-commit-config.yaml` file: ```yaml - repo:...
Basically, what I'm thinking of is: ```python >>> [f for f in importlib.metadata.files("validate-pyproject") if f.stem == 'LICENSE'] [PackagePath('validate_pyproject-0.9.post1.dev3+g3b0db8c.dist-info/LICENSE.txt'), PackagePath('validate_pyproject/_vendor/fastjsonschema/LICENSE')] ``` i.e. both the package license file and the vendored fastjsonschema's...
Fields allowing for files are: 1. readme 2. license It would be very nice of `validate-pyproject`, if it could raise when one of these files are not accessible. It just...