diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 33f03c1caf..0690f42f58 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: @@ -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 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