remove doc coverage #334
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Style check | |
on: push | |
jobs: | |
style-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
# Allow loading a cached venv created in a previous run if the lock file is identical | |
- name: Load cached venv if it exists | |
id: venv-cache | |
uses: actions/cache@v4 | |
with: | |
path: .venv | |
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock', '**/pyproject.toml') }} | |
- name: Install dependencies | |
if: steps.venv-cache.outputs.cache-hit != 'true' | |
run: poetry install --no-interaction --only dev | |
- name: Check linting with Ruff | |
run: poetry run ruff check | |
- name: Check format with Ruff | |
run: poetry run ruff format --check | |
# - name: Check docstring coverage | |
# run: poetry run docstr-coverage ./**/*.py --fail-under 20 --verbose=2 |