mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-06-26 22:00:13 +00:00
29 lines
490 B
YAML
29 lines
490 B
YAML
name: run docstrings linting
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- reopened
|
|
- synchronize
|
|
- ready_for_review
|
|
paths:
|
|
- "**.py"
|
|
|
|
env:
|
|
HATCH_VERSION: "1.14.1"
|
|
|
|
jobs:
|
|
docstrings-linting:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Hatch
|
|
run: pip install hatch==${{ env.HATCH_VERSION }}
|
|
|
|
- name: ruff docstrings linting
|
|
run: hatch run ruff check haystack
|