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 hook for ruff #708

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Add pre-commit hook for ruff #708

merged 1 commit into from
Jan 7, 2025

Conversation

relf
Copy link
Member

@relf relf commented Jan 7, 2025

Add ruff linting and formatting configuration for pre-commit.

Basically, if pre-commit is not already installed, you have to:

  1. pip install pre-commit
  2. pre-commit install

then ruff linting and formatting will run automatically on commit.

See pre-commit quickstart.

@relf relf merged commit 5ddace1 into SMTorg:master Jan 7, 2025
11 checks passed
@relf relf deleted the add-precommit branch January 7, 2025 10: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.

1 participant