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

Add pre-commit and workflows for linting and formatting using ruff #18

Merged
merged 8 commits into from
Dec 10, 2024

Conversation

lunkwill42
Copy link
Member

The rules are kept analogous to argus-server.

@lunkwill42 lunkwill42 self-assigned this Dec 10, 2024
@lunkwill42 lunkwill42 force-pushed the dev/add-precommit-and-ruff-formatting branch from 19ea31a to 423a8f1 Compare December 10, 2024 11:02
Copy link
Contributor

@hmpf hmpf left a comment

Choose a reason for hiding this comment

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

Add the missing newline just in case.

.gitignore Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
Similar to our other projects, this introduces linting/formatting
using ruff.

It also fixes slightly broken gitignore patterns that were in the way.
The changes were so slight that I won't bother with a
`.git-blame-ignore-revs` file.
@lunkwill42 lunkwill42 force-pushed the dev/add-precommit-and-ruff-formatting branch from d1ee248 to 2b69fab Compare December 10, 2024 11:42
@lunkwill42 lunkwill42 merged commit 264ef18 into master Dec 10, 2024
13 checks passed
@lunkwill42 lunkwill42 deleted the dev/add-precommit-and-ruff-formatting branch December 10, 2024 11:44
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