Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #638

Merged
merged 4 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions cheroot/ssl/pyopenssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@ def sendall(self, *args, **kwargs):
return self._safe_call(
False,
super(SSLFileobjectMixin, self).sendall,
*args, **kwargs
*args, **kwargs,
)

def send(self, *args, **kwargs):
"""Send some part of message to the socket."""
return self._safe_call(
False,
super(SSLFileobjectMixin, self).send,
*args, **kwargs
*args, **kwargs,
)


Expand Down
2 changes: 1 addition & 1 deletion cheroot/test/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, ('Юххууу', 'ї', 'йо')),
),
),
)
Expand Down
2 changes: 1 addition & 1 deletion cheroot/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down