Skip to content
Merged
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
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,3 @@ jobs:
git diff --exit-code
- name: Formatting check
run: uv run --frozen ruff format --check
- name: Typing check
run: uv run --frozen ty check
3 changes: 3 additions & 0 deletions .github/workflows/test-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
version: 0.7
- name: Install dependencies
run: uv sync --frozen
- name: Type check
run: uv run --frozen ty check
working-directory: packages/bot
- name: Run tests
run: PYTHON_ENV=test uv run --frozen pytest --cov=src --cov-report=xml
working-directory: packages/bot
Expand Down
2 changes: 1 addition & 1 deletion packages/bot/src/automa/bot/resources/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def get_diff(path: str) -> str:


class CodeFolder:
def __init__(self, path: str):
def __init__(self, path: str | Path):
self.path = path

def add(self, paths: str | list[str]) -> None:
Expand Down