-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update code contribution instructions and Nox sessions #262
Update code contribution instructions and Nox sessions #262
Conversation
b880b05
to
6ede75f
Compare
@@ -605,7 +605,7 @@ def calculate_TE_errors(map1, map2, T_e, EM, model_ratio, tresp1, tresp2, Trange | |||
return T_error, EMerror, K1, K2 | |||
|
|||
|
|||
def make_results_maps(hdr1, hdr2, T_e, EM, T_error, EMerror, mask): # noqa: ARG001 | |||
def make_results_maps(hdr1, hdr2, T_e, EM, T_error, EMerror): |
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.
This was unused, so I removed it.
54b1768
to
dd183f6
Compare
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
dd183f6
to
9a2843d
Compare
9a2843d
to
61d3558
Compare
|
||
- repo: https://github.com/nbQA-dev/nbQA | ||
rev: 1.8.7 | ||
hooks: | ||
- id: nbqa-check-ast | ||
name: validate Python notebooks | ||
- id: nbqa-ruff |
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.
ruff handles notebook linting now. I don't think this is needed anymore.
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.
LGTM. My only reservation is conflicts with some of the changes to the effective area tests with #284
5ce85cf
to
78baa2a
Compare
nox -s docs
in the top-level directory.nox -s tests
. We can also run tests just withnox
since we set thetests
environment as the default.