Skip to content

Run ruff formatting and unit tests for all pull requests.#331

Merged
TeresiaOlsson merged 1 commit into
mainfrom
update-workflow
Jul 13, 2026
Merged

Run ruff formatting and unit tests for all pull requests.#331
TeresiaOlsson merged 1 commit into
mainfrom
update-workflow

Conversation

@TeresiaOlsson

Copy link
Copy Markdown
Member

I suggest that we update the workflow to run ruff formatting and unit tests for all pull requests and not just when pushing to main so we can catch the errors as early as possible.

@TeresiaOlsson TeresiaOlsson self-assigned this Jul 10, 2026

@gubaidulinvadim gubaidulinvadim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised it's set up only for main. Anyhow, I think we've shared how to set up a git hook to check ruff on commit.

@TeresiaOlsson

Copy link
Copy Markdown
Member Author

Yes, if you install with the dev dependencies you also get the pre installation hooks. Its' only if you forget to install those dependencies that you can commit without it.

@TeresiaOlsson TeresiaOlsson merged commit 37f67cf into main Jul 13, 2026
3 checks passed
@gubaidulinvadim gubaidulinvadim deleted the update-workflow branch July 13, 2026 12:12
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