From 188bf4d79132da204afd3641693aa3ed31932e3e Mon Sep 17 00:00:00 2001 From: Aaron Rueth Date: Wed, 6 Nov 2024 16:48:16 +0000 Subject: [PATCH] Added Pylint --- .github/workflows/pylint.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pylint.yaml diff --git a/.github/workflows/pylint.yaml b/.github/workflows/pylint.yaml new file mode 100644 index 00000000..b2c968c7 --- /dev/null +++ b/.github/workflows/pylint.yaml @@ -0,0 +1,20 @@ +# https://black.readthedocs.io/en/stable/integrations/github_actions.html +name: Pylint +on: +- push +- pull_request +jobs: + python-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.12 + - run: | + python -m pip install --upgrade pip + pip install pylint + + - name: pylint + run: | + find . -name '*.py' -exec pylint {} \;