haystack/.github/workflows/docstrings_linting.yml
David S. Batista 958f1eb3a3
doc: adding docstring linting based on ruff (#7463)
* wip: docstrings linting

* set ruff rules
2024-04-23 18:43:09 +02:00

21 lines
359 B
YAML

name: run docstrings linting
on:
push:
branches:
- docstrings-linting
jobs:
docstrings-linting:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Hatch
run: pip install hatch=="1.9.3"
- name: ruff docstrings linting
run: hatch run ruff check haystack