Skip to content

Commit

Permalink
sagemathgh-36522: Fix linter failure E401 multiple imports on one line
Browse files Browse the repository at this point in the history
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->
New linter failure
```
./sage/misc/persist.pyx:1133:19: E401 multiple imports on one line
1       E401 multiple imports on one line
```

<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36522
Reported by: Kwankyu Lee
Reviewer(s):
  • Loading branch information
Release Manager committed Oct 28, 2023
2 parents bab95c8 + c9f939b commit bb0f145
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sage/misc/persist.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,8 @@ def unpickle_all(target, debug=False, run_test_suite=False):
Successfully unpickled 1 objects.
Failed to unpickle 0 objects.
"""
import os.path, tarfile
import os.path
import tarfile
ok_count = 0
fail_count = 0
Expand Down

0 comments on commit bb0f145

Please sign in to comment.