Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
repos:
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
files: ^src/
- repo: https://github.com/terrencepreilly/darglint
rev: v1.8.1
hooks:
- id: darglint
files: ^src/
args: ["-v", "2", "-z", "short"]
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,16 @@ Here's a list of relevant env. variables that are used by AgentLab:
- `AGENTLAB_EXP_ROOT`, desired path for your experiments to be stored, defaults to `~/agentlab-results`.
- `AGENTXRAY_SHARE_GRADIO`, which prompts AgentXRay to open a public tunnel on launch.

## Contributing

For development, install the dev extras and the pre-commit hooks so formatting
(black) and docstring checks (darglint) run automatically before each commit:

```bash
pip install -e ".[dev]"
pre-commit install
```

## Misc

if you want to download HF models more quickly
Expand Down
Loading