mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-29 15:28:54 +00:00
python-lint (#14689)
# Description: _python-lint_ This agent writes Python code that is formatted and linted using `black`, `ruff`, and `mypy`, but does not execute the code. It writes the code to a temporary file and then runs the linters. Once these checks pass, the code is returned. # Dependencies - black - ruff - mypy # Demo The functionality can be seen here: https://huggingface.co/spaces/joshuasundance/langchain-streamlit-demo
This commit is contained in:
committed by
GitHub
parent
cf2dd2fa25
commit
cfd27b1786
3
templates/python-lint/python_lint/__init__.py
Normal file
3
templates/python-lint/python_lint/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from python_lint.agent_executor import agent_executor
|
||||
|
||||
__all__ = ["agent_executor"]
|
Reference in New Issue
Block a user