NeurodataWithoutBorders / nwbinspector

Tool to help inspect NWB files for compliance with NWB Best Practices
https://nwbinspector.readthedocs.io/
Other
17 stars 10 forks source link

More ruff (isort) #497

Closed CodyCBakerPhD closed 2 months ago

CodyCBakerPhD commented 2 months ago

Motivation

Enabling the remaining isort checks (there's only I001 and I002, which we already activated)

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.14%. Comparing base (910ceba) to head (86cede6). Report is 1 commits behind head on dev.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497/graphs/tree.svg?width=650&height=150&src=pr&token=772QROR5F0&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders)](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders) ```diff @@ Coverage Diff @@ ## dev #497 +/- ## ========================================== + Coverage 82.06% 82.14% +0.07% ========================================== Files 47 47 Lines 1355 1355 ========================================== + Hits 1112 1113 +1 + Misses 243 242 -1 ``` | [Flag](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders) | `82.14% <100.00%> (+0.07%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders) | Coverage Δ | | |---|---|---| | [src/nwbinspector/\_configuration.py](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?src=pr&el=tree&filepath=src%2Fnwbinspector%2F_configuration.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders#diff-c3JjL253Ymluc3BlY3Rvci9fY29uZmlndXJhdGlvbi5weQ==) | `96.22% <100.00%> (ø)` | | | [src/nwbinspector/\_formatting.py](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?src=pr&el=tree&filepath=src%2Fnwbinspector%2F_formatting.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders#diff-c3JjL253Ymluc3BlY3Rvci9fZm9ybWF0dGluZy5weQ==) | `87.40% <100.00%> (ø)` | | | [src/nwbinspector/\_inspection.py](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?src=pr&el=tree&filepath=src%2Fnwbinspector%2F_inspection.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders#diff-c3JjL253Ymluc3BlY3Rvci9faW5zcGVjdGlvbi5weQ==) | `83.08% <100.00%> (ø)` | | | [src/nwbinspector/\_inspection\_cli.py](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?src=pr&el=tree&filepath=src%2Fnwbinspector%2F_inspection_cli.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders#diff-c3JjL253Ymluc3BlY3Rvci9faW5zcGVjdGlvbl9jbGkucHk=) | `83.05% <100.00%> (+1.69%)` | :arrow_up: | | [src/nwbinspector/\_organization.py](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?src=pr&el=tree&filepath=src%2Fnwbinspector%2F_organization.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders#diff-c3JjL253Ymluc3BlY3Rvci9fb3JnYW5pemF0aW9uLnB5) | `100.00% <100.00%> (ø)` | | | [src/nwbinspector/\_registration.py](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?src=pr&el=tree&filepath=src%2Fnwbinspector%2F_registration.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders#diff-c3JjL253Ymluc3BlY3Rvci9fcmVnaXN0cmF0aW9uLnB5) | `98.24% <100.00%> (ø)` | | | [src/nwbinspector/\_types.py](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?src=pr&el=tree&filepath=src%2Fnwbinspector%2F_types.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders#diff-c3JjL253Ymluc3BlY3Rvci9fdHlwZXMucHk=) | `95.83% <100.00%> (ø)` | | | [src/nwbinspector/checks/\_\_init\_\_.py](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?src=pr&el=tree&filepath=src%2Fnwbinspector%2Fchecks%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders#diff-c3JjL253Ymluc3BlY3Rvci9jaGVja3MvX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | | [src/nwbinspector/checks/\_behavior.py](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?src=pr&el=tree&filepath=src%2Fnwbinspector%2Fchecks%2F_behavior.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders#diff-c3JjL253Ymluc3BlY3Rvci9jaGVja3MvX2JlaGF2aW9yLnB5) | `100.00% <100.00%> (ø)` | | | [src/nwbinspector/checks/\_ecephys.py](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?src=pr&el=tree&filepath=src%2Fnwbinspector%2Fchecks%2F_ecephys.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders#diff-c3JjL253Ymluc3BlY3Rvci9jaGVja3MvX2VjZXBoeXMucHk=) | `100.00% <100.00%> (ø)` | | | ... and [15 more](https://app.codecov.io/gh/NeurodataWithoutBorders/nwbinspector/pull/497?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NeurodataWithoutBorders) | |