Skip to content

Commit

Permalink
Merge pull request #638 from cherrypy/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz authored Jul 11, 2023
2 parents 4664602 + 682bf06 commit 00c3cc3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
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

0 comments on commit 00c3cc3

Please sign in to comment.