Skip to content

Commit

Permalink
style: fix Python formatting in Camel example files
Browse files Browse the repository at this point in the history
Co-Authored-By: Alex Reibman <meta.alex.r@gmail.com>
  • Loading branch information
devin-ai-integration[bot] and areibman committed Dec 12, 2024
1 parent 9d92931 commit ec0b0f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
15 changes: 4 additions & 11 deletions examples/camel_examples/create_notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,23 +170,16 @@

# Set the notebook metadata
nb.metadata = {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"kernelspec": {"display_name": "Python 3", "language": "python", "name": "python3"},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"codemirror_mode": {"name": "ipython", "version": 3},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12"
}
"version": "3.12",
},
}


Expand Down
6 changes: 1 addition & 5 deletions examples/camel_examples/verify_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@


def verify_packages():
required_packages = [
("camel", "camel-ai[all]"),
("agentops", "agentops"),
("jupyter", "jupyter")
]
required_packages = [("camel", "camel-ai[all]"), ("agentops", "agentops"), ("jupyter", "jupyter")]

all_passed = True
for module_name, package_name in required_packages:
Expand Down

0 comments on commit ec0b0f9

Please sign in to comment.