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

Remove flag_dir from read_from_flag() #7059

Merged
merged 4 commits into from
Feb 1, 2024
Merged

Conversation

akx
Copy link
Contributor

@akx akx commented Jan 18, 2024

Description

The argument isn't used by the function, and it doesn't seem to be used by external code across GitHub either.

This was flagged by Ruff's ARG lint.

@gradio-pr-bot
Copy link
Contributor

gradio-pr-bot commented Jan 18, 2024

🪼 branch checks and previews

Name Status URL
Spaces building...
Website ready! Website preview
Storybook ready! Storybook preview
Visual tests building...
🦄 Changes detected! Details

@gradio-pr-bot
Copy link
Contributor

gradio-pr-bot commented Jan 18, 2024

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
gradio minor

With the following changelog entry.

Remove flag_dir from read_from_flag()

⚠️ The changeset file for this pull request has been modified manually, so the changeset generation bot has been disabled. To go back into automatic mode, delete the changeset file.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

@abidlabs
Copy link
Member

abidlabs commented Feb 1, 2024

Thank you @akx!!

@abidlabs abidlabs merged commit 7ea8336 into gradio-app:main Feb 1, 2024
7 checks passed
@pngwn pngwn mentioned this pull request Feb 1, 2024
aliabid94 pushed a commit that referenced this pull request Feb 4, 2024
* Remove flag_dir from read_from_flag()

* fix

* remove unnecessary ruff exception

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
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.

None yet

3 participants