Skip to content

Commit

Permalink
ci: check cli documentation is up to date (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
julesbertrand authored Apr 10, 2024
1 parent 13219d0 commit 4c6436c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,9 @@ repos:
types: [markdown]
language: system
stages: [commit, push]
- id: check-cli-documentation-updated
name: check cli documentation updated
entry: poetry run typer deployer/cli.py utils docs --output docs/CLI_REFERENCE.md --name vertex-deployer
pass_filenames: false
language: system
stages: [push]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ update-requirements:
.PHONY: format-code
## Format/lint all-files using pre-commit hooks (black, flake8, isort, ...)
format-code:
@poetry run pre-commit run -a
@poetry run pre-commit run -a --hook-stage pre-push


.PHONY: run-unit-tests
Expand Down

0 comments on commit 4c6436c

Please sign in to comment.