From ec067e4bbfd0245bf6250d36bfee592a83451fa4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Jul 2023 20:39:57 +0000 Subject: [PATCH 1/4] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/add-trailing-comma.git: v2.4.0 → v3.0.0](https://github.com/asottile/add-trailing-comma.git/compare/v2.4.0...v3.0.0) - [github.com/adrienverge/yamllint.git: v1.30.0 → v1.32.0](https://github.com/adrienverge/yamllint.git/compare/v1.30.0...v1.32.0) - [github.com/PyCQA/flake8.git: 4.0.1 → 6.0.0](https://github.com/PyCQA/flake8.git/compare/4.0.1...6.0.0) - [github.com/pre-commit/mirrors-mypy.git: v1.1.1 → v1.4.1](https://github.com/pre-commit/mirrors-mypy.git/compare/v1.1.1...v1.4.1) - [github.com/PyCQA/pylint.git: v2.15.9 → v3.0.0a6](https://github.com/PyCQA/pylint.git/compare/v2.15.9...v3.0.0a6) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 33f03c1caf..327e46bbe5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ ci: repos: - repo: https://github.com/asottile/add-trailing-comma.git - rev: v2.4.0 + rev: v3.0.0 hooks: - id: add-trailing-comma @@ -78,7 +78,7 @@ repos: - id: debug-statements - repo: https://github.com/adrienverge/yamllint.git - rev: v1.30.0 + rev: v1.32.0 hooks: - id: yamllint types: @@ -108,7 +108,7 @@ repos: - repo: https://github.com/PyCQA/flake8.git # NOTE: This is kept at v4 for until WPS starts supporting flake v5. - rev: 4.0.1 # enforce-version: 4.0.1 + rev: 6.0.0 # enforce-version: 4.0.1 hooks: - id: flake8 alias: flake8-only-wps @@ -126,7 +126,7 @@ repos: - id: forbid-html-img-without-alt-text - repo: https://github.com/pre-commit/mirrors-mypy.git - rev: v1.1.1 + rev: v1.4.1 hooks: - id: mypy alias: mypy-py38 @@ -201,7 +201,7 @@ repos: $ - repo: https://github.com/PyCQA/pylint.git - rev: v2.15.9 + rev: v3.0.0a6 hooks: - id: pylint additional_dependencies: From 3d058acf887a98d809c1f203c8b9fde5c22278db Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Fri, 7 Jul 2023 20:24:39 +0200 Subject: [PATCH 2/4] Revert flake8 to v4.0.1 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 327e46bbe5..299058a86a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -108,7 +108,7 @@ repos: - repo: https://github.com/PyCQA/flake8.git # NOTE: This is kept at v4 for until WPS starts supporting flake v5. - rev: 6.0.0 # enforce-version: 4.0.1 + rev: 4.0.1 # enforce-version: 4.0.1 hooks: - id: flake8 alias: flake8-only-wps From 5aaa4a0e4c6a5aa236a377fe8a3dc98d721c84af Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 7 Jul 2023 18:25:34 +0000 Subject: [PATCH 3/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- cheroot/ssl/pyopenssl.py | 4 ++-- cheroot/test/test_core.py | 2 +- cheroot/testing.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cheroot/ssl/pyopenssl.py b/cheroot/ssl/pyopenssl.py index ea4da5359d..8b01b348de 100644 --- a/cheroot/ssl/pyopenssl.py +++ b/cheroot/ssl/pyopenssl.py @@ -150,7 +150,7 @@ def sendall(self, *args, **kwargs): return self._safe_call( False, super(SSLFileobjectMixin, self).sendall, - *args, **kwargs + *args, **kwargs, ) def send(self, *args, **kwargs): @@ -158,7 +158,7 @@ def send(self, *args, **kwargs): return self._safe_call( False, super(SSLFileobjectMixin, self).send, - *args, **kwargs + *args, **kwargs, ) diff --git a/cheroot/test/test_core.py b/cheroot/test/test_core.py index 7732b6f7a8..d33647888e 100644 --- a/cheroot/test/test_core.py +++ b/cheroot/test/test_core.py @@ -134,7 +134,7 @@ def test_query_string_request(test_client): '/hello', # plain '/query_string?test=True', # query '/{0}?{1}={2}'.format( # quoted unicode - *map(urllib.parse.quote, ('Юххууу', 'ї', 'йо')) + *map(urllib.parse.quote, ('Юххууу', 'ї', 'йо')), ), ), ) diff --git a/cheroot/testing.py b/cheroot/testing.py index 3e404e59ea..adf157ee79 100644 --- a/cheroot/testing.py +++ b/cheroot/testing.py @@ -41,7 +41,7 @@ def cheroot_server(server_factory): actual_bind_addr = (interface, bind_port) httpserver = server_factory( # create it bind_addr=actual_bind_addr, - **conf + **conf, ) except OSError: pass From 682bf0683ed18362860c73bc893b562f3040be1b Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Tue, 11 Jul 2023 23:30:24 +0200 Subject: [PATCH 4/4] Revert pylint to v2.15.9 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 299058a86a..0690f42f58 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -201,7 +201,7 @@ repos: $ - repo: https://github.com/PyCQA/pylint.git - rev: v3.0.0a6 + rev: v2.15.9 hooks: - id: pylint additional_dependencies: