From 06e542380f8729477722e8a9c89733640d5a93d2 Mon Sep 17 00:00:00 2001 From: Pavel Tisnovsky Date: Wed, 2 Oct 2024 14:58:31 +0200 Subject: [PATCH] Pydocstyle checker on CI --- .github/workflows/black.yaml | 2 +- .github/workflows/pydocstyle.yaml | 13 +++++++++++++ .github/workflows/radon.yaml | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/pydocstyle.yaml diff --git a/.github/workflows/black.yaml b/.github/workflows/black.yaml index 81e6a948..df3ca81f 100644 --- a/.github/workflows/black.yaml +++ b/.github/workflows/black.yaml @@ -1,4 +1,4 @@ -name: Lint +name: Black on: [push, pull_request] diff --git a/.github/workflows/pydocstyle.yaml b/.github/workflows/pydocstyle.yaml new file mode 100644 index 00000000..5b475a15 --- /dev/null +++ b/.github/workflows/pydocstyle.yaml @@ -0,0 +1,13 @@ +name: Pydocstyle + +on: [push, pull_request] + +jobs: + mypy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Pydocstyle install + run: pip install --user pydocstyle + - name: Python docstring checks + run: pydocstyle -v . diff --git a/.github/workflows/radon.yaml b/.github/workflows/radon.yaml index ce2adda3..71b68adc 100644 --- a/.github/workflows/radon.yaml +++ b/.github/workflows/radon.yaml @@ -1,4 +1,4 @@ -name: Lint +name: Radon on: [push, pull_request]