ansible-collection-hetzner-.../Makefile
Jonas L 9eab32cf3d
chore: pre-commit improvements (#348)
##### SUMMARY

- Speed up pre-commit by moving some tasks out of pre-commit
- Move network related hooks out of pre-commit (allow enabling
pre-commit.ci)
- Some optimization
- Use pre-commit.ci
2023-10-06 16:02:46 +02:00

22 lines
376 B
Makefile

SHELL := bash
.PHONY: vendor clean
vendor:
python3 scripts/vendor.py
vendor-check:
python3 scripts/vendor.py --check
venv:
python3 -m venv venv
venv/bin/pip install -r requirements.txt
lint: venv
venv/bin/pylint plugins
lint-docs:
venv/bin/antsibull-docs lint-collection-docs --plugin-docs .
clean:
git clean -xdf \
-e tests/integration/cloud-config-hcloud.ini