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
run pyupgrade and optimize imports in pycharm #312
Conversation
Codecov Report
@@ Coverage Diff @@
## main #312 +/- ##
==========================================
- Coverage 51.94% 51.93% -0.02%
==========================================
Files 37 37
Lines 8464 8415 -49
Branches 1811 1807 -4
==========================================
- Hits 4397 4370 -27
+ Misses 3750 3729 -21
+ Partials 317 316 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@@ -12,7 +10,7 @@ | |||
from unittest.mock import Mock | |||
except ImportError: | |||
# See https://github.com/python/mypy/issues/1153#issuecomment-253842414 | |||
from mock import Mock # type: ignore | |||
from unittest.mock import Mock # type: ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here's another one
Checklist
General Contributing
Is This a Code Change?
Validation
tox
?