-
Notifications
You must be signed in to change notification settings - Fork 37
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
CI: Add linting action that uses pre-commit and ruff. #797
Conversation
I need to find a way for it to ignore removing the imports in the try and except blocks |
@mgrover1 Is there a way for precommit to fix the 600 or so long line errors? Or do i have to manually go in and fix all 600.... Or is there another way around it? |
@zssherman - you can fix these files using ruff, which is part of the pre-commit hooks See https://docs.astral.sh/ruff/tutorial/#getting-started You can run ruff check . --fix to automatically go in and fix those files |
@mgrover1 Hmm sadly it doesn't do anything at all from the act directory. |
@mgrover1 I think I figured it out, was missing that addition of ruff to the pyproject.yml |
No description provided.