Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Organisation Logo

Test Pre-Commit 3

Validation pre-commit source for setup-hooks. Use this repo to try the installer without a production hook. The script at src/pre-commit only prints hello.

Examples pin this source with version: v0.1.0 (explicit tag).

Validate setup-hooks

In a git working tree, add the YAML below, then run the CLI.

# hooks/pre-commit-config.yml
- name: Hello three
  filename: hello-three
  url: https://github.com/lupaxa-git-hooks-toolbox/test-pre-commit-3
  version: v0.1.0
# hooks/multiplexer-config.yml
url: https://github.com/lupaxa-git-hooks-toolbox/git-hooks-multiplexer
version: HEAD
python -m pip install lupaxa-setup-git-hooks
setup-hooks

That writes hooks/pre-commit/01-hello-three and installs the multiplexer. A later git commit prints hello. Guide: Setup Git Hooks.

The Lupaxa Project Footer

About

Validation repo for testing setup-hooks without a real pre-commit hook (pinned tag).

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages