mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
Fixup
This commit is contained in:
14
AGENTS.md
14
AGENTS.md
@@ -129,17 +129,15 @@ uv run pytest --cov=workflows --cov=activities
|
|||||||
## Linting and Code Quality
|
## Linting and Code Quality
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Format code
|
# Using poe tasks
|
||||||
|
uv run poe format # Format code with black and isort
|
||||||
|
uv run poe lint # Check code style and types
|
||||||
|
uv run poe test # Run test suite
|
||||||
|
|
||||||
|
# Manual commands
|
||||||
uv run black .
|
uv run black .
|
||||||
uv run isort .
|
uv run isort .
|
||||||
|
|
||||||
# Check code style and types
|
|
||||||
uv run black --check .
|
|
||||||
uv run isort --check-only .
|
|
||||||
uv run mypy --check-untyped-defs --namespace-packages .
|
uv run mypy --check-untyped-defs --namespace-packages .
|
||||||
|
|
||||||
# Run test suite
|
|
||||||
uv run pytest
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Agent Customization
|
## Agent Customization
|
||||||
|
|||||||
@@ -8,14 +8,22 @@ This document provides guidelines for contributing to `temporal-ai-agent`. All s
|
|||||||
We use `black` for code formatting and `isort` for import sorting to maintain a consistent codebase.
|
We use `black` for code formatting and `isort` for import sorting to maintain a consistent codebase.
|
||||||
- **Format code:**
|
- **Format code:**
|
||||||
```bash
|
```bash
|
||||||
|
uv run poe format
|
||||||
|
```
|
||||||
|
Or manually
|
||||||
|
```
|
||||||
uv run black .
|
uv run black .
|
||||||
uv run isort .
|
uv run isort .
|
||||||
```
|
```
|
||||||
Please format your code before committing.
|
Please format your code before committing.
|
||||||
|
|
||||||
### Linting & Type Checking
|
### Linting & Type Checking
|
||||||
We use `mypy` for static type checking.
|
We use `mypy` for static type checking and other linters configured via `poe`.
|
||||||
- **Run type checks:**
|
- **Run linters and type checks:**
|
||||||
|
```bash
|
||||||
|
uv run poe lint
|
||||||
|
```
|
||||||
|
Or manually for type checking:
|
||||||
```bash
|
```bash
|
||||||
uv run mypy --check-untyped-defs --namespace-packages .
|
uv run mypy --check-untyped-defs --namespace-packages .
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user