Server IP : 85.214.239.14 / Your IP : 18.117.91.170 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/root/usr/lib/python3/dist-packages/ansible_collections/vmware/vmware_rest/ |
Upload File : |
[tox] minversion = 1.4.2 envlist = linters skipsdist = True [testenv] deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt install_command = pip install {opts} {packages} [testenv:black] deps = black==19.10b0 click==8.0.2 commands = black {toxinidir}/plugins {toxinidir}/tests [testenv:add_docs] deps = git+https://github.com/ansible-network/collection_prep commands = collection_prep_add_docs -p . [testenv:refresh_modules] deps = git+https://github.com/ansible-collections/gouttelette git+https://github.com/ansible-collections/vmware_rest_code_generator black==19.10b0 click==8.0.2 commands = gouttelette-refresh-modules --target-dir . --collection vmware_rest {posargs} gouttelette-refresh-ignore-files --target-dir . black {toxinidir}/plugins {toxinidir}/tests echo "now you can update the RETURN block, see https://github.com/ansible-collections/vmware_rest_code_generator#how-to-refresh-the-vmwarevmware_rest-content" allowlist_externals = echo [testenv:build_manual] deps = -r{toxinidir}/docs-requirements.txt changedir = {toxinidir}/manual/source commands = sphinx-build -b rst {toxinidir}/manual/source {toxinidir}/docs/docsite/rst cp -v {toxinidir}/manual/source/guide_vmware_rest.rst {toxinidir}/docs/docsite/rst/ sphinx-build -c {toxinidir}/manual/source {toxinidir}/docs/docsite/rst {toxinidir}/manual/build bash -c "find {toxinidir}/docs/docsite/rst/vmware_rest_scenarios -type f -name '*.rst'|xargs -n1 sed -i 's,.. _ansible-collections-vmware-vmware-rest-docsite-,.. _ansible_collections.vmware.vmware_rest.docsite.,'" allowlist_externals = cp bash setenv = HOME = {env:HOME} VMWARE_HOST = {env:VMWARE_HOST} VMWARE_USER = {env:VMWARE_USER} VMWARE_PASSWORD = {env:VMWARE_PASSWORD} ESXI1_HOSTNAME = {env:ESXI1_HOSTNAME} ESXI1_USERNAME = {env:ESXI1_USERNAME} ESXI1_PASSWORD = {env:ESXI1_PASSWORD} ESXI2_HOSTNAME = {env:ESXI2_HOSTNAME} ESXI2_USERNAME = {env:ESXI2_USERNAME} ESXI2_PASSWORD = {env:ESXI2_PASSWORD} VMWARE_VALIDATE_CERTS = {env:VMWARE_VALIDATE_CERTS} [testenv:linters] deps = black==19.10b0 click==8.0.2 flake8 antsibull-changelog antsibull-docs commands = black -v --check {toxinidir}/plugins {toxinidir}/tests flake8 {posargs} {toxinidir}/plugins {toxinidir}/tests antsibull-changelog lint-changelog-yaml changelogs/changelog.yaml antsibull-docs lint-collection-docs . [testenv:antsibull-changelog] deps = antsibull-changelog commands = antsibull-changelog {posargs} [testenv:venv] commands = {posargs} [testenv:pytest] deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt pytest commands = mkdir -p {envdir}/lib/python3.7/site-packages/ansible_collections/ansible/vmware_rest cp -pr plugins {envdir}/lib/python3.7/site-packages/ansible_collections/ansible/vmware_rest py.test -v {posargs} whitelist_externals = mkdir cp touch [testenv:py36-sanity] deps = ansible commands = ansible-test sanity --debug --requirements --local --skip-test future-import-boilerplate --skip-test metaclass-boilerplate --python 3.6 setenv = HOME = /tmp [flake8] # E123, E125 skipped as they are invalid PEP-8. show-source = True ignore = E123,E125,E203,E402,E501,E741,F401,F811,F841,W503 max-line-length = 160 builtins = _ exclude = .git,.tox,tests/unit/compat/ [testenv:refresh-examples] deps = git+https://github.com/ansible-collections/gouttelette commands = gouttelette-refresh-examples --target-dir {toxinidir}