Skip to content

Commit 8209868

Browse files
Bump flake8 from 3.3.0 to 3.8.4 (#46)
* Bump flake8 from 3.3.0 to 3.8.4 Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.3.0 to 3.8.4. - [Release notes](https://gitlab.com/pycqa/flake8/tags) - [Commits](https://gitlab.com/pycqa/flake8/compare/3.3.0...3.8.4) Signed-off-by: dependabot[bot] <[email protected]> * Update pycodestyle * Update pyflakes * Fix bare except Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Kemp <[email protected]>
1 parent 90a88d5 commit 8209868

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

requirements_tests.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
aioresponses==0.7.0
22
asynctest==0.13.0
3-
flake8==3.3.0
3+
flake8==3.8.4
44
flake8-import-order==0.12
55
mccabe==0.6.1
66
pep8-naming==0.4.1
77
py==1.9.0
8-
pycodestyle==2.3.1
9-
pyflakes==1.5.0
8+
pycodestyle==2.6.0
9+
pyflakes==2.2.0
1010
pytest==6.1.1
1111
pytest-asyncio==0.14.0

socketshark/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ async def on_client_event(self, data):
5050
else:
5151
event_name = event.event
5252
self.shark.metrics.log_event(event_name, result)
53-
except:
53+
except Exception:
5454
self.shark.log.exception('unhandled event processing exception')
5555
await event.send_error(c.ERR_UNHANDLED_EXCEPTION)
5656
await self.close()

0 commit comments

Comments
 (0)