Skip to content

[Repo Assist] Fix ruff lint issues in test_scheduler; remove test_subject/test_scheduler from ruff exclude; standardise setup-python@v5#755

Merged
dbrattli merged 1 commit into
masterfrom
repo-assist/testing-improvements-2026-04-17-5e55b8d05a9bf3ee
Apr 17, 2026
Merged

[Repo Assist] Fix ruff lint issues in test_scheduler; remove test_subject/test_scheduler from ruff exclude; standardise setup-python@v5#755
dbrattli merged 1 commit into
masterfrom
repo-assist/testing-improvements-2026-04-17-5e55b8d05a9bf3ee

Conversation

@dbrattli

Copy link
Copy Markdown
Collaborator
  • Fix I001 (import ordering) in test_asyncioscheduler.py
  • Fix E402 (post-importorskip imports) in test_ioloopscheduler.py,
    test_twistedscheduler.py, and test_gtkscheduler.py using noqa comments
  • Fix UP031 (%-formatting → f-strings) and UP004 (object base class)
    in test_historicalscheduler.py
  • Remove tests/test_scheduler and tests/test_subject from ruff exclude
    list; both now pass all ruff checks
  • Standardise CI to actions/setup-python@v5 in code-quality job

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

…tandardise setup-python@v5

- Fix I001 (import ordering) in test_asyncioscheduler.py
- Fix E402 (post-importorskip imports) in test_ioloopscheduler.py,
  test_twistedscheduler.py, and test_gtkscheduler.py using noqa comments
- Fix UP031 (%-formatting → f-strings) and UP004 (object base class)
  in test_historicalscheduler.py
- Remove tests/test_scheduler and tests/test_subject from ruff exclude
  list; both now pass all ruff checks
- Standardise CI to actions/setup-python@v5 in code-quality job

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 93.453%. remained the same — repo-assist/testing-improvements-2026-04-17-5e55b8d05a9bf3ee into master

@dbrattli dbrattli merged commit a55e647 into master Apr 17, 2026
64 of 69 checks passed
@dbrattli dbrattli deleted the repo-assist/testing-improvements-2026-04-17-5e55b8d05a9bf3ee branch April 17, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants