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 pep8-naming ruff rule #993

Merged
merged 2 commits into from
Jul 17, 2024
Merged

Add pep8-naming ruff rule #993

merged 2 commits into from
Jul 17, 2024

Conversation

collindutter
Copy link
Member

@collindutter collindutter commented Jul 17, 2024

Describe your changes

Add pep8-naming ruff rule.

Issue ticket number and link

NA


📚 Documentation preview 📚: https://griptape--993.org.readthedocs.build//993/

@collindutter collindutter requested a review from dylanholmes July 17, 2024 18:42
Copy link

codecov bot commented Jul 17, 2024

Codecov Report

Attention: Patch coverage is 94.23077% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
..._transcription/dummy_audio_transcription_driver.py 50.00% 1 Missing ⚠️
griptape/drivers/prompt/dummy_prompt_driver.py 66.66% 1 Missing ⚠️
...vers/text_to_speech/dummy_text_to_speech_driver.py 50.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Comment on lines -113 to +114
GenerationConfig = import_optional_dependency("google.generativeai.types").GenerationConfig
ContentDict = import_optional_dependency("google.generativeai.types").ContentDict
Part = import_optional_dependency("google.generativeai.protos").Part
types = import_optional_dependency("google.generativeai.types")
protos = import_optional_dependency("google.generativeai.protos")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I liked it better before, but 🤷

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this one is a little weird, but I think I'd rather go for consistency.

@collindutter collindutter merged commit 2c86a25 into dev Jul 17, 2024
12 checks passed
@collindutter collindutter deleted the feature/ruff-pep8-naming branch July 17, 2024 21:08
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