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 exception handling for missing isort package metadata #2226

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

Conversation

maheshsaripalli9
Copy link

This commit introduces a try-except block to handle the scenario where the isort package metadata is not available. In such cases, instead of raising an error, the version variable is set to an empty string.

This commit introduces a try-except block to handle the scenario where the isort package metadata is not available. In such cases, instead of raising an error, the __version__ variable is set to an empty string.
@maheshsaripalli9 maheshsaripalli9 changed the title Add exception handling for missing isort package metadata Changed tabs to spaces Jan 19, 2024
@maheshsaripalli9 maheshsaripalli9 changed the title Changed tabs to spaces Add exception handling for missing isort package metadata Jan 19, 2024
@maheshsaripalli9 maheshsaripalli9 changed the title Add exception handling for missing isort package metadata Add exception handling for missing isort package metadata. Jan 19, 2024
@maheshsaripalli9 maheshsaripalli9 changed the title Add exception handling for missing isort package metadata. Add exception handling for missing isort package metadata Jan 19, 2024
@maheshsaripalli9
Copy link
Author

Can you review this code? @timothycrosley

@maheshsaripalli9
Copy link
Author

Can you review this PR ? @staticdev

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