langchain/templates/python-lint/python_lint/__init__.py
Joshua Sundance Bailey cfd27b1786
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
2024-01-01 16:25:03 -08:00

4 lines
84 B
Python

from python_lint.agent_executor import agent_executor
__all__ = ["agent_executor"]