mirror of
https://github.com/ansible-collections/hetzner.hcloud
synced 2024-11-10 06:34:13 +00:00
79d52d3621
##### SUMMARY Missing venv when running lint-docs from a clean repo.
26 lines
445 B
Makefile
26 lines
445 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
|
|
venv/bin/antsibull-docs lint-collection-docs \
|
|
--plugin-docs \
|
|
--validate-collection-refs self \
|
|
--skip-rstcheck \
|
|
.
|
|
|
|
clean:
|
|
git clean -xdf \
|
|
-e tests/integration/cloud-config-hcloud.ini
|