mirror of
https://github.com/ansible-collections/hetzner.hcloud
synced 2024-11-10 06:34:13 +00:00
9eab32cf3d
##### 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
22 lines
376 B
Makefile
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
|