Skip to main content

pre-commit hooks for ensuring consistency across our code base. Included are hooks which are not available elsewhere and also not super useful outside of a CR context.

Project description

Climate Resource pre-commit hooks

pre-commit hooks for ensuring consistency across our code base. Included are hooks which are not available elsewhere and also not super useful outside of a CR context.

Installation

Climate Resource pre-commit hooks can be installed with pip:

pip install cr-pre-commit-hooks

For developers

For development, we rely on poetry for all our dependency management. To get started, you will need to make sure that poetry is installed (instructions here, we found that pipx and pip worked better to install on a Mac).

For all of work, we use our Makefile. You can read the instructions out and run the commands by hand if you wish, but we generally discourage this because it can be error prone. In order to create your environment, run make virtual-environment.

If there are any issues, the messages from the Makefile should guide you through. If not, please raise an issue in the issue tracker.

For the rest of our developer docs, please see .

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

cr_pre_commit_hooks-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

cr_pre_commit_hooks-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file cr_pre_commit_hooks-0.1.0.tar.gz.

File metadata

  • Download URL: cr_pre_commit_hooks-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/6.1.0-9-amd64

File hashes

Hashes for cr_pre_commit_hooks-0.1.0.tar.gz
Algorithm Hash digest
SHA256 de460f7ec52c468468e8f39b4ee2a87878e542128a3582278f53566dda203054
MD5 fc56e03a8bae3f9743421b597f883e9d
BLAKE2b-256 8d41de150671bc19e6b84eac1ec3358db5deceaf4f9a8c5474fb38160c5a6f83

See more details on using hashes here.

File details

Details for the file cr_pre_commit_hooks-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cr_pre_commit_hooks-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b230929102df0b8ce80073a945c800cfa2dcb01e58034d39aa6d13496438da0e
MD5 83879322eb8bc2bdaca8348bf2c61882
BLAKE2b-256 c52815076afb66bcc3271974f7c8453d51145d98d56b7f6d39ebb1d715e4ac64

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