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