This repository sets the policies for developer environment in repositories if the ComPWA organization (See our Help developing page). The policies are automatically enforced through pre-commit.
Add a .pre-commit-config.yaml file to your repository with the following content:
repos:
  - repo: https://github.com/ComPWA/policy
    rev: ""
    hooks:
      - id: check-dev-files
      - id: fix-nbformat-version
      - id: set-nb-cellsthen run
pre-commit autoupdate --repo=https://github.com/ComPWA/policyThis example lists all available hooks (listed here as ids) ― you can remove some of them.