Skip to main content

Review repos for compliance to the Scientific-Python development guidelines

Project description

sp-repo-review

Actions Status [![GitHub Discussion][github-discussions-badge]][github-discussions-link] [![Live ReadTheDocs][rtd-badge]][rtd-link]

PyPI version PyPI platforms

sp-repo-review provides checks based on the Scientific-Python Development Guide at scientific-python/cookie.

This tool can check the style of a repository. Use like this:

pipx run 'sp-repo-review[cli]' <path to repository>

This will produce a list of results - green checkmarks mean this rule is followed, red x’s mean the rule is not. A yellow warning sign means that the check was skipped because a previous required check failed. Some checks will fail, that’s okay - the goal is bring all possible issues to your attention, not to force compliance with arbitrary checks. Eventually there might be a way to mark checks as ignored.

For example, GH101 expects all your action files to have a nice name: field. If you are happy with the file-based names you see in CI, you should feel free to simply ignore this check (just visually ignore it for the moment, a way to specify ignored checks will likely be added eventually).

All checks are mentioned at least in some way in the Scientific-Python Development Guide. You should read that first - if you are not attempting to follow them, some of the checks might not work. For example, the guidelines specify pytest configuration be placed in pyproject.toml. If you place it somewhere else, then all the pytest checks will be skipped.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sp_repo_review-2023.6.7.tar.gz (115.2 kB view details)

Uploaded Source

Built Distribution

sp_repo_review-2023.6.7-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file sp_repo_review-2023.6.7.tar.gz.

File metadata

  • Download URL: sp_repo_review-2023.6.7.tar.gz
  • Upload date:
  • Size: 115.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for sp_repo_review-2023.6.7.tar.gz
Algorithm Hash digest
SHA256 b786e48c4c9a52e3f37a39ff648ec3066c14c067295977c249374aafa87c0798
MD5 e53ea3de8962ad67724749269a01ac24
BLAKE2b-256 64f87d9c06ab461fa671449f450220b0280ea4f046d51b692fe23771f4241a5b

See more details on using hashes here.

File details

Details for the file sp_repo_review-2023.6.7-py3-none-any.whl.

File metadata

File hashes

Hashes for sp_repo_review-2023.6.7-py3-none-any.whl
Algorithm Hash digest
SHA256 250dc7a0e3b2cd1394bf45c9e8336d4ab49ab8c12785315c4927da923437777d
MD5 9b0f06177bd3bbaadff4ff2d714ea9e4
BLAKE2b-256 9b27cb9129a05912fc8e392c8091df70f7c8f606f3eb7314a2578707bd754f20

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page