-
Notifications
You must be signed in to change notification settings - Fork 284
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
[pre-commit.ci] pre-commit autoupdate #6033
Conversation
87c2c4a
to
03282a5
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6033 +/- ##
=======================================
Coverage 89.81% 89.81%
=======================================
Files 88 88
Lines 23174 23174
Branches 5045 5045
=======================================
Hits 20814 20814
Misses 1623 1623
Partials 737 737 ☔ View full report in Codecov by Sentry. |
075b5b2
to
06741b7
Compare
e302879
to
853d43a
Compare
This is a bit weird. (1) The ruff errors are clear enough : it now doesn't like file.readlines(), so can be removed. but This seems like a bug in MyPy, either that or "wraps" is not doing its job properly ? |
@bjlittle can you re-review this + let me know what you think ? Hint : you might think the MyPy workaround is a bit nasty. |
bd142d3
to
31573c1
Compare
31573c1
to
bba2f0a
Compare
ad0c79c
to
4723118
Compare
70c7c42
to
11ac8b9
Compare
00c6776
to
da3b8b5
Compare
038c8f5
to
4ea999f
Compare
881b018
to
24a507d
Compare
c3e4ca6
to
a49c508
Compare
updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.6.8](astral-sh/ruff-pre-commit@v0.4.10...v0.6.8) - [github.com/PyCQA/flake8: 7.1.0 → 7.1.1](PyCQA/flake8@7.1.0...7.1.1) - [github.com/asottile/blacken-docs: 1.16.0 → 1.18.0](adamchainz/blacken-docs@1.16.0...1.18.0) - [github.com/pre-commit/mirrors-mypy: v1.9.0 → v1.11.2](pre-commit/mirrors-mypy@v1.9.0...v1.11.2) - [github.com/numpy/numpydoc: v1.7.0 → v1.8.0](numpy/numpydoc@v1.7.0...v1.8.0)
ed57ebb
to
cb01ba5
Compare
for more information, see https://pre-commit.ci
We are being bitten here by a MyPy problem which seems generic + unresolved
When I run the MyPy checks locally on all files, there are quite a few occurrences :
So, I think the only reason we haven't seen a long list of errors here is that the check is only run on modified files. The specific problems here all seem to relate to the definition of 'name()' for a CFVariableMixin - derived Iris object (i.e. an object with CF-type standard_name/long_name/attributes etc) |
It's very kind of you to look into this @pp-mo but feel free to leave it with me if you have other priorities (we assigned it to me last week) |
OK that makes sense -- I had forgotten. |
updates: