aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <156287552+ccleberg@users.noreply.github.com>2024-10-19 16:40:03 +0000
committerGitHub <noreply@github.com>2024-10-19 16:40:03 +0000
commit7ac171a45380772b040800786db0b9384b4e11d8 (patch)
tree08e2d6deed43cadbf5a91999ede8cd9e7b27a7ec
parenta94928e85b0830be10a46055121f7e86775ddb79 (diff)
downloadaudit-tools-7ac171a45380772b040800786db0b9384b4e11d8.tar.gz
audit-tools-7ac171a45380772b040800786db0b9384b4e11d8.tar.bz2
audit-tools-7ac171a45380772b040800786db0b9384b4e11d8.zip
Create pylint.yml
-rw-r--r--.github/workflows/pylint.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml
new file mode 100644
index 0000000..c73e032
--- /dev/null
+++ b/.github/workflows/pylint.yml
@@ -0,0 +1,23 @@
+name: Pylint
+
+on: [push]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version: ["3.8", "3.9", "3.10"]
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v3
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install dependencies
+ run: |
+ python -m pip install --upgrade pip
+ pip install pylint
+ - name: Analysing the code with pylint
+ run: |
+ pylint $(git ls-files '*.py')