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 ruff format #143

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

scottstanie
Copy link
Contributor

  • Ran ruff-lint on the codebase
  • Added .pre-commit-config.yaml to have the linter auto run for all PRs
  • Added the ..git-blame-ignore-revs file so git blame is not lost
pre-commit install

To check before the actual commit:

pre-commit run -a
$ git commit -am 'Add .pre-commit, ignore large format commit'
check for case conflicts.................................................Passed
check docstring is first.............................(no files to check)Skipped
check for merge conflicts................................................Passed
check yaml...............................................................Passed
debug statements (python)............................(no files to check)Skipped
fix end of files.........................................................Passed
file contents sorter.................................(no files to check)Skipped
mixed line ending........................................................Passed
trim trailing whitespace.................................................Passed
ruff-format..........................................(no files to check)Skipped
[add-ruff-format 1880d20] Add .pre-commit, ignore large format commit
 2 files changed, 38 insertions(+)
 create mode 100644 .git-blame-ignore-revs
 create mode 100644 .pre-commit-config.yaml

@scottstanie scottstanie requested review from seongsujeong and gshiroma and removed request for seongsujeong February 19, 2025 20:10
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