-
Notifications
You must be signed in to change notification settings - Fork 192
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
mypy
: ignore[assignment]
is no longer needed in src/aiida/orm/utils/serialize.py::51
#6566
Conversation
mypy
: Ignore assignment is no longer needed
mypy
: Ignore assignment is no longer neededmypy
: ignore[assignment]
is no longer needed in src/aiida/orm/utils/serialize.py::51
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6566 +/- ##
==========================================
+ Coverage 77.51% 77.83% +0.33%
==========================================
Files 560 566 +6
Lines 41444 41983 +539
==========================================
+ Hits 32120 32675 +555
+ Misses 9324 9308 -16 ☔ View full report in Codecov by Sentry. |
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.
Yes codecov fails because we changed one line that is not tested which results in a 0% patch coverage. I would say for the sake of simplicity and getting the other PRs merged we just bypass.
Really, adding more test for that line is out of scope of this PR. |
…ects (aiidateam#6566) Apparently, somehow `mypy` is updated and it is complaining about an `ignore[assignment]` comment that previously was imposed by `mypy` itself. (in src/aiida/orm/utils/serialize.py::L51) This commit removed `ignore[assignment]`, and `ci-style / pre-commit (pull_request)` is passing now.
…ects (aiidateam#6566) Apparently, somehow `mypy` is updated and it is complaining about an `ignore[assignment]` comment that previously was imposed by `mypy` itself. (in src/aiida/orm/utils/serialize.py::L51) This commit removed `ignore[assignment]`, and `ci-style / pre-commit (pull_request)` is passing now. Cherry-pick: 655da5a
…ects (aiidateam#6566) Apparently, somehow `mypy` is updated and it is complaining about an `ignore[assignment]` comment that previously was imposed by `mypy` itself. (in src/aiida/orm/utils/serialize.py::L51) This commit removed `ignore[assignment]`, and `ci-style / pre-commit (pull_request)` is passing now. Cherry-pick: 655da5a
mypy
is somehow magically updated 🤔