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

Ruff cleanup #646

Closed
wants to merge 3,194 commits into from
Closed

Ruff cleanup #646

wants to merge 3,194 commits into from

Conversation

evelynmitchell
Copy link
Contributor

@evelynmitchell evelynmitchell commented Nov 27, 2024

I've cleaned up all the ruff errors I could, by removing a few duplicate imports, and silencing the errors which were incompatible with what your code intended.

There are two ruff errors left I don't know how to fix:

$ ruff check
swarms/tools/py_func_to_openai_func_str.py:22:51: F811 Redefinition of unused `get_args` from line 17
tests/agents/test_agent_logging.py:7:1: F811 Redefinition of unused `parse_and_execute_json` from line 4
Found 2 errors.

Thanks for looking at this.


📚 Documentation preview 📚: https://swarms--646.org.readthedocs.build/en/646/

kyegomez and others added 30 commits August 30, 2024 12:45
…stream events to the AgentRearrange & Agent classes PLUS added an example of how to use it
…port_for_langchain_astream_event_api_v1

adding NON-BREAKING/BACKWARDS-COMPATIBLE support for LangChain's v1 astream event
---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
…-0.5.1-and-lt-0.6.4

Update ruff requirement from >=0.5.1,<0.5.8 to >=0.5.1,<0.6.4
@kyegomez kyegomez force-pushed the master branch 3 times, most recently from 710b248 to e6d616b Compare November 27, 2024 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants