Skip to content

viaduct-ai/pre-commit-hooks

Repository files navigation

pre-commit-hooks

Viaduct's pre-commit hooks

Available hooks

  • check_notebook_has_parameters_cell: Check that all notebooks contain a cell tagged with parameters (for papermill)
  • nbsmoke_lint: nbsmoke lint check for Python and PySpark notebooks.
  • nbstripout: Strip outputs from notebooks.
  • pg_format: Format postgres SQL files with pgFormatter
  • validate_encrypted_secret_name: Check kubernetes SOPS encrypted yaml secrets filenames end with .enc.yaml
  • validate_secrets_are_encrypted: Check kubernetes secrets are encrypted with SOPS