From 733d769bc04e4326378247150254d81abf39cd98 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 08:25:26 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/PyCQA/autoflake: v2.2.0 → v2.2.1](https://github.com/PyCQA/autoflake/compare/v2.2.0...v2.2.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 004193c..36cfc71 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/PyCQA/autoflake - rev: v2.2.0 + rev: v2.2.1 hooks: - id: autoflake args: ["--in-place", "--remove-unused-variables", "--remove-all-unused-imports"] From 470f4ee53cc64e0d5e2f849ac47565d06cac51f5 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 5 Sep 2023 07:18:11 -0300 Subject: [PATCH 2/3] Fix warn_on_impl parameter on newhooks.py --- src/xdist/newhooks.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/xdist/newhooks.py b/src/xdist/newhooks.py index 384cde7..44ea5d8 100644 --- a/src/xdist/newhooks.py +++ b/src/xdist/newhooks.py @@ -25,14 +25,18 @@ def pytest_xdist_newgateway(gateway): @pytest.hookspec( - warn_on_impl="rsync feature is deprecated and will be removed in pytest-xdist 4.0" + warn_on_impl=DeprecationWarning( + "rsync feature is deprecated and will be removed in pytest-xdist 4.0" + ) ) def pytest_xdist_rsyncstart(source, gateways): """called before rsyncing a directory to remote gateways takes place.""" @pytest.hookspec( - warn_on_impl="rsync feature is deprecated and will be removed in pytest-xdist 4.0" + warn_on_impl=DeprecationWarning( + "rsync feature is deprecated and will be removed in pytest-xdist 4.0" + ) ) def pytest_xdist_rsyncfinish(source, gateways): """called after rsyncing a directory to remote gateways takes place.""" From 49a1093574055708f693abd3ba597ef2c9ec60d3 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 5 Sep 2023 07:18:41 -0300 Subject: [PATCH 3/3] Add readthedocs configuration file -- now required --- .readthedocs.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..8bec8b5 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,13 @@ +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +sphinx: + configuration: docs/conf.py + +python: + install: + - path: .