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

fix: pre-commit hook raising false alarm #2005

Merged
merged 2 commits into from
Apr 7, 2024

Conversation

kyujin-cho
Copy link
Member

Follow-up PR of #1998. This PR explicitly marks alembic as a third party package on ruff's isort config to avoid ruff from think that the package pretending to be a first-party one. Those confusion is caused by our ai.backend.manager.models.alembic package having identical name with the third-party alembic.

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version
  • Mention to the original issue

@kyujin-cho kyujin-cho added the skip:changelog Make the action workflow to skip towncrier check label Apr 7, 2024
@kyujin-cho kyujin-cho added this to the 24.03 milestone Apr 7, 2024
@kyujin-cho kyujin-cho self-assigned this Apr 7, 2024
@github-actions github-actions bot added the size:XS ~10 LoC label Apr 7, 2024
@kyujin-cho kyujin-cho changed the title fix: pre-commit hook reporting false error fix: pre-commit hook raising false alarm Apr 7, 2024
@kyujin-cho kyujin-cho added this pull request to the merge queue Apr 7, 2024
Merged via the queue into main with commit 95fb605 Apr 7, 2024
26 checks passed
@kyujin-cho kyujin-cho deleted the fix/explicit-thirt-party-package-ruff branch April 7, 2024 06:24
kyujin-cho added a commit that referenced this pull request Apr 7, 2024
Backported-from: main (24.09)
Backported-to: 24.03
@inureyes
Copy link
Member

inureyes commented Apr 7, 2024

LGTM

@achimnol
Copy link
Member

achimnol commented Apr 8, 2024

Maybe related to pantsbuild/pants#18410.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS ~10 LoC skip:changelog Make the action workflow to skip towncrier check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants