-
Notifications
You must be signed in to change notification settings - Fork 280
Fix F811 flake error: remove redefinitions #1248
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
Conversation
Remove F811 from list of ignored flake warnings in `.flake8`. Remove redefinitions of variables.
|
There are two unfixed warnings that I left because they are not trivial to solve. The first one is on simpeg/SimPEG/electromagnetics/time_domain/simulation.py Lines 1050 to 1060 in b8dcec5
The second one is on simpeg/tests/em/tdem/test_TDEM_DerivAdjoint.py Lines 273 to 274 in b8dcec5
while in the redefinition is uses simpeg/tests/em/tdem/test_TDEM_DerivAdjoint.py Lines 288 to 289 in b8dcec5
@lheagy maybe you could provide some insight here. |
I actually think the first one might be the reason that the magnetic field source derivative tests are failing... #1233 as far as the second one, I believe it should be renamed to |
Codecov Report
@@ Coverage Diff @@
## main #1248 +/- ##
=======================================
Coverage 82.31% 82.31%
=======================================
Files 164 164
Lines 24965 24961 -4
=======================================
- Hits 20549 20546 -3
+ Misses 4416 4415 -1
|
Summary
Remove F811 from list of ignored flake warnings in
.flake8. Remove redefinitions of variables.PR Checklist
expect style.
GRAV,EM, etc.)to a Pull Request
@simpeg/simpeg-developerswhen ready for review.Reference issue
What does this implement/fix?
Additional information