mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-03 23:51:48 +00:00
chore: split dev requirement from runtime requirements (#650)
##### SUMMARY Some users seem to install their requirements using the file in the repository. This ensures they do not install our dev dependencies.
This commit is contained in:
parent
15829561f0
commit
ef6a9389dc
3 changed files with 10 additions and 11 deletions
2
Makefile
2
Makefile
|
|
@ -12,7 +12,7 @@ vendor-check:
|
||||||
|
|
||||||
venv:
|
venv:
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
venv/bin/pip install -r requirements.txt
|
venv/bin/pip install -r requirements.txt -r requirements-dev.txt
|
||||||
|
|
||||||
lint: venv
|
lint: venv
|
||||||
venv/bin/pylint plugins
|
venv/bin/pylint plugins
|
||||||
|
|
|
||||||
9
requirements-dev.txt
Normal file
9
requirements-dev.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
ansible-core>=2.17
|
||||||
|
|
||||||
|
# Third party collections requirements
|
||||||
|
netaddr
|
||||||
|
cryptography
|
||||||
|
|
||||||
|
# Development requirements
|
||||||
|
pylint
|
||||||
|
antsibull-docs>=2.17,<2.18
|
||||||
|
|
@ -1,12 +1,2 @@
|
||||||
ansible-core>=2.17
|
|
||||||
|
|
||||||
# Collections requirements
|
|
||||||
netaddr
|
|
||||||
cryptography
|
|
||||||
|
|
||||||
python-dateutil
|
python-dateutil
|
||||||
requests
|
requests
|
||||||
|
|
||||||
# Development requirements
|
|
||||||
pylint
|
|
||||||
antsibull-docs>=2.17,<2.18
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue