Skip to content

Commit 53b93b0

Browse files
build(deps): bump mypy from 0.770 to 0.780 (#713)
* build(deps): bump mypy from 0.770 to 0.780 Bumps [mypy](https://github.com/python/mypy) from 0.770 to 0.780. - [Release notes](https://github.com/python/mypy/releases) - [Commits](python/mypy@v0.770...v0.780) Signed-off-by: dependabot-preview[bot] <[email protected]> * fix linters Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Markus Unterwaditzer <[email protected]>
1 parent 4979264 commit 53b93b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

linter-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
black==19.10b0
22
flake8
33
flake8-import-order
4-
mypy==0.770
4+
mypy==0.780
55
flake8-bugbear>=19.8.0
66
pep8-naming

sentry_sdk/integrations/tornado.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def tornado_processor(event, hint):
141141
request = handler.request
142142

143143
with capture_internal_exceptions():
144-
method = getattr(handler, handler.request.method.lower())
144+
method = getattr(handler, handler.request.method.lower()) # type: ignore
145145
event["transaction"] = transaction_from_function(method)
146146

147147
with capture_internal_exceptions():

0 commit comments

Comments
 (0)