ComPWA / policy

Pre-commit hooks that ensure that ComPWA repositories have a similar developer set-up
https://compwa.github.io/policy
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

FIX: remove `skip` key if no expected hook skips #403

Open redeboer opened 12 hours ago

redeboer commented 12 hours ago

Previously, if there were no hooks to be listed under ci.skip in a .pre-commit-config.yaml, check-dev-files would write

ci:
  skip: []

The key is now removed if it is supposed to be empty.