Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove black, switch to ruff for formatting #51

Merged
merged 5 commits into from
Feb 2, 2024
Merged

Conversation

BSchilperoort
Copy link
Contributor

@BSchilperoort BSchilperoort commented Feb 1, 2024

I moved to ruff. The way ruff handles the # fmt: off commands is a bit different so some small refactoring was required.

Additionally I added a way to skip running the slow tests to speed up development.

Some tests are quite memory intensive: perhaps the windows CI occasionally fails due to running out of memory.

@BSchilperoort BSchilperoort linked an issue Feb 1, 2024 that may be closed by this pull request
@BSchilperoort
Copy link
Contributor Author

There still seems to be an issue for the 3.11 Windows run. Last time restarting it worked.
The LAI test is also very slow, so perhaps looking at that would solve this problem.

Copy link

sonarqubecloud bot commented Feb 2, 2024

Copy link
Member

@SarahAlidoost SarahAlidoost left a comment

Choose a reason for hiding this comment

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

@BSchilperoort thanks for the fixes 👍 nice that you added the fixture slow from pytest . I liked it 😄

@BSchilperoort
Copy link
Contributor Author

@BSchilperoort thanks for the fixes 👍 nice that you added the fixture slow from pytest . I liked it 😄

Yes the pytest test marks are really nice! Thanks for the review 😄

@BSchilperoort BSchilperoort merged commit 8e0bf7d into main Feb 2, 2024
10 checks passed
@BSchilperoort BSchilperoort deleted the ruff-formatter branch February 2, 2024 12:11
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.

Move to Ruff for formatting
2 participants