Skip to content

Fix for lint error complaining of bare except during CI builds. #6470

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

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

HanClinto
Copy link
Collaborator

As discussed here, adding small qualification to except clause to fix the CI linter breaking on build, complaining of ./convert-hf-to-gguf.py:516:9: E722 do not use bare 'except'

While it would be better to use a more specific class other than Exception to fall back for SEA-LION support, this may be good enough...?

@HanClinto HanClinto mentioned this pull request Apr 4, 2024
@ggerganov ggerganov merged commit 72d73af into ggml-org:master Apr 4, 2024
tybalex pushed a commit to rubra-ai/tools.cpp that referenced this pull request Apr 17, 2024
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.

2 participants