Skip to content

ruff format + github action to check formatting #52

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tjoms99
Copy link

@Tjoms99 Tjoms99 commented Dec 18, 2024

Issue #51

Having a standard linter to format the code will mitigate unrelated formatting changes that IDE's use (VSCode as an example) when contributing to this codebase. This will help with keeping the repo clean and tidy.

All that is needed is to run

ruff format . 

In the root directory before pushing to the repo.

Also added a github action to check the ruff formatting on every push.

Copy link
Collaborator

@wlgrd wlgrd left a comment

Choose a reason for hiding this comment

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

Agreeing that this should be put in to use :)

@Tjoms99
Copy link
Author

Tjoms99 commented Feb 11, 2025

Thanks for the feedback, should be alright now

@Tjoms99 Tjoms99 changed the title ruff run and added github action to check formatting ruff format + github action to check formatting Feb 11, 2025
@Tjoms99 Tjoms99 requested a review from wlgrd February 11, 2025 14:18
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