This repository is to standardize the developer environment of Python packages by the ComPWA organization. The maintenance is performed through pre-commit.
See also the develop page.
Add a .pre-commit-config.yaml
file to your repository with the following content:
repos:
- repo: https://github.com/ComPWA/repo-maintenance
rev: ""
hooks:
- id: check-dev-files
- id: fix-nbformat-version
- id: format-setup-cfg
- id: pin-nb-requirements
- id: set-nb-cells
then run
pre-commit autoupdate --repo=https://github.com/ComPWA/repo-maintenance
This example lists all available hooks (listed here as id
s) ― you can remove some of them.