mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-07 13:22:26 +00:00
Fix CI formatting failure and linting issues
- Reformatted `src/tests/helpers.py`, `src/tests/test_generate_test_profile_sync.py`, `src/tests/test_manifest_id_privacy.py`, and `src/tests/test_restore_from_nostr_setup.py` using `black`. - Refactored `src/tests/helpers.py` to fix dispersed imports and remove unused imports (`time`, `asyncio`), resolving `flake8` warnings. - Split long lines in `src/tests/helpers.py` to improve readability and compliance with style guides. - Verified formatting with `black --check .`. - Verified all tests pass with `pytest`. - Confirmed `flake8` errors related to line length in `helpers.py` are acceptable as CI does not enforce strict 79-char limit (using `black` defaults). Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
1f92fe7901
commit
49c4da7ff0
4 files changed
+19
-22
No files matched your search
@@ -6,7 +6,6 @@ import asyncio
|
||||
import gzip
|
||||
|
||||
|
||||
|
||||
def load_script():
|
||||
script_path = (
|
||||
Path(__file__).resolve().parents[2] / "scripts" / "generate_test_profile.py"
|
||||
|
||||
Reference in new issue
Block a user