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:
Joshua Sundance Bailey
2024-01-01 19:25:03 -05:00
committed by GitHub
parent cf2dd2fa25
commit cfd27b1786
7 changed files with 348 additions and 0 deletions

View File