-
Notifications
You must be signed in to change notification settings - Fork 16.6k
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
all: Improve make lint command #25344
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
5083c2b
to
a9a31dc
Compare
It seems one of the CI runner is out of memory. |
daa270f
to
9002844
Compare
poetry run ruff format $(PYTHON_FILES) --diff | ||
poetry run ruff --select I $(PYTHON_FILES) | ||
mkdir -p $(MYPY_CACHE); poetry run mypy $(PYTHON_FILES) --cache-dir $(MYPY_CACHE) | ||
[ "$(PYTHON_FILES)" = "" ] || poetry run ruff $(PYTHON_FILES) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be run ruff check ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it think it should.
I can open another PR for it.
bypassing ai21 - known issue in their underlying sdk |
ruff check --select I
asI
is already selected and checked in the mainruff check
commandPYTHON_FILES
ruff check
only onPYTHON_FILES