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
27 changes: 23 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ on:
branches: [ main ]

jobs:
ci:
name: test
test:
name: Run Tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

Expand All @@ -26,4 +25,24 @@ jobs:
run: uv sync --locked --all-extras --dev

- name: Run tests
run: uv run pytest
run: uv run pytest

lint:
name: Run Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5

- name: Install Python
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"

- name: Install project
run: uv sync --locked --all-extras --group lint

- name: Run lint
run: uv run ruff check
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ select = [
"UP", # pyupgrade
"D", # docstrings
]
ignore = [
"D100", # Ok to not have docstring for public modules
"D104", # Ok to not have docstring for public package
"D401", # First line of docstring in imperative mode
]
isort = { combine-as-imports = true, known-first-party = ["deepset_mcp"] }

[tool.ruff.lint.pydocstyle]
Expand Down
Loading