The project_metadata.py module#
Summary#
Project metadata rule family. |
|
The AUTHORS file exists. |
|
CHANGELOG.md exists or doc/source/changelog.rst has a title and content. |
|
The CODE_OF_CONDUCT.md file exists. |
|
The CONTRIBUTING.md file exists. |
|
The CONTRIBUTORS.md file exists. |
|
The LICENSE file exists. |
|
The SECURITY.md file exists. |
|
The .github/CODEOWNERS file exists. |
|
Pyproject.toml declares README content and referenced files exist. |
|
Pyproject.toml references the LICENSE file. |
|
Project name follows the ansys-- convention. |
|
Project version follows an accepted versioning scheme. |
|
Project author and maintainer metadata matches PyAnsys defaults. |
|
The LICENSE file contains the standard MIT or Apache 2.0 license text. |
|
The .github/CODEOWNERS file contains at least one valid owner entry. |
|
Project declares a minimum supported Python version; an upper bound is optional. |
|
The project includes a docs directory. |
|
The project includes a tests directory. |
|
The project supports a task runner such as nox, tox, or pixi. |
|
Project contact and support links are provided in pyproject metadata. |
|
The AUTHORS file contains compliant contributor ownership information. |
|
The CONTRIBUTORS.md file includes lead and main contributors sections. |
|
Python version classifiers are present and compatible with requires-python. |
Description#
Project metadata checks.
This rule set validates repository metadata against PyAnsys standards.
The checks cover:
- Governance and repository files
AUTHORS
CHANGELOG.md or doc/source/changelog.rst
CODE_OF_CONDUCT.md
CONTRIBUTING.md
CONTRIBUTORS.md
LICENSE
SECURITY.md
.github/CODEOWNERS
- Packaging metadata
pyproject.toml references the README and LICENSE files
Project name follows the
ansys-*-*conventionProject version follows the accepted versioning schemes
Author and maintainer metadata is configured
Supported Python versions have an explicit minimum; an upper bound is optional
Python version classifiers agree with requires-python
Support URLs are declared
- Licensing
LICENSE file contains recognized MIT or Apache 2.0 wording
- Repository layout
Documentation and tests directories
Task runner configuration