File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 35
35
- aiolimiter~=1.1.0
36
36
- . # this basically does `pip install -e .`
37
37
- repo : https://github.com/pre-commit/mirrors-mypy
38
- rev : v1.2 .0
38
+ rev : v1.3 .0
39
39
hooks :
40
40
- id : mypy
41
41
name : mypy-ptb
62
62
- cachetools~=5.3.1
63
63
- . # this basically does `pip install -e .`
64
64
- repo : https://github.com/asottile/pyupgrade
65
- rev : v3.3.2
65
+ rev : v3.4.0
66
66
hooks :
67
67
- id : pyupgrade
68
68
files : ^(telegram|examples|tests|docs)/.*\.py$
77
77
- --diff
78
78
- --check
79
79
- repo : https://github.com/charliermarsh/ruff-pre-commit
80
- rev : ' v0.0.263 '
80
+ rev : ' v0.0.270 '
81
81
hooks :
82
82
- id : ruff
83
83
name : ruff
Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ async def _request_wrapper(
290
290
except TelegramError as exc :
291
291
raise exc
292
292
except Exception as exc :
293
- raise NetworkError (f"Unknown error in HTTP implementation: { repr ( exc ) } " ) from exc
293
+ raise NetworkError (f"Unknown error in HTTP implementation: { exc !r } " ) from exc
294
294
295
295
if HTTPStatus .OK <= code <= 299 :
296
296
# 200-299 range are HTTP success statuses
You can’t perform that action at this time.
0 commit comments