chore: lint hygiene on tests/integration folder#124
Open
qlrd wants to merge 1 commit into
Open
Conversation
This commit apply some formatting, lint and import sorting on `tests/` folder with ruff and isort (with black profile) tools. Follow up of diybitcoinhardware#118.
There was a problem hiding this comment.
Pull request overview
Lint and import hygiene applied to the tests/integration folder using ruff and isort (black profile). Imports are reordered into standard groups (stdlib, third-party, local) and split onto individual lines.
Changes:
- Split multi-import lines into one import per line.
- Reordered imports per isort/black conventions across test and util modules.
- No functional code changes.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/integration/run_tests.py | Reorder stdlib imports above local util imports. |
| tests/integration/tests/test_psbt.py | Sort imports into stdlib / local / embit groups. |
| tests/integration/tests/test_pset.py | Sort imports into stdlib / local / embit groups. |
| tests/integration/util/bitcoin.py | Alphabetize stdlib imports. |
| tests/integration/util/liquid.py | Add blank line between stdlib and local imports. |
| tests/integration/util/rpc.py | Split combined imports and sort. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
tests/ foldertests/integration folder
odudex
approved these changes
May 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR apply some formatting, lint and import sorting on
tests/integrationfolder with ruff and isort (with black profile) tools.Follow up of #118.