You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2022/06/04 16:14:39 UTC

[libcloud] branch trunk updated: Pin rstcheck to specific version, change flag name which has been renamed in restic 6.0.0.

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b8d3d3018 Pin rstcheck to specific version, change flag name which has been renamed in restic 6.0.0.
b8d3d3018 is described below

commit b8d3d30185e14a4dca36fc5bd8687278d69df630
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sat Jun 4 18:13:49 2022 +0200

    Pin rstcheck to specific version, change flag name which has been
    renamed in restic 6.0.0.
---
 tox.ini | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/tox.ini b/tox.ini
index d67ca7883..f40e8914d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -136,11 +136,11 @@ commands = bash -c "./scripts/dist_wheel_install_check.sh"
 [testenv:docs]
 deps = pyopenssl==21.0.0
        fasteners
-       rstcheck
+       rstcheck==6.0.0
        requests_mock
 changedir = docs
 commands = pip install sphinx==4.5.0
-           rstcheck --report warning ../CHANGES.rst
+           rstcheck --report-level warning ../CHANGES.rst
            python ../contrib/generate_provider_feature_matrix_table.py
            sphinx-apidoc -d 4 ../libcloud/ -o apidocs/
            /bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
@@ -152,14 +152,14 @@ commands = pip install sphinx==4.5.0
 # those API docs files are not included anywhere.
 deps = pyopenssl==21.0.0
        fasteners
-       rstcheck
+       rstcheck==6.0.0
        requests_mock
        # Pinned due to a bug in a newer version
 changedir = docs
 commands = pip install sphinx==4.5.0
-           rstcheck --report warning ../README.rst
-           rstcheck --report warning ../CHANGES.rst
-           rstcheck --report warning ../CONTRIBUTING.rst
+           rstcheck --report-level warning ../README.rst
+           rstcheck --report-level warning ../CHANGES.rst
+           rstcheck --report-level warning ../CONTRIBUTING.rst
            python ../contrib/generate_provider_feature_matrix_table.py
            /bin/bash -c "ls apidocs/modules.rst && (grep orphan apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
            # TODO: Add -W back when we fix all the warnings in docstrings
@@ -170,7 +170,7 @@ basepython: python3.7
 deps = typing
        pyopenssl==21.0.0
        fasteners
-       rstcheck
+       rstcheck==6.0.0
        requests
 commands = python ./contrib/generate_provider_feature_matrix_table.py
 
@@ -252,7 +252,7 @@ commands = pylint -E --load-plugins=pylint_plugins.driver_class --rcfile=./.pyli
 [testenv:lint]
 deps = -r{toxinidir}/requirements-tests.txt
        fasteners
-       rstcheck
+       rstcheck==6.0.0
 
 commands = flake8 --config ./.flake8 libcloud/
            flake8 --config ./.flake8 libcloud/test/
@@ -262,9 +262,9 @@ commands = flake8 --config ./.flake8 libcloud/
            flake8 --config ./.flake8 docs/examples/
            flake8 --config ./.flake8 contrib/
            python -mjson.tool libcloud/data/pricing.json /dev/null
-           rstcheck --report warning README.rst
-           rstcheck --report warning CHANGES.rst
-           rstcheck --report warning CONTRIBUTING.rst
+           rstcheck --report-level warning README.rst
+           rstcheck --report-level warning CHANGES.rst
+           rstcheck --report-level warning CONTRIBUTING.rst
 
 [testenv:black]
 deps = -r{toxinidir}/requirements-tests.txt