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

Flake8cleanup #649

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open

Conversation

evelynmitchell
Copy link
Contributor

@evelynmitchell evelynmitchell commented Nov 28, 2024

This patch suppresses or fixes all the flake8 whitespace errors.
It also adds at the top level a .flake8 config which will suppress all the line too long warnings.

There are a few flake8 warnings I didn't know how to fix:

./auto_swarm_builder.py:14:1: F811 redefinition of unused 'logger' from line 1
./tests/agents/test_agent_logging.py:7:1: F811 redefinition of unused 'parse_and_execute_json' from line 4
./swarms/utils/calculate_func_metrics.py:12:1: F811 redefinition of unused 'logger' from line 7
./swarms/structs/agent.py:1795:37: E203 whitespace before ':'
./swarms/tools/py_func_to_openai_func_str.py:22:1: F811 redefinition of unused 'get_args' from line 5

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

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.

2 participants