From 3384df1c9ef26663ca800054334fb4fb5829ffdc Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2019 08:46:05 +0200 Subject: [PATCH 01/55] :arrow_up: Bump isort from 4.3.20 to 4.3.21 (#10) Bumps [isort](https://github.com/timothycrosley/isort) from 4.3.20 to 4.3.21. - [Release notes](https://github.com/timothycrosley/isort/releases) - [Changelog](https://github.com/timothycrosley/isort/blob/develop/CHANGELOG.md) - [Commits](https://github.com/timothycrosley/isort/compare/4.3.20...4.3.21) Signed-off-by: dependabot-preview[bot] --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 39afeb89..c9d3fb18 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -2,7 +2,7 @@ aresponses==1.1.1 coverage==4.5.3 flake8==3.7.7 flake8-docstrings==1.5.0 -isort==4.3.20 +isort==4.3.21 mypy==0.701 pylint==2.4.3 pytest==5.2.1 From f6762a9c65176ffa3d4d1ddb26ff171d9b292902 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2019 08:46:31 +0200 Subject: [PATCH 02/55] :arrow_up: Bump sphinx from 2.0.1 to 2.2.0 (#11) Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 2.0.1 to 2.2.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v2.0.1...v2.2.0) Signed-off-by: dependabot-preview[bot] --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index fcbd0d7e..481b844b 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -3,7 +3,7 @@ black==19.3b0 blacken-docs==0.5.0 pip==19.1.1 pre-commit==1.16.1 -Sphinx==2.0.1 +Sphinx==2.2.0 twine==1.13.0 wheel==0.33.6 yamllint==1.15.0 From 526c43dfd1f6b9ebe6c3bbfb07c0115ca9f011c8 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2019 08:46:46 +0200 Subject: [PATCH 03/55] :arrow_up: Bump pip from 19.1.1 to 19.3.1 (#12) Bumps [pip](https://github.com/pypa/pip) from 19.1.1 to 19.3.1. - [Release notes](https://github.com/pypa/pip/releases) - [Changelog](https://github.com/pypa/pip/blob/master/NEWS.rst) - [Commits](https://github.com/pypa/pip/compare/19.1.1...19.3.1) Signed-off-by: dependabot-preview[bot] --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 481b844b..81c76e88 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,7 +1,7 @@ autopep8==1.4.4 black==19.3b0 blacken-docs==0.5.0 -pip==19.1.1 +pip==19.3.1 pre-commit==1.16.1 Sphinx==2.2.0 twine==1.13.0 From 30e929d800e26d21a542534900521160b9c810ad Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2019 08:47:29 +0200 Subject: [PATCH 04/55] :arrow_up: Bump yamllint from 1.15.0 to 1.18.0 (#14) Bumps [yamllint](https://github.com/adrienverge/yamllint) from 1.15.0 to 1.18.0. - [Release notes](https://github.com/adrienverge/yamllint/releases) - [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst) - [Commits](https://github.com/adrienverge/yamllint/compare/v1.15.0...v1.18.0) Signed-off-by: dependabot-preview[bot] --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 81c76e88..0a3d7128 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -6,4 +6,4 @@ pre-commit==1.16.1 Sphinx==2.2.0 twine==1.13.0 wheel==0.33.6 -yamllint==1.15.0 +yamllint==1.18.0 From 1f94d3fd3a061d2419072c25f6003034da188ca0 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2019 09:08:25 +0200 Subject: [PATCH 05/55] :arrow_up: Bump blacken-docs from 0.5.0 to 1.3.0 (#13) Bumps [blacken-docs](https://github.com/asottile/blacken-docs) from 0.5.0 to 1.3.0. - [Release notes](https://github.com/asottile/blacken-docs/releases) - [Commits](https://github.com/asottile/blacken-docs/compare/v0.5.0...v1.3.0) Signed-off-by: dependabot-preview[bot] --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 0a3d7128..f5881115 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,6 +1,6 @@ autopep8==1.4.4 black==19.3b0 -blacken-docs==0.5.0 +blacken-docs==1.3.0 pip==19.3.1 pre-commit==1.16.1 Sphinx==2.2.0 From 78d4734390ad3f1050a2e93038ae3ca2249bec33 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2019 10:05:28 +0200 Subject: [PATCH 06/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20mypy=20from?= =?UTF-8?q?=200.701=20to=200.740=20(#19)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [mypy](https://github.com/python/mypy) from 0.701 to 0.740. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.701...v0.740) Signed-off-by: dependabot-preview[bot] --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index c9d3fb18..2e4f6acf 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -3,7 +3,7 @@ coverage==4.5.3 flake8==3.7.7 flake8-docstrings==1.5.0 isort==4.3.21 -mypy==0.701 +mypy==0.740 pylint==2.4.3 pytest==5.2.1 pytest-asyncio==0.10.0 From ce9451946dde89f12b4a3544a42416f6f64c832b Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2019 10:08:08 +0200 Subject: [PATCH 07/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20twine=20from?= =?UTF-8?q?=201.13.0=20to=202.0.0=20(#18)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [twine](https://github.com/pypa/twine) from 1.13.0 to 2.0.0. - [Release notes](https://github.com/pypa/twine/releases) - [Changelog](https://github.com/pypa/twine/blob/master/docs/changelog.rst) - [Commits](https://github.com/pypa/twine/compare/1.13.0...2.0.0) Signed-off-by: dependabot-preview[bot] --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index f5881115..493ec479 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -4,6 +4,6 @@ blacken-docs==1.3.0 pip==19.3.1 pre-commit==1.16.1 Sphinx==2.2.0 -twine==1.13.0 +twine==2.0.0 wheel==0.33.6 yamllint==1.18.0 From 6507200badba9f7c00dda179134460517b17ff90 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2019 10:10:46 +0200 Subject: [PATCH 08/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20flake8=20from?= =?UTF-8?q?=203.7.7=20to=203.7.8=20(#17)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.7.7 to 3.7.8. - [Release notes](https://gitlab.com/pycqa/flake8/tags) - [Commits](https://gitlab.com/pycqa/flake8/compare/3.7.7...3.7.8) Signed-off-by: dependabot-preview[bot] --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 2e4f6acf..3858048c 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,6 +1,6 @@ aresponses==1.1.1 coverage==4.5.3 -flake8==3.7.7 +flake8==3.7.8 flake8-docstrings==1.5.0 isort==4.3.21 mypy==0.740 From 76b4cb81f31a23fa58a1654e31dda5f89a7d895f Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2019 10:13:35 +0200 Subject: [PATCH 09/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20pre-commit=20?= =?UTF-8?q?from=201.16.1=20to=201.18.3=20(#15)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 1.16.1 to 1.18.3. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v1.16.1...v1.18.3) Signed-off-by: dependabot-preview[bot] --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 493ec479..ac8569ec 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -2,7 +2,7 @@ autopep8==1.4.4 black==19.3b0 blacken-docs==1.3.0 pip==19.3.1 -pre-commit==1.16.1 +pre-commit==1.18.3 Sphinx==2.2.0 twine==2.0.0 wheel==0.33.6 From 47e6bf57f4fc8c686081363bf49fbc0cdcfd3d23 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2019 10:19:59 +0200 Subject: [PATCH 10/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20coverage=20fr?= =?UTF-8?q?om=204.5.3=20to=204.5.4=20(#16)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [coverage](https://github.com/nedbat/coveragepy) from 4.5.3 to 4.5.4. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/coverage-4.5.3...coverage-4.5.4) Signed-off-by: dependabot-preview[bot] --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 3858048c..5b292f61 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,5 +1,5 @@ aresponses==1.1.1 -coverage==4.5.3 +coverage==4.5.4 flake8==3.7.8 flake8-docstrings==1.5.0 isort==4.3.21 From 07fdb060ef30154a1e87d1516c907ba988bc1190 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2019 10:33:48 +0200 Subject: [PATCH 11/55] :arrow_up: Bump aiohttp from 3.5.4 to 3.6.2 (#21) Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.5.4 to 3.6.2. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/aiohttp/compare/v3.5.4...v3.6.2) Signed-off-by: dependabot-preview[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b6d446ac..e2060c64 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -aiohttp==3.5.4 +aiohttp==3.6.2 yarl==1.3.0 From 4ab141ded3779d110967ebff716ed913f4abf07c Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2019 10:34:08 +0200 Subject: [PATCH 12/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20pytest-cov=20?= =?UTF-8?q?from=202.7.1=20to=202.8.1=20(#20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.7.1 to 2.8.1. - [Release notes](https://github.com/pytest-dev/pytest-cov/releases) - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.7.1...v2.8.1) Signed-off-by: dependabot-preview[bot] --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 5b292f61..51de1fca 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -7,5 +7,5 @@ mypy==0.740 pylint==2.4.3 pytest==5.2.1 pytest-asyncio==0.10.0 -pytest-cov==2.7.1 +pytest-cov==2.8.1 tox==3.14.0 From 7963cfbffdb35164af697e56c0be85713a1b2cf2 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2019 10:12:02 +0200 Subject: [PATCH 13/55] :arrow_up: Bump pytest from 5.2.1 to 5.2.2 (#22) Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.2.1 to 5.2.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/5.2.1...5.2.2) Signed-off-by: dependabot-preview[bot] --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 51de1fca..e782eeff 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -5,7 +5,7 @@ flake8-docstrings==1.5.0 isort==4.3.21 mypy==0.740 pylint==2.4.3 -pytest==5.2.1 +pytest==5.2.2 pytest-asyncio==0.10.0 pytest-cov==2.8.1 tox==3.14.0 From 160e6b9fde956570fa2abd1023757aac6016489b Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 26 Oct 2019 13:31:50 +0200 Subject: [PATCH 14/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20sphinx=20from?= =?UTF-8?q?=202.2.0=20to=202.2.1=20(#23)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 2.2.0 to 2.2.1. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v2.2.0...v2.2.1) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index ac8569ec..6e022507 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -3,7 +3,7 @@ black==19.3b0 blacken-docs==1.3.0 pip==19.3.1 pre-commit==1.18.3 -Sphinx==2.2.0 +Sphinx==2.2.1 twine==2.0.0 wheel==0.33.6 yamllint==1.18.0 From 995f938790732798cde914d58053c515dea73f00 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2019 13:59:55 +0100 Subject: [PATCH 15/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20pre-commit=20?= =?UTF-8?q?from=201.18.3=20to=201.19.0=20(#24)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 1.18.3 to 1.19.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v1.18.3...v1.19.0) Signed-off-by: dependabot-preview[bot] --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 6e022507..29e183aa 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -2,7 +2,7 @@ autopep8==1.4.4 black==19.3b0 blacken-docs==1.3.0 pip==19.3.1 -pre-commit==1.18.3 +pre-commit==1.19.0 Sphinx==2.2.1 twine==2.0.0 wheel==0.33.6 From 6b06bb2ab63bd7c2bdbb9e1aca7d06c24a1a5981 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2019 09:38:26 +0100 Subject: [PATCH 16/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20pre-commit=20?= =?UTF-8?q?from=201.19.0=20to=201.20.0=20(#26)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 1.19.0 to 1.20.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v1.19.0...v1.20.0) Signed-off-by: dependabot-preview[bot] --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 29e183aa..e005c065 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -2,7 +2,7 @@ autopep8==1.4.4 black==19.3b0 blacken-docs==1.3.0 pip==19.3.1 -pre-commit==1.19.0 +pre-commit==1.20.0 Sphinx==2.2.1 twine==2.0.0 wheel==0.33.6 From f70e8560045347216ca95bf6e76308d87d18d89d Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2019 09:39:05 +0100 Subject: [PATCH 17/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20flake8=20from?= =?UTF-8?q?=203.7.8=20to=203.7.9=20(#25)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.7.8 to 3.7.9. - [Release notes](https://gitlab.com/pycqa/flake8/tags) - [Commits](https://gitlab.com/pycqa/flake8/compare/3.7.8...3.7.9) Signed-off-by: dependabot-preview[bot] --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index e782eeff..bb138090 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,6 +1,6 @@ aresponses==1.1.1 coverage==4.5.4 -flake8==3.7.8 +flake8==3.7.9 flake8-docstrings==1.5.0 isort==4.3.21 mypy==0.740 From 749309ecd808e4eee20fff4b0c4996d4e135dad9 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2019 11:11:38 +0100 Subject: [PATCH 18/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20black=20from?= =?UTF-8?q?=2019.3b0=20to=2019.10b0=20(#27)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [black](https://github.com/psf/black) from 19.3b0 to 19.10b0. - [Release notes](https://github.com/psf/black/releases) - [Commits](https://github.com/psf/black/commits) Signed-off-by: dependabot-preview[bot] --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index e005c065..175274f6 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,5 +1,5 @@ autopep8==1.4.4 -black==19.3b0 +black==19.10b0 blacken-docs==1.3.0 pip==19.3.1 pre-commit==1.20.0 From c9a79821b6e7d886694eb23139def58aaf3ac033 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 16 Nov 2019 17:27:32 +0100 Subject: [PATCH 19/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20pytest=20from?= =?UTF-8?q?=205.2.2=20to=205.2.4=20(#31)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.2.2 to 5.2.4. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/5.2.2...5.2.4) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index bb138090..255a1f40 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -5,7 +5,7 @@ flake8-docstrings==1.5.0 isort==4.3.21 mypy==0.740 pylint==2.4.3 -pytest==5.2.2 +pytest==5.2.4 pytest-asyncio==0.10.0 pytest-cov==2.8.1 tox==3.14.0 From f4c953511ccec21c3352ef78bd86623c4bf92d0e Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 16 Nov 2019 18:19:43 +0100 Subject: [PATCH 20/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20pylint=20from?= =?UTF-8?q?=202.4.3=20to=202.4.4=20(#29)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pylint](https://github.com/PyCQA/pylint) from 2.4.3 to 2.4.4. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.4.3...pylint-2.4.4) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 255a1f40..46cbb282 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -4,7 +4,7 @@ flake8==3.7.9 flake8-docstrings==1.5.0 isort==4.3.21 mypy==0.740 -pylint==2.4.3 +pylint==2.4.4 pytest==5.2.4 pytest-asyncio==0.10.0 pytest-cov==2.8.1 From affe01ce234880d2dd404a9a88ba40f590cd7ed3 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 16 Nov 2019 18:19:50 +0100 Subject: [PATCH 21/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20tox=20from=20?= =?UTF-8?q?3.14.0=20to=203.14.1=20(#28)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [tox](https://github.com/tox-dev/tox) from 3.14.0 to 3.14.1. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/master/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/3.14.0...3.14.1) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 46cbb282..646eedd6 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -8,4 +8,4 @@ pylint==2.4.4 pytest==5.2.4 pytest-asyncio==0.10.0 pytest-cov==2.8.1 -tox==3.14.0 +tox==3.14.1 From 7f360dde5527fa4a9689018f953abb5072678144 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2019 22:26:00 +0100 Subject: [PATCH 22/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20twine=20from?= =?UTF-8?q?=202.0.0=20to=203.0.0=20(#32)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [twine](https://github.com/pypa/twine) from 2.0.0 to 3.0.0. - [Release notes](https://github.com/pypa/twine/releases) - [Changelog](https://github.com/pypa/twine/blob/master/docs/changelog.rst) - [Commits](https://github.com/pypa/twine/commits) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 175274f6..b0454222 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -4,6 +4,6 @@ blacken-docs==1.3.0 pip==19.3.1 pre-commit==1.20.0 Sphinx==2.2.1 -twine==2.0.0 +twine==3.0.0 wheel==0.33.6 yamllint==1.18.0 From c839802009851d67a1e90275b84ede9bd2b8c920 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2019 12:20:58 +0100 Subject: [PATCH 23/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20yamllint=20fr?= =?UTF-8?q?om=201.18.0=20to=201.19.0=20(#33)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [yamllint](https://github.com/adrienverge/yamllint) from 1.18.0 to 1.19.0. - [Release notes](https://github.com/adrienverge/yamllint/releases) - [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst) - [Commits](https://github.com/adrienverge/yamllint/compare/v1.18.0...v1.19.0) Signed-off-by: dependabot-preview[bot] --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index b0454222..1727fce9 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -6,4 +6,4 @@ pre-commit==1.20.0 Sphinx==2.2.1 twine==3.0.0 wheel==0.33.6 -yamllint==1.18.0 +yamllint==1.19.0 From 4f2ee76017c2a6c0ec2950948c09fa305cfbd006 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 19 Nov 2019 23:10:42 +0100 Subject: [PATCH 24/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20pytest=20from?= =?UTF-8?q?=205.2.4=20to=205.3.0=20(#34)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.2.4 to 5.3.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/5.3.0/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/5.2.4...5.3.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 646eedd6..9dd82df7 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -5,7 +5,7 @@ flake8-docstrings==1.5.0 isort==4.3.21 mypy==0.740 pylint==2.4.4 -pytest==5.2.4 +pytest==5.3.0 pytest-asyncio==0.10.0 pytest-cov==2.8.1 tox==3.14.1 From 82ed623bad9ea9d8da00bb27ac969829cfc1e997 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 23 Nov 2019 14:13:40 +0100 Subject: [PATCH 25/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20twine=20from?= =?UTF-8?q?=203.0.0=20to=203.1.0=20(#35)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [twine](https://github.com/pypa/twine) from 3.0.0 to 3.1.0. - [Release notes](https://github.com/pypa/twine/releases) - [Changelog](https://github.com/pypa/twine/blob/master/docs/changelog.rst) - [Commits](https://github.com/pypa/twine/compare/3.0.0...3.1.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 1727fce9..a5538978 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -4,6 +4,6 @@ blacken-docs==1.3.0 pip==19.3.1 pre-commit==1.20.0 Sphinx==2.2.1 -twine==3.0.0 +twine==3.1.0 wheel==0.33.6 yamllint==1.19.0 From 8815d884d1a72bea9d9cf974d301e0596308118d Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 26 Nov 2019 17:08:23 +0100 Subject: [PATCH 26/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20pytest=20from?= =?UTF-8?q?=205.3.0=20to=205.3.1=20(#36)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.3.0 to 5.3.1. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/5.3.0...5.3.1) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 9dd82df7..7b099755 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -5,7 +5,7 @@ flake8-docstrings==1.5.0 isort==4.3.21 mypy==0.740 pylint==2.4.4 -pytest==5.3.0 +pytest==5.3.1 pytest-asyncio==0.10.0 pytest-cov==2.8.1 tox==3.14.1 From 7bce4ed0f77216521373599b46f23a0631518296 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 27 Nov 2019 23:47:32 +0100 Subject: [PATCH 27/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20twine=20from?= =?UTF-8?q?=203.1.0=20to=203.1.1=20(#37)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [twine](https://github.com/pypa/twine) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/pypa/twine/releases) - [Changelog](https://github.com/pypa/twine/blob/master/docs/changelog.rst) - [Commits](https://github.com/pypa/twine/compare/3.1.0...3.1.1) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index a5538978..42cea335 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -4,6 +4,6 @@ blacken-docs==1.3.0 pip==19.3.1 pre-commit==1.20.0 Sphinx==2.2.1 -twine==3.1.0 +twine==3.1.1 wheel==0.33.6 yamllint==1.19.0 From 8fee00b5aa6218a42fc2833eb725ce00c1c6e659 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2019 20:03:21 +0100 Subject: [PATCH 28/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20yarl=20from?= =?UTF-8?q?=201.3.0=20to=201.4.1=20(#39)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [yarl](https://github.com/aio-libs/yarl) from 1.3.0 to 1.4.1. - [Release notes](https://github.com/aio-libs/yarl/releases) - [Changelog](https://github.com/aio-libs/yarl/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/yarl/compare/v1.3.0...v1.4.1) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index e2060c64..65d4bf66 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ aiohttp==3.6.2 -yarl==1.3.0 +yarl==1.4.1 From fcba60a8a629cce0911877aff0c7116083958f3c Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2019 21:48:31 +0100 Subject: [PATCH 29/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20mypy=20from?= =?UTF-8?q?=200.740=20to=200.750=20(#40)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [mypy](https://github.com/python/mypy) from 0.740 to 0.750. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.740...v0.750) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 7b099755..71f8da7d 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -3,7 +3,7 @@ coverage==4.5.4 flake8==3.7.9 flake8-docstrings==1.5.0 isort==4.3.21 -mypy==0.740 +mypy==0.750 pylint==2.4.4 pytest==5.3.1 pytest-asyncio==0.10.0 From 2d33999526bb9738239b06e33b06e92efa8d5abe Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2019 17:35:31 +0100 Subject: [PATCH 30/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20sphinx=20from?= =?UTF-8?q?=202.2.1=20to=202.2.2=20(#41)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v2.2.1...v2.2.2) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 42cea335..23b43abe 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -3,7 +3,7 @@ black==19.10b0 blacken-docs==1.3.0 pip==19.3.1 pre-commit==1.20.0 -Sphinx==2.2.1 +Sphinx==2.2.2 twine==3.1.1 wheel==0.33.6 yamllint==1.19.0 From cc7971e0149bfa450897cf4eab40355771342159 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2019 20:54:39 +0100 Subject: [PATCH 31/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20tox=20from=20?= =?UTF-8?q?3.14.1=20to=203.14.2=20(#42)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [tox](https://github.com/tox-dev/tox) from 3.14.1 to 3.14.2. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/3.14.2/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/3.14.1...3.14.2) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 71f8da7d..ab3cb5d9 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -8,4 +8,4 @@ pylint==2.4.4 pytest==5.3.1 pytest-asyncio==0.10.0 pytest-cov==2.8.1 -tox==3.14.1 +tox==3.14.2 From 013911b70bf730c7905f00646771dcf99e3c58ac Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2019 08:45:59 +0100 Subject: [PATCH 32/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20yarl=20from?= =?UTF-8?q?=201.4.1=20to=201.4.2=20(#43)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [yarl](https://github.com/aio-libs/yarl) from 1.4.1 to 1.4.2. - [Release notes](https://github.com/aio-libs/yarl/releases) - [Changelog](https://github.com/aio-libs/yarl/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/yarl/compare/v1.4.1...v1.4.2) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 65d4bf66..dc26d41a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ aiohttp==3.6.2 -yarl==1.4.1 +yarl==1.4.2 From 1e4c4c55f1d850feb35d8eb3cad27ab9ebc4792d Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 7 Dec 2019 10:31:24 +0100 Subject: [PATCH 33/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20blacken-docs?= =?UTF-8?q?=20from=201.3.0=20to=201.4.0=20(#44)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [blacken-docs](https://github.com/asottile/blacken-docs) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/asottile/blacken-docs/releases) - [Commits](https://github.com/asottile/blacken-docs/compare/v1.3.0...v1.4.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 23b43abe..802e5a58 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,6 +1,6 @@ autopep8==1.4.4 black==19.10b0 -blacken-docs==1.3.0 +blacken-docs==1.4.0 pip==19.3.1 pre-commit==1.20.0 Sphinx==2.2.2 From 2b4805cd910069a9a692ace22afc8cc815d2201f Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sun, 8 Dec 2019 23:29:44 +0100 Subject: [PATCH 34/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20aresponses=20?= =?UTF-8?q?from=201.1.1=20to=201.1.2=20(#45)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [aresponses](https://github.com/circleup/aresponses) from 1.1.1 to 1.1.2. - [Release notes](https://github.com/circleup/aresponses/releases) - [Commits](https://github.com/circleup/aresponses/compare/1.1.1...1.1.2) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index ab3cb5d9..00d73fe1 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,4 +1,4 @@ -aresponses==1.1.1 +aresponses==1.1.2 coverage==4.5.4 flake8==3.7.9 flake8-docstrings==1.5.0 From 578ebbc20efaedda48a9c15c513d3a8fefbf483c Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2019 17:12:05 +0100 Subject: [PATCH 35/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20pytest=20from?= =?UTF-8?q?=205.3.1=20to=205.3.2=20(#46)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pytest](https://github.com/pytest-dev/pytest) from 5.3.1 to 5.3.2. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/5.3.1...5.3.2) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 00d73fe1..59568dfb 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -5,7 +5,7 @@ flake8-docstrings==1.5.0 isort==4.3.21 mypy==0.750 pylint==2.4.4 -pytest==5.3.1 +pytest==5.3.2 pytest-asyncio==0.10.0 pytest-cov==2.8.1 tox==3.14.2 From 52d47dc96b175dfc68a4a22f208efa3a3f8a3858 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2019 17:28:45 +0100 Subject: [PATCH 36/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20coverage=20fr?= =?UTF-8?q?om=204.5.4=20to=205.0=20(#47)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [coverage](https://github.com/nedbat/coveragepy) from 4.5.4 to 5.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/coverage-4.5.4...coverage-5.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 59568dfb..df2d1d7a 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,5 +1,5 @@ aresponses==1.1.2 -coverage==4.5.4 +coverage==5.0 flake8==3.7.9 flake8-docstrings==1.5.0 isort==4.3.21 From c52c3c699afd47a4c7123adbcb9366dc964b1536 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sun, 15 Dec 2019 17:39:27 +0100 Subject: [PATCH 37/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20sphinx=20from?= =?UTF-8?q?=202.2.2=20to=202.3.0=20(#48)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 2.2.2 to 2.3.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v2.2.2...v2.3.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 802e5a58..4c21a904 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -3,7 +3,7 @@ black==19.10b0 blacken-docs==1.4.0 pip==19.3.1 pre-commit==1.20.0 -Sphinx==2.2.2 +Sphinx==2.3.0 twine==3.1.1 wheel==0.33.6 yamllint==1.19.0 From 74ba31d4fb90dbc0966f7bb5330e9b1699d9079c Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2019 10:11:22 +0100 Subject: [PATCH 38/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20mypy=20from?= =?UTF-8?q?=200.750=20to=200.760=20(#49)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [mypy](https://github.com/python/mypy) from 0.750 to 0.760. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.750...v0.760) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index df2d1d7a..23dc53ac 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -3,7 +3,7 @@ coverage==5.0 flake8==3.7.9 flake8-docstrings==1.5.0 isort==4.3.21 -mypy==0.750 +mypy==0.760 pylint==2.4.4 pytest==5.3.2 pytest-asyncio==0.10.0 From 56ec4192a754fa4d46ba3846a403f74d04db20ee Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2019 10:23:29 +0100 Subject: [PATCH 39/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20mypy=20from?= =?UTF-8?q?=200.760=20to=200.761=20(#50)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [mypy](https://github.com/python/mypy) from 0.760 to 0.761. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.760...v0.761) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 23dc53ac..4e19d119 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -3,7 +3,7 @@ coverage==5.0 flake8==3.7.9 flake8-docstrings==1.5.0 isort==4.3.21 -mypy==0.760 +mypy==0.761 pylint==2.4.4 pytest==5.3.2 pytest-asyncio==0.10.0 From 2d5ead77c8f1604a7ec04d1123c782627d254846 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sun, 22 Dec 2019 16:46:14 +0100 Subject: [PATCH 40/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20sphinx=20from?= =?UTF-8?q?=202.3.0=20to=202.3.1=20(#51)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 2.3.0 to 2.3.1. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v2.3.0...v2.3.1) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 4c21a904..e2dcab2d 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -3,7 +3,7 @@ black==19.10b0 blacken-docs==1.4.0 pip==19.3.1 pre-commit==1.20.0 -Sphinx==2.3.0 +Sphinx==2.3.1 twine==3.1.1 wheel==0.33.6 yamllint==1.19.0 From 099f506ba13b190e4f8cf153b763981cf01360d4 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2019 11:11:13 +0100 Subject: [PATCH 41/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20coverage=20fr?= =?UTF-8?q?om=205.0=20to=205.0.1=20(#52)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.0 to 5.0.1. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/coverage-5.0...coverage-5.0.1) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 4e19d119..59fc407b 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,5 +1,5 @@ aresponses==1.1.2 -coverage==5.0 +coverage==5.0.1 flake8==3.7.9 flake8-docstrings==1.5.0 isort==4.3.21 From b89fcb5d57088d9483c9ed33827052b9b6fc55b4 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 27 Dec 2019 10:48:00 +0100 Subject: [PATCH 42/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20yamllint=20fr?= =?UTF-8?q?om=201.19.0=20to=201.20.0=20(#53)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [yamllint](https://github.com/adrienverge/yamllint) from 1.19.0 to 1.20.0. - [Release notes](https://github.com/adrienverge/yamllint/releases) - [Changelog](https://github.com/adrienverge/yamllint/blob/master/CHANGELOG.rst) - [Commits](https://github.com/adrienverge/yamllint/compare/v1.19.0...v1.20.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index e2dcab2d..6e756099 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -6,4 +6,4 @@ pre-commit==1.20.0 Sphinx==2.3.1 twine==3.1.1 wheel==0.33.6 -yamllint==1.19.0 +yamllint==1.20.0 From 12e266c59c551ad1dcf25f3904a8a63679e5193a Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 28 Dec 2019 16:50:36 +0100 Subject: [PATCH 43/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20tox=20from=20?= =?UTF-8?q?3.14.2=20to=203.14.3=20(#54)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [tox](https://github.com/tox-dev/tox) from 3.14.2 to 3.14.3. - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/3.14.3/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/3.14.2...3.14.3) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 59fc407b..950bfbb1 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -8,4 +8,4 @@ pylint==2.4.4 pytest==5.3.2 pytest-asyncio==0.10.0 pytest-cov==2.8.1 -tox==3.14.2 +tox==3.14.3 From 86f5b70a69bdabefb2d58f63b11d0cd983b4b473 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 2 Jan 2020 19:26:14 +0100 Subject: [PATCH 44/55] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20pre-commit=20?= =?UTF-8?q?from=201.20.0=20to=201.21.0=20(#55)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 1.20.0 to 1.21.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v1.20.0...v1.21.0) Signed-off-by: dependabot-preview[bot] Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com> --- requirements_dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 6e756099..4ae0abdd 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -2,7 +2,7 @@ autopep8==1.4.4 black==19.10b0 blacken-docs==1.4.0 pip==19.3.1 -pre-commit==1.20.0 +pre-commit==1.21.0 Sphinx==2.3.1 twine==3.1.1 wheel==0.33.6 From 35f74a0725eb7d9a409a3400541750561cd0b716 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Jan 2020 17:40:31 +0100 Subject: [PATCH 45/55] :fireworks: Updates maintenance/license year to 2020 --- LICENSE.md | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 05c00f7a..9344a088 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # MIT License -Copyright (c) 2019 Franck Nijhof +Copyright (c) 2019-2020 Franck Nijhof Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index d24e16fb..042766cc 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ check [the contributor's page][contributors]. MIT License -Copyright (c) 2019 Franck Nijhof +Copyright (c) 2019-2020 Franck Nijhof Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -166,7 +166,7 @@ SOFTWARE. [frenck]: https://github.com/frenck [keepchangelog]: http://keepachangelog.com/en/1.0.0/ [license-shield]: https://img.shields.io/github/license/frenck/python-adguardhome.svg -[maintenance-shield]: https://img.shields.io/maintenance/yes/2019.svg +[maintenance-shield]: https://img.shields.io/maintenance/yes/2020.svg [patreon-shield]: https://www.frenck.nl/images/patreon.png [patreon]: https://www.patreon.com/frenck [project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg From 2b550f5d88fef114724c15530237d55355d4270f Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Jan 2020 17:43:26 +0100 Subject: [PATCH 46/55] :pencil2: Funding adjustments --- .github/FUNDING.yml | 3 +-- README.md | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 1a4828d0..7f95bd45 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,5 +1,4 @@ --- -# github: frenck +github: frenck patreon: frenck -ko_fi: frenck custom: https://frenck.dev/donate/ diff --git a/README.md b/README.md index 042766cc..ddea1794 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@ [![Code Coverage][codecov-shield]][codecov] [![Code Quality][code-quality-shield]][code-quality] -[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee] +[![Sponsor Frenck via GitHub Sponsors][github-sponsors-shield]][github-sponsors] -[![Support my work on Patreon][patreon-shield]][patreon] +[![Support Frenck on Patreon][patreon-shield]][patreon] Asynchronous Python client for the AdGuard Home API. @@ -156,18 +156,18 @@ SOFTWARE. [build-shield]: https://github.com/frenck/python-adguardhome/workflows/Continuous%20Integration/badge.svg [build]: https://github.com/frenck/python-adguardhome/actions -[buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg -[buymeacoffee]: https://www.buymeacoffee.com/frenck [code-quality-shield]: https://img.shields.io/lgtm/grade/python/g/frenck/python-adguardhome.svg?logo=lgtm&logoWidth=18 [code-quality]: https://lgtm.com/projects/g/frenck/python-adguardhome/context:python [codecov-shield]: https://codecov.io/gh/frenck/python-adguardhome/branch/master/graph/badge.svg [codecov]: https://codecov.io/gh/frenck/python-adguardhome [contributors]: https://github.com/frenck/python-adguardhome/graphs/contributors [frenck]: https://github.com/frenck +[github-sponsors-shield]: https://frenck.dev/wp-content/uploads/2019/12/github_sponsor.png +[github-sponsors]: https://github.com/sponsors/frenck [keepchangelog]: http://keepachangelog.com/en/1.0.0/ [license-shield]: https://img.shields.io/github/license/frenck/python-adguardhome.svg [maintenance-shield]: https://img.shields.io/maintenance/yes/2020.svg -[patreon-shield]: https://www.frenck.nl/images/patreon.png +[patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon]: https://www.patreon.com/frenck [project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg [releases-shield]: https://img.shields.io/github/release/frenck/python-adguardhome.svg From bfae5f693f7b27e260984c8b287e1e1a7af9ec6b Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Jan 2020 17:45:36 +0100 Subject: [PATCH 47/55] :arrow_up: Upgrade all pre-commit deps --- .pre-commit-config.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ebe94768..6dd35a9d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,17 +1,17 @@ --- repos: - repo: https://github.com/ambv/black - rev: 19.3b0 + rev: 19.10b0 hooks: - id: black args: [--safe, --quiet, --target-version, py35] - repo: https://github.com/asottile/blacken-docs - rev: v0.5.0 + rev: v1.4.0 hooks: - id: blacken-docs additional_dependencies: [black==19.3b0] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.2.3 + rev: v2.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -26,7 +26,7 @@ repos: - id: check-executables-have-shebangs - id: fix-encoding-pragma - repo: https://github.com/pre-commit/pre-commit - rev: v1.14.4 + rev: v1.21.0 hooks: - id: validate_manifest - repo: https://github.com/pre-commit/mirrors-autopep8 @@ -34,23 +34,23 @@ repos: hooks: - id: autopep8 - repo: https://github.com/pre-commit/mirrors-isort - rev: v4.3.20 + rev: v4.3.21 hooks: - id: isort - repo: https://github.com/pre-commit/mirrors-pylint - rev: v2.3.1 + rev: v2.4.4 hooks: - id: pylint - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.701 + rev: v0.761 hooks: - id: mypy - repo: https://gitlab.com/pycqa/flake8 - rev: 3.7.7 + rev: 3.7.9 hooks: - id: flake8 additional_dependencies: ["flake8-docstrings"] - repo: https://github.com/adrienverge/yamllint.git - sha: v1.15.0 + sha: v1.20.0 hooks: - id: yamllint From 20462baac5570bce33f4e1ea443408cfc60aa6a1 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Jan 2020 17:46:04 +0100 Subject: [PATCH 48/55] :sparkles: Add pyupgrade pre-commit hook --- .pre-commit-config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6dd35a9d..47cb85f5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,3 +54,7 @@ repos: sha: v1.20.0 hooks: - id: yamllint + - repo: https://github.com/asottile/pyupgrade + rev: v1.25.2 + hooks: + - id: pyupgrade From 31294235455066a60c3f7d37c95c58ef9649a6ef Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Jan 2020 17:46:45 +0100 Subject: [PATCH 49/55] :fire: Remove unused Sphinx --- requirements_dev.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 4ae0abdd..7109c4a1 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -3,7 +3,6 @@ black==19.10b0 blacken-docs==1.4.0 pip==19.3.1 pre-commit==1.21.0 -Sphinx==2.3.1 twine==3.1.1 wheel==0.33.6 yamllint==1.20.0 From bfe995f5a5ed88a8958a6b59f8c5b530dae76063 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Jan 2020 17:47:42 +0100 Subject: [PATCH 50/55] :fire: Remove unused tox --- Makefile | 5 ----- README.md | 1 - requirements_test.txt | 1 - tox.ini | 27 --------------------------- 4 files changed, 34 deletions(-) delete mode 100644 tox.ini diff --git a/Makefile b/Makefile index 889e3b8a..4cc5656b 100644 --- a/Makefile +++ b/Makefile @@ -85,7 +85,6 @@ clean-pyc: ## Removes Python file artifacts. .PHONY: clean-test clean-test: ## Removes test and coverage artifacts. - rm -fr .tox/; \ rm -f .coverage; \ rm -fr htmlcov/; \ rm -fr .pytest_cache; @@ -104,10 +103,6 @@ dist: clean ## Builds source and wheel package. release: ## Release build on PyP twine upload dist/* -.PHONY: tox -tox: ## Run tests on every Python version with tox. - tox - .PHONY: venv venv: clean-venv ## Create Python venv environment. python3 -m venv venv; diff --git a/README.md b/README.md index ddea1794..e8d0ba70 100644 --- a/README.md +++ b/README.md @@ -119,7 +119,6 @@ Usage: make clean-venv Removes Python virtual environment artifacts. make dist Builds source and wheel package. make release Release build on PyP - make tox Run tests on every Python version with tox. make venv Create Python venv environment. ``` diff --git a/requirements_test.txt b/requirements_test.txt index 950bfbb1..60009f17 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -8,4 +8,3 @@ pylint==2.4.4 pytest==5.3.2 pytest-asyncio==0.10.0 pytest-cov==2.8.1 -tox==3.14.3 diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 436004b2..00000000 --- a/tox.ini +++ /dev/null @@ -1,27 +0,0 @@ -[tox] -envlist = py36,py37,flake8,pylint,flake8 -skip_missing_interpreters = True - -[testenv] -commands = pytest . -deps= - -r{toxinidir}/requirements.txt - -r{toxinidir}/requirements_test.txt - -[testenv:flake8] -commands=flake8 adguardhome -deps= - -r{toxinidir}/requirements.txt - -r{toxinidir}/requirements_test.txt - -[testenv:pylint] -commands=pylint adguardhome -deps= - -r{toxinidir}/requirements.txt - -r{toxinidir}/requirements_test.txt - -[testenv:mypy] -commands=mypy adguardhome -deps= - -r{toxinidir}/requirements.txt - -r{toxinidir}/requirements_test.txt From 3f71a34d69c772ff44255b1adf6bbe651d1a0f2d Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Jan 2020 17:48:45 +0100 Subject: [PATCH 51/55] :hammer: Add Python 3.8, drop Python 3.6 --- .github/workflows/ci.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93674308..e8d3e5ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: [ubuntu, macos, windows] - python: [3.6, 3.7] + python: [3.7, 3.8] steps: - name: Checking out code from GitHub uses: actions/checkout@v1 diff --git a/setup.py b/setup.py index 8d87a256..0b05bc64 100644 --- a/setup.py +++ b/setup.py @@ -36,8 +36,8 @@ def read(*parts): "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", ], From 86500d9ab316710c415ec918f21a478d3822ba73 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Jan 2020 18:03:40 +0100 Subject: [PATCH 52/55] :fire: Remove ability to pass in loop as it is deprecated in Python 3.8 --- README.md | 6 +- adguardhome/adguardhome.py | 7 +-- examples/control.py | 6 +- examples/stats.py | 6 +- examples/status.py | 6 +- tests/test_adguardhome.py | 126 ++++++++++++++----------------------- tests/test_filtering.py | 60 +++++++++--------- tests/test_parental.py | 18 +++--- tests/test_querylog.py | 24 +++---- tests/test_safebrowsing.py | 18 +++--- tests/test_safesearch.py | 18 +++--- tests/test_stats.py | 60 +++++++++--------- 12 files changed, 158 insertions(+), 197 deletions(-) diff --git a/README.md b/README.md index e8d0ba70..8e169a2f 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ from adguardhome import AdGuardHome import asyncio -async def main(loop): +async def main(): """Show example how to get status of your AdGuard Home instance.""" - async with AdGuardHome("192.168.1.2", loop=loop) as adguard: + async with AdGuardHome("192.168.1.2") as adguard: version = await adguard.version() print("AdGuard version:", version) @@ -55,7 +55,7 @@ async def main(loop): if __name__ == "__main__": loop = asyncio.get_event_loop() - loop.run_until_complete(main(loop)) + loop.run_until_complete(main()) ``` ## Changelog & Releases diff --git a/adguardhome/adguardhome.py b/adguardhome/adguardhome.py index 9ac8097b..89228893 100644 --- a/adguardhome/adguardhome.py +++ b/adguardhome/adguardhome.py @@ -26,7 +26,6 @@ def __init__( self, host: str, base_path: str = "/control", - loop=None, password: str = None, port: int = 3000, request_timeout: int = 10, @@ -37,7 +36,6 @@ def __init__( user_agent: str = None, ) -> None: """Initialize connection with AdGuard Home.""" - self._loop = loop self._session = session self._close_session = False @@ -87,11 +85,8 @@ async def _request( "Accept": "application/json, text/plain, */*", } - if self._loop is None: - self._loop = asyncio.get_event_loop() - if self._session is None: - self._session = aiohttp.ClientSession(loop=self._loop) + self._session = aiohttp.ClientSession() self._close_session = True try: diff --git a/examples/control.py b/examples/control.py index 806d5933..19fb63de 100644 --- a/examples/control.py +++ b/examples/control.py @@ -7,9 +7,9 @@ from adguardhome import AdGuardHome -async def main(loop): +async def main(): """Show example on controlling your AdGuard Home instance.""" - async with AdGuardHome("192.168.1.2", loop=loop) as adguard: + async with AdGuardHome("192.168.1.2") as adguard: version = await adguard.version() print("AdGuard version:", version) @@ -30,4 +30,4 @@ async def main(loop): if __name__ == "__main__": loop = asyncio.get_event_loop() - loop.run_until_complete(main(loop)) + loop.run_until_complete(main()) diff --git a/examples/stats.py b/examples/stats.py index 752330b1..bf1a3be3 100644 --- a/examples/stats.py +++ b/examples/stats.py @@ -7,9 +7,9 @@ from adguardhome import AdGuardHome -async def main(loop): +async def main(): """Show example on stats from your AdGuard Home instance.""" - async with AdGuardHome("192.168.1.2", loop=loop) as adguard: + async with AdGuardHome("192.168.1.2") as adguard: version = await adguard.version() print("AdGuard version:", version) @@ -43,4 +43,4 @@ async def main(loop): if __name__ == "__main__": loop = asyncio.get_event_loop() - loop.run_until_complete(main(loop)) + loop.run_until_complete(main()) diff --git a/examples/status.py b/examples/status.py index a60f6053..a19ffd17 100644 --- a/examples/status.py +++ b/examples/status.py @@ -7,9 +7,9 @@ from adguardhome import AdGuardHome -async def main(loop): +async def main(): """Show example how to get status of your AdGuard Home instance.""" - async with AdGuardHome("192.168.1.2", loop=loop) as adguard: + async with AdGuardHome("192.168.1.2") as adguard: version = await adguard.version() print("AdGuard version:", version) @@ -36,4 +36,4 @@ async def main(loop): if __name__ == "__main__": loop = asyncio.get_event_loop() - loop.run_until_complete(main(loop)) + loop.run_until_complete(main()) diff --git a/tests/test_adguardhome.py b/tests/test_adguardhome.py index 294ea874..d3fc6600 100644 --- a/tests/test_adguardhome.py +++ b/tests/test_adguardhome.py @@ -10,7 +10,7 @@ @pytest.mark.asyncio -async def test_json_request(event_loop, aresponses): +async def test_json_request(aresponses): """Test JSON response is handled correctly.""" aresponses.add( "example.com:3000", @@ -22,14 +22,14 @@ async def test_json_request(event_loop, aresponses): text='{"status": "ok"}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) response = await adguard._request("/") assert response["status"] == "ok" @pytest.mark.asyncio -async def test_authenticated_request(event_loop, aresponses): +async def test_authenticated_request(aresponses): """Test JSON response is handled correctly.""" aresponses.add( "example.com:3000", @@ -41,50 +41,28 @@ async def test_authenticated_request(event_loop, aresponses): text='{"status": "ok"}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: + async with aiohttp.ClientSession() as session: adguard = AdGuardHome( - "example.com", - username="frenck", - password="zerocool", - session=session, - loop=event_loop, + "example.com", username="frenck", password="zerocool", session=session, ) response = await adguard._request("/") assert response["status"] == "ok" @pytest.mark.asyncio -async def test_text_request(event_loop, aresponses): +async def test_text_request(aresponses): """Test non JSON response is handled correctly.""" aresponses.add( "example.com:3000", "/", "GET", aresponses.Response(status=200, text="OK") ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) response = await adguard._request("/") assert response == "OK" @pytest.mark.asyncio -async def test_internal_session(event_loop, aresponses): - """Test JSON response is handled correctly.""" - aresponses.add( - "example.com:3000", - "/", - "GET", - aresponses.Response( - status=200, - headers={"Content-Type": "application/json"}, - text='{"status": "ok"}', - ), - ) - async with AdGuardHome("example.com", loop=event_loop) as adguard: - response = await adguard._request("/") - assert response["status"] == "ok" - - -@pytest.mark.asyncio -async def test_internal_eventloop(aresponses): +async def test_internal_session(aresponses): """Test JSON response is handled correctly.""" aresponses.add( "example.com:3000", @@ -102,19 +80,19 @@ async def test_internal_eventloop(aresponses): @pytest.mark.asyncio -async def test_post_request(event_loop, aresponses): +async def test_post_request(aresponses): """Test POST requests are handled correctly.""" aresponses.add( "example.com:3000", "/", "POST", aresponses.Response(status=200, text="OK") ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) response = await adguard._request("/", method="POST") assert response == "OK" @pytest.mark.asyncio -async def test_request_port(event_loop, aresponses): +async def test_request_port(aresponses): """Test AdGuard Home running on non-standard port.""" aresponses.add( "example.com:3333", @@ -123,16 +101,14 @@ async def test_request_port(event_loop, aresponses): aresponses.Response(text="OMG PUPPIES!", status=200), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome( - "example.com", port=3333, session=session, loop=event_loop - ) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", port=3333, session=session) response = await adguard._request("/") assert response == "OMG PUPPIES!" @pytest.mark.asyncio -async def test_request_base_path(event_loop, aresponses): +async def test_request_base_path(aresponses): """Test AdGuard Home running on different base path.""" aresponses.add( "example.com:3000", @@ -141,16 +117,14 @@ async def test_request_base_path(event_loop, aresponses): aresponses.Response(text="OMG PUPPIES!", status=200), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome( - "example.com", base_path="/admin", session=session, loop=event_loop - ) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", base_path="/admin", session=session) response = await adguard._request("status") assert response == "OMG PUPPIES!" @pytest.mark.asyncio -async def test_request_user_agent(event_loop, aresponses): +async def test_request_user_agent(aresponses): """Test AdGuard Home client sending correct user agent headers.""" # Handle to run asserts on request in async def response_handler(request): @@ -161,15 +135,13 @@ async def response_handler(request): aresponses.add("example.com:3000", "/", "GET", response_handler) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome( - "example.com", base_path="/", session=session, loop=event_loop - ) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", base_path="/", session=session) await adguard._request("/") @pytest.mark.asyncio -async def test_request_custom_user_agent(event_loop, aresponses): +async def test_request_custom_user_agent(aresponses): """Test AdGuard Home client sending correct user agent headers.""" # Handle to run asserts on request in async def response_handler(request): @@ -178,19 +150,15 @@ async def response_handler(request): aresponses.add("example.com:3000", "/", "GET", response_handler) - async with aiohttp.ClientSession(loop=event_loop) as session: + async with aiohttp.ClientSession() as session: adguard = AdGuardHome( - "example.com", - base_path="/", - session=session, - loop=event_loop, - user_agent="LoremIpsum/1.0", + "example.com", base_path="/", session=session, user_agent="LoremIpsum/1.0", ) await adguard._request("/") @pytest.mark.asyncio -async def test_timeout(event_loop, aresponses): +async def test_timeout(aresponses): """Test request timeout from AdGuard Home.""" # Faking a timeout by sleeping async def response_handler(_): @@ -199,16 +167,14 @@ async def response_handler(_): aresponses.add("example.com:3000", "/", "GET", response_handler) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome( - "example.com", session=session, loop=event_loop, request_timeout=1 - ) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session, request_timeout=1) with pytest.raises(AdGuardHomeConnectionError): assert await adguard._request("/") @pytest.mark.asyncio -async def test_http_error400(event_loop, aresponses): +async def test_http_error400(aresponses): """Test HTTP 404 response handling.""" aresponses.add( "example.com:3000", @@ -217,14 +183,14 @@ async def test_http_error400(event_loop, aresponses): aresponses.Response(text="OMG PUPPIES!", status=404), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) with pytest.raises(AdGuardHomeError): assert await adguard._request("/") @pytest.mark.asyncio -async def test_http_error500(event_loop, aresponses): +async def test_http_error500(aresponses): """Test HTTP 500 response handling.""" aresponses.add( "example.com:3000", @@ -237,14 +203,14 @@ async def test_http_error500(event_loop, aresponses): ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) with pytest.raises(AdGuardHomeError): assert await adguard._request("/") @pytest.mark.asyncio -async def test_protection_enabled(event_loop, aresponses): +async def test_protection_enabled(aresponses): """Test request of current AdGuard Home protection status.""" aresponses.add( "example.com:3000", @@ -266,8 +232,8 @@ async def test_protection_enabled(event_loop, aresponses): text='{"protection_enabled": false}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) enabled = await adguard.protection_enabled() assert enabled enabled = await adguard.protection_enabled() @@ -275,7 +241,7 @@ async def test_protection_enabled(event_loop, aresponses): @pytest.mark.asyncio -async def test_enable_protection(event_loop, aresponses): +async def test_enable_protection(aresponses): """Test enabling AdGuard Home protection.""" aresponses.add( "example.com:3000", @@ -290,8 +256,8 @@ async def test_enable_protection(event_loop, aresponses): aresponses.Response(status=200, text="NOT OK"), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) result = await adguard.enable_protection() assert result with pytest.raises(AdGuardHomeError): @@ -299,7 +265,7 @@ async def test_enable_protection(event_loop, aresponses): @pytest.mark.asyncio -async def test_disable_protection(event_loop, aresponses): +async def test_disable_protection(aresponses): """Test disabling AdGuard Home protection.""" aresponses.add( "example.com:3000", @@ -314,8 +280,8 @@ async def test_disable_protection(event_loop, aresponses): aresponses.Response(status=200, text="NOT OK"), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) result = await adguard.disable_protection() assert result with pytest.raises(AdGuardHomeError): @@ -323,7 +289,7 @@ async def test_disable_protection(event_loop, aresponses): @pytest.mark.asyncio -async def test_verion(event_loop, aresponses): +async def test_verion(aresponses): """Test requesting AdGuard Home instance version.""" aresponses.add( "example.com:3000", @@ -335,7 +301,7 @@ async def test_verion(event_loop, aresponses): text='{"version": "1.1"}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) version = await adguard.version() assert version == "1.1" diff --git a/tests/test_filtering.py b/tests/test_filtering.py index b88346ab..a666e136 100644 --- a/tests/test_filtering.py +++ b/tests/test_filtering.py @@ -7,7 +7,7 @@ @pytest.mark.asyncio -async def test_enabled(event_loop, aresponses): +async def test_enabled(aresponses): """Test request of current AdGuard Home filter status.""" aresponses.add( "example.com:3000", @@ -29,8 +29,8 @@ async def test_enabled(event_loop, aresponses): text='{"enabled": false}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) enabled = await adguard.filtering.enabled() assert enabled enabled = await adguard.filtering.enabled() @@ -38,7 +38,7 @@ async def test_enabled(event_loop, aresponses): @pytest.mark.asyncio -async def test_enable(event_loop, aresponses): +async def test_enable(aresponses): """Test enabling AdGuard Home filtering.""" async def response_handler(request): @@ -76,15 +76,15 @@ async def response_handler(request): aresponses.Response(status=500), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.filtering.enable() with pytest.raises(AdGuardHomeError): await adguard.filtering.enable() @pytest.mark.asyncio -async def test_disable(event_loop, aresponses): +async def test_disable(aresponses): """Test disabling AdGuard Home filtering.""" async def response_handler(request): @@ -122,15 +122,15 @@ async def response_handler(request): aresponses.Response(status=400), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.filtering.disable() with pytest.raises(AdGuardHomeError): await adguard.filtering.disable() @pytest.mark.asyncio -async def test_interval(event_loop, aresponses): +async def test_interval(aresponses): """Test interval settings of the AdGuard Home filtering.""" async def response_handler(request): @@ -178,8 +178,8 @@ async def response_handler(request): aresponses.Response(status=400), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) interval = await adguard.filtering.interval() assert interval == 7 interval = await adguard.filtering.interval(interval=1) @@ -189,7 +189,7 @@ async def response_handler(request): @pytest.mark.asyncio -async def test_rules_count(event_loop, aresponses): +async def test_rules_count(aresponses): """Test getting rules count of the AdGuard Home filtering.""" aresponses.add( "example.com:3000", @@ -212,8 +212,8 @@ async def test_rules_count(event_loop, aresponses): ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) result = await adguard.filtering.rules_count() assert result == 100 result = await adguard.filtering.rules_count() @@ -221,7 +221,7 @@ async def test_rules_count(event_loop, aresponses): @pytest.mark.asyncio -async def test_add_url(event_loop, aresponses): +async def test_add_url(aresponses): """Test add new filter subscription to AdGuard Home filtering.""" # Handle to run asserts on request in async def response_handler(request): @@ -239,15 +239,15 @@ async def response_handler(request): aresponses.Response(status=200, text="Invalid URL"), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.filtering.add_url("Example", "https://example.com/1.txt") with pytest.raises(AdGuardHomeError): await adguard.filtering.add_url("Example", "https://example.com/1.txt") @pytest.mark.asyncio -async def test_remove_url(event_loop, aresponses): +async def test_remove_url(aresponses): """Test remove filter subscription from AdGuard Home filtering.""" # Handle to run asserts on request in async def response_handler(request): @@ -265,15 +265,15 @@ async def response_handler(request): aresponses.Response(status=200, text="Invalid URL"), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.filtering.remove_url("https://example.com/1.txt") with pytest.raises(AdGuardHomeError): await adguard.filtering.remove_url("https://example.com/1.txt") @pytest.mark.asyncio -async def test_enable_url(event_loop, aresponses): +async def test_enable_url(aresponses): """Test enabling filter subscription in AdGuard Home filtering.""" # Handle to run asserts on request in async def response_handler(request): @@ -291,15 +291,15 @@ async def response_handler(request): aresponses.Response(status=400), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.filtering.enable_url("https://example.com/1.txt") with pytest.raises(AdGuardHomeError): await adguard.filtering.enable_url("https://example.com/1.txt") @pytest.mark.asyncio -async def test_disable_url(event_loop, aresponses): +async def test_disable_url(aresponses): """Test enabling filter subscription in AdGuard Home filtering.""" # Handle to run asserts on request in async def response_handler(request): @@ -317,15 +317,15 @@ async def response_handler(request): aresponses.Response(status=400), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.filtering.disable_url("https://example.com/1.txt") with pytest.raises(AdGuardHomeError): await adguard.filtering.disable_url("https://example.com/1.txt") @pytest.mark.asyncio -async def test_refresh(event_loop, aresponses): +async def test_refresh(aresponses): """Test enabling filter subscription in AdGuard Home filtering.""" aresponses.add( "example.com:3000", @@ -349,8 +349,8 @@ async def test_refresh(event_loop, aresponses): match_querystring=True, ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.filtering.refresh(False) await adguard.filtering.refresh(True) with pytest.raises(AdGuardHomeError): diff --git a/tests/test_parental.py b/tests/test_parental.py index 0f7f5cc2..ec5b437c 100644 --- a/tests/test_parental.py +++ b/tests/test_parental.py @@ -7,7 +7,7 @@ @pytest.mark.asyncio -async def test_enabled(event_loop, aresponses): +async def test_enabled(aresponses): """Test request of current AdGuard Home parental control status.""" aresponses.add( "example.com:3000", @@ -29,8 +29,8 @@ async def test_enabled(event_loop, aresponses): text='{"enabled": false}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) enabled = await adguard.parental.enabled() assert enabled enabled = await adguard.parental.enabled() @@ -38,7 +38,7 @@ async def test_enabled(event_loop, aresponses): @pytest.mark.asyncio -async def test_enable(event_loop, aresponses): +async def test_enable(aresponses): """Test enabling AdGuard Home parental control.""" # Handle to run asserts on request in async def response_handler(request): @@ -56,15 +56,15 @@ async def response_handler(request): aresponses.Response(status=200, text="NOT OK"), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.parental.enable() with pytest.raises(AdGuardHomeError): await adguard.parental.enable() @pytest.mark.asyncio -async def test_disable(event_loop, aresponses): +async def test_disable(aresponses): """Test disabling AdGuard Home parental control.""" aresponses.add( "example.com:3000", @@ -79,8 +79,8 @@ async def test_disable(event_loop, aresponses): aresponses.Response(status=200, text="NOT OK"), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.parental.disable() with pytest.raises(AdGuardHomeError): await adguard.parental.disable() diff --git a/tests/test_querylog.py b/tests/test_querylog.py index 138cfec3..db9530d1 100644 --- a/tests/test_querylog.py +++ b/tests/test_querylog.py @@ -7,7 +7,7 @@ @pytest.mark.asyncio -async def test_enabled(event_loop, aresponses): +async def test_enabled(aresponses): """Test request of current AdGuard Home query log status.""" aresponses.add( "example.com:3000", @@ -29,15 +29,15 @@ async def test_enabled(event_loop, aresponses): text='{"enabled": false,"interval": 1}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) enabled = await adguard.querylog.enabled() enabled = await adguard.querylog.enabled() assert not enabled @pytest.mark.asyncio -async def test_enable(event_loop, aresponses): +async def test_enable(aresponses): """Test enabling AdGuard Home query log.""" async def response_handler(request): @@ -75,15 +75,15 @@ async def response_handler(request): aresponses.Response(status=500), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.querylog.enable() with pytest.raises(AdGuardHomeError): await adguard.querylog.enable() @pytest.mark.asyncio -async def test_disable(event_loop, aresponses): +async def test_disable(aresponses): """Test disabling AdGuard Home query log.""" async def response_handler(request): @@ -121,15 +121,15 @@ async def response_handler(request): aresponses.Response(status=500), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.querylog.disable() with pytest.raises(AdGuardHomeError): await adguard.querylog.disable() @pytest.mark.asyncio -async def test_interval(event_loop, aresponses): +async def test_interval(aresponses): """Test interval settings of the AdGuard Home filtering.""" async def response_handler(request): @@ -177,8 +177,8 @@ async def response_handler(request): aresponses.Response(status=400), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) interval = await adguard.querylog.interval() assert interval == 7 interval = await adguard.querylog.interval(interval=1) diff --git a/tests/test_safebrowsing.py b/tests/test_safebrowsing.py index 06fabfaa..a052f2a0 100644 --- a/tests/test_safebrowsing.py +++ b/tests/test_safebrowsing.py @@ -7,7 +7,7 @@ @pytest.mark.asyncio -async def test_enabled(event_loop, aresponses): +async def test_enabled(aresponses): """Test request of current AdGuard Home browsing security status.""" aresponses.add( "example.com:3000", @@ -29,8 +29,8 @@ async def test_enabled(event_loop, aresponses): text='{"enabled": false}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) enabled = await adguard.safebrowsing.enabled() assert enabled enabled = await adguard.safebrowsing.enabled() @@ -38,7 +38,7 @@ async def test_enabled(event_loop, aresponses): @pytest.mark.asyncio -async def test_enable(event_loop, aresponses): +async def test_enable(aresponses): """Test enabling AdGuard Home browsing security.""" aresponses.add( "example.com:3000", @@ -53,15 +53,15 @@ async def test_enable(event_loop, aresponses): aresponses.Response(status=200, text="NOT OK"), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.safebrowsing.enable() with pytest.raises(AdGuardHomeError): await adguard.safebrowsing.enable() @pytest.mark.asyncio -async def test_disable(event_loop, aresponses): +async def test_disable(aresponses): """Test disabling AdGuard Home browsing security.""" aresponses.add( "example.com:3000", @@ -76,8 +76,8 @@ async def test_disable(event_loop, aresponses): aresponses.Response(status=200, text="NOT OK"), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.safebrowsing.disable() with pytest.raises(AdGuardHomeError): await adguard.safebrowsing.disable() diff --git a/tests/test_safesearch.py b/tests/test_safesearch.py index 1c2abb6b..68c2e923 100644 --- a/tests/test_safesearch.py +++ b/tests/test_safesearch.py @@ -7,7 +7,7 @@ @pytest.mark.asyncio -async def test_enabled(event_loop, aresponses): +async def test_enabled(aresponses): """Test request of current AdGuard Home safe search enforcing status.""" aresponses.add( "example.com:3000", @@ -29,8 +29,8 @@ async def test_enabled(event_loop, aresponses): text='{"enabled": false}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) enabled = await adguard.safesearch.enabled() assert enabled enabled = await adguard.safesearch.enabled() @@ -38,7 +38,7 @@ async def test_enabled(event_loop, aresponses): @pytest.mark.asyncio -async def test_enable(event_loop, aresponses): +async def test_enable(aresponses): """Test enabling AdGuard Home safe search enforcing.""" aresponses.add( "example.com:3000", @@ -53,15 +53,15 @@ async def test_enable(event_loop, aresponses): aresponses.Response(status=200, text="NOT OK"), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.safesearch.enable() with pytest.raises(AdGuardHomeError): await adguard.safesearch.enable() @pytest.mark.asyncio -async def test_disable(event_loop, aresponses): +async def test_disable(aresponses): """Test disabling AdGuard Home safe search enforcing.""" aresponses.add( "example.com:3000", @@ -76,8 +76,8 @@ async def test_disable(event_loop, aresponses): aresponses.Response(status=200, text="NOT OK"), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.safesearch.disable() with pytest.raises(AdGuardHomeError): await adguard.safesearch.disable() diff --git a/tests/test_stats.py b/tests/test_stats.py index 4f5a98fe..b7d972e1 100644 --- a/tests/test_stats.py +++ b/tests/test_stats.py @@ -7,7 +7,7 @@ @pytest.mark.asyncio -async def test_dns_queries(event_loop, aresponses): +async def test_dns_queries(aresponses): """Test requesting AdGuard Home number of DNS query stats.""" aresponses.add( "example.com:3000", @@ -19,14 +19,14 @@ async def test_dns_queries(event_loop, aresponses): text='{"num_dns_queries": 666}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) result = await adguard.stats.dns_queries() assert result == 666 @pytest.mark.asyncio -async def test_blocked_filtering(event_loop, aresponses): +async def test_blocked_filtering(aresponses): """Test requesting AdGuard Home filtering stats.""" aresponses.add( "example.com:3000", @@ -38,14 +38,14 @@ async def test_blocked_filtering(event_loop, aresponses): text='{"num_blocked_filtering": 1337}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) result = await adguard.stats.blocked_filtering() assert result == 1337 @pytest.mark.asyncio -async def test_blocked_percentage(event_loop, aresponses): +async def test_blocked_percentage(aresponses): """Test requesting AdGuard Home filtering stats.""" aresponses.add( "example.com:3000", @@ -77,8 +77,8 @@ async def test_blocked_percentage(event_loop, aresponses): text='{"num_dns_queries": 100, "num_blocked_filtering": 0}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) result = await adguard.stats.blocked_percentage() assert result == 25.0 result = await adguard.stats.blocked_percentage() @@ -88,7 +88,7 @@ async def test_blocked_percentage(event_loop, aresponses): @pytest.mark.asyncio -async def test_replaced_safebrowsing(event_loop, aresponses): +async def test_replaced_safebrowsing(aresponses): """Test requesting AdGuard Home safebrowsing stats.""" aresponses.add( "example.com:3000", @@ -100,14 +100,14 @@ async def test_replaced_safebrowsing(event_loop, aresponses): text='{"num_replaced_safebrowsing": 42}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) result = await adguard.stats.replaced_safebrowsing() assert result == 42 @pytest.mark.asyncio -async def test_replaced_parental(event_loop, aresponses): +async def test_replaced_parental(aresponses): """Test requesting AdGuard Home parental control stats.""" aresponses.add( "example.com:3000", @@ -119,14 +119,14 @@ async def test_replaced_parental(event_loop, aresponses): text='{"num_replaced_parental": 13}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) result = await adguard.stats.replaced_parental() assert result == 13 @pytest.mark.asyncio -async def test_replaced_safesearch(event_loop, aresponses): +async def test_replaced_safesearch(aresponses): """Test requesting AdGuard Home safe search enforcement stats.""" aresponses.add( "example.com:3000", @@ -138,14 +138,14 @@ async def test_replaced_safesearch(event_loop, aresponses): text='{"num_replaced_safesearch": 18}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) result = await adguard.stats.replaced_safesearch() assert result == 18 @pytest.mark.asyncio -async def test_avg_processing_time(event_loop, aresponses): +async def test_avg_processing_time(aresponses): """Test requesting AdGuard Home DNS avarage processing time stats.""" aresponses.add( "example.com:3000", @@ -157,14 +157,14 @@ async def test_avg_processing_time(event_loop, aresponses): text='{"avg_processing_time": 3.14}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) result = await adguard.stats.avg_processing_time() assert result == 3.14 @pytest.mark.asyncio -async def test_period(event_loop, aresponses): +async def test_period(aresponses): """Test requesting AdGuard Home stats period.""" aresponses.add( "example.com:3000", @@ -177,14 +177,14 @@ async def test_period(event_loop, aresponses): ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) result = await adguard.stats.period() assert result == 7 @pytest.mark.asyncio -async def test_reset(event_loop, aresponses): +async def test_reset(aresponses): """Test resetting all AdGuard Home stats.""" aresponses.add( "example.com:3000", @@ -199,15 +199,15 @@ async def test_reset(event_loop, aresponses): aresponses.Response(status=200, text="Not OK"), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) await adguard.stats.reset() with pytest.raises(AdGuardHomeError): await adguard.stats.reset() @pytest.mark.asyncio -async def test_content_type_workarond(event_loop, aresponses): +async def test_content_type_workarond(aresponses): """Test for working around content-type issue in AdGuard Home v0.99.0.""" aresponses.add( "example.com:3000", @@ -219,7 +219,7 @@ async def test_content_type_workarond(event_loop, aresponses): text='{"avg_processing_time": 3.14}', ), ) - async with aiohttp.ClientSession(loop=event_loop) as session: - adguard = AdGuardHome("example.com", session=session, loop=event_loop) + async with aiohttp.ClientSession() as session: + adguard = AdGuardHome("example.com", session=session) result = await adguard.stats.avg_processing_time() assert result == 3.14 From 54b889ab2a22112117f2ee856bace15b87067033 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Jan 2020 18:11:37 +0100 Subject: [PATCH 53/55] :ambulance: Fix incorrect unit of measurement on avg processing time --- adguardhome/stats.py | 2 +- tests/test_stats.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/adguardhome/stats.py b/adguardhome/stats.py index a81c9a64..45f1877c 100644 --- a/adguardhome/stats.py +++ b/adguardhome/stats.py @@ -46,7 +46,7 @@ async def replaced_safesearch(self) -> int: async def avg_processing_time(self) -> float: """Return avarage processing time of DNS queries (in ms).""" response = await self._adguard._request("stats") - return response["avg_processing_time"] + return round(response["avg_processing_time"] * 100, 2) async def period(self) -> int: """Return the time period to keep data (in days).""" diff --git a/tests/test_stats.py b/tests/test_stats.py index b7d972e1..93b932c5 100644 --- a/tests/test_stats.py +++ b/tests/test_stats.py @@ -154,7 +154,7 @@ async def test_avg_processing_time(aresponses): aresponses.Response( status=200, headers={"Content-Type": "application/json"}, - text='{"avg_processing_time": 3.14}', + text='{"avg_processing_time": 0.0314}', ), ) async with aiohttp.ClientSession() as session: @@ -216,7 +216,7 @@ async def test_content_type_workarond(aresponses): aresponses.Response( status=200, headers={"Content-Type": "text/plain; charset=utf-8"}, - text='{"avg_processing_time": 3.14}', + text='{"avg_processing_time": 0.0314}', ), ) async with aiohttp.ClientSession() as session: From 46abdd865943a5eb7d37ee3523cfefc9d4a6ae30 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Jan 2020 18:14:20 +0100 Subject: [PATCH 54/55] :hammer: Improve and extend pre-commit --- .pre-commit-config.yaml | 4 ++++ adguardhome/__init__.py | 1 - adguardhome/__version__.py | 1 - adguardhome/adguardhome.py | 1 - adguardhome/exceptions.py | 1 - adguardhome/filtering.py | 1 - adguardhome/parental.py | 1 - adguardhome/querylog.py | 1 - adguardhome/safebrowsing.py | 1 - adguardhome/safesearch.py | 1 - adguardhome/stats.py | 1 - examples/control.py | 1 - examples/stats.py | 1 - examples/status.py | 1 - setup.py | 1 - tests/__init__.py | 1 - tests/test_adguardhome.py | 1 - tests/test_filtering.py | 1 - tests/test_parental.py | 1 - tests/test_querylog.py | 1 - tests/test_safebrowsing.py | 1 - tests/test_safesearch.py | 1 - tests/test_stats.py | 1 - 23 files changed, 4 insertions(+), 22 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 47cb85f5..baf1f20a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,6 +25,10 @@ repos: - id: check-case-conflict - id: check-executables-have-shebangs - id: fix-encoding-pragma + args: ["--remove"] + - id: check-ast + - id: detect-private-key + - id: forbid-new-submodules - repo: https://github.com/pre-commit/pre-commit rev: v1.21.0 hooks: diff --git a/adguardhome/__init__.py b/adguardhome/__init__.py index f3bf1fc8..467e5d4c 100644 --- a/adguardhome/__init__.py +++ b/adguardhome/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Asynchronous Python client for the AdGuard Home API.""" from .adguardhome import ( # noqa diff --git a/adguardhome/__version__.py b/adguardhome/__version__.py index 7a9f3840..5c135e98 100644 --- a/adguardhome/__version__.py +++ b/adguardhome/__version__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Asynchronous Python client for the AdGuard Home API.""" __version__ = "0.3.0" diff --git a/adguardhome/adguardhome.py b/adguardhome/adguardhome.py index 89228893..ac26360b 100644 --- a/adguardhome/adguardhome.py +++ b/adguardhome/adguardhome.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Asynchronous Python client for the AdGuard Home API.""" import asyncio import json diff --git a/adguardhome/exceptions.py b/adguardhome/exceptions.py index ea27e87c..a06fab3c 100644 --- a/adguardhome/exceptions.py +++ b/adguardhome/exceptions.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Exceptions for AdGuard Home.""" diff --git a/adguardhome/filtering.py b/adguardhome/filtering.py index 25ae86d3..f8a0bae4 100644 --- a/adguardhome/filtering.py +++ b/adguardhome/filtering.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Asynchronous Python client for the AdGuard Home API.""" from typing import Optional diff --git a/adguardhome/parental.py b/adguardhome/parental.py index 936d05f9..fa70c86b 100644 --- a/adguardhome/parental.py +++ b/adguardhome/parental.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Asynchronous Python client for the AdGuard Home API.""" from .exceptions import AdGuardHomeError diff --git a/adguardhome/querylog.py b/adguardhome/querylog.py index 20f7df40..79944866 100644 --- a/adguardhome/querylog.py +++ b/adguardhome/querylog.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Asynchronous Python client for the AdGuard Home API.""" from typing import Optional diff --git a/adguardhome/safebrowsing.py b/adguardhome/safebrowsing.py index 6809c1f8..cef1a26e 100644 --- a/adguardhome/safebrowsing.py +++ b/adguardhome/safebrowsing.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Asynchronous Python client for the AdGuard Home API.""" from .exceptions import AdGuardHomeError diff --git a/adguardhome/safesearch.py b/adguardhome/safesearch.py index eb785a83..15e9065f 100644 --- a/adguardhome/safesearch.py +++ b/adguardhome/safesearch.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Asynchronous Python client for the AdGuard Home API.""" from .exceptions import AdGuardHomeError diff --git a/adguardhome/stats.py b/adguardhome/stats.py index 45f1877c..5f35c9b6 100644 --- a/adguardhome/stats.py +++ b/adguardhome/stats.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Asynchronous Python client for the AdGuard Home API.""" from .exceptions import AdGuardHomeError diff --git a/examples/control.py b/examples/control.py index 19fb63de..b63d7c9d 100644 --- a/examples/control.py +++ b/examples/control.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # pylint: disable=W0621 """Asynchronous Python client for the AdGuard Home API.""" diff --git a/examples/stats.py b/examples/stats.py index bf1a3be3..d0ced64e 100644 --- a/examples/stats.py +++ b/examples/stats.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # pylint: disable=W0621 """Asynchronous Python client for the AdGuard Home API.""" diff --git a/examples/status.py b/examples/status.py index a19ffd17..4a0ad771 100644 --- a/examples/status.py +++ b/examples/status.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # pylint: disable=W0621 """Asynchronous Python client for the AdGuard Home API.""" diff --git a/setup.py b/setup.py index 0b05bc64..a9f0229d 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- """The setup script.""" import io import os diff --git a/tests/__init__.py b/tests/__init__.py index f5f1d74d..b7750b00 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,2 +1 @@ -# -*- coding: utf-8 -*- """Asynchronous Python client for the AdGuard Home API.""" diff --git a/tests/test_adguardhome.py b/tests/test_adguardhome.py index d3fc6600..84d34446 100644 --- a/tests/test_adguardhome.py +++ b/tests/test_adguardhome.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Tests for `adguardhome.adguardhome`.""" import asyncio diff --git a/tests/test_filtering.py b/tests/test_filtering.py index a666e136..11c99fcd 100644 --- a/tests/test_filtering.py +++ b/tests/test_filtering.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Tests for `adguardhome.filtering`.""" import aiohttp import pytest diff --git a/tests/test_parental.py b/tests/test_parental.py index ec5b437c..1c17f981 100644 --- a/tests/test_parental.py +++ b/tests/test_parental.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Tests for `adguardhome.parental`.""" import aiohttp import pytest diff --git a/tests/test_querylog.py b/tests/test_querylog.py index db9530d1..c56ba91b 100644 --- a/tests/test_querylog.py +++ b/tests/test_querylog.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Tests for `adguardhome.querylog`.""" import aiohttp import pytest diff --git a/tests/test_safebrowsing.py b/tests/test_safebrowsing.py index a052f2a0..771519ee 100644 --- a/tests/test_safebrowsing.py +++ b/tests/test_safebrowsing.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Tests for `adguardhome.safebrowsing`.""" import aiohttp import pytest diff --git a/tests/test_safesearch.py b/tests/test_safesearch.py index 68c2e923..4d733ba7 100644 --- a/tests/test_safesearch.py +++ b/tests/test_safesearch.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Tests for `adguardhome.safesearch`.""" import aiohttp import pytest diff --git a/tests/test_stats.py b/tests/test_stats.py index 93b932c5..a1a08cce 100644 --- a/tests/test_stats.py +++ b/tests/test_stats.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Tests for `adguardhome.stats`.""" import aiohttp import pytest From 4417d5ee8013c795dc9c9c0e015d443482f671ed Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Jan 2020 18:18:29 +0100 Subject: [PATCH 55/55] :arrow_up: Bump version to 0.4.0 --- adguardhome/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adguardhome/__version__.py b/adguardhome/__version__.py index 5c135e98..dbd9b2c9 100644 --- a/adguardhome/__version__.py +++ b/adguardhome/__version__.py @@ -1,3 +1,3 @@ """Asynchronous Python client for the AdGuard Home API.""" -__version__ = "0.3.0" +__version__ = "0.4.0"