From 7668cf1631a853513ae941014d7c6970341ef637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9-Abush=20Clause?= Date: Fri, 31 Jul 2020 04:02:35 +0200 Subject: [PATCH] New GitHub Action: lint-pep8radius.yml --- .github/workflows/lint-pep8radius.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lint-pep8radius.yml diff --git a/.github/workflows/lint-pep8radius.yml b/.github/workflows/lint-pep8radius.yml new file mode 100644 index 00000000..f813ee34 --- /dev/null +++ b/.github/workflows/lint-pep8radius.yml @@ -0,0 +1,23 @@ +name: Lint with pep8radius +on: [pull_request] + +jobs: + run-linter: + runs-on: ubuntu-latest + steps: + - name: checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: setup python + uses: actions/setup-python@v1 + with: + python-version: 3.7 + - name: install pep8radius + run: pip install --upgrade git+https://github.com/hayd/pep8radius.git + - name: run pep8radius + run: pep8radius 46ba139a --docformatter + - name: run pep8radius 2 + run: pep8radius formattings --docformatter + - name: run pep8radius 3 + run: pep8radius master --docformatter \ No newline at end of file