audit-labs/audit-tools

A collection of scripts, queries, and other goodies you can use in an audit. audit automation compliance evidence scripts

Commit 90eb51c63f

90eb51c63f6c1a5c797b939fc6e080d483a41abb

parent: c3ce791391

Unsigned

Christian Cleberg <156287552+ccleberg@users.noreply.github.com> · 2024-10-19 16:40 UTC
committer: <noreply@github.com>

Create pylint.yml

Layout: unified · split

.github/workflows/pylint.yml added +23
@@ -0,0 +1,23 @@
1name: Pylint
2
3on: [push]
4
5jobs:
6 build:
7 runs-on: ubuntu-latest
8 strategy:
9 matrix:
10 python-version: ["3.8", "3.9", "3.10"]
11 steps:
12 - uses: actions/checkout@v4
13 - name: Set up Python ${{ matrix.python-version }}
14 uses: actions/setup-python@v3
15 with:
16 python-version: ${{ matrix.python-version }}
17 - name: Install dependencies
18 run: |
19 python -m pip install --upgrade pip
20 pip install pylint
21 - name: Analysing the code with pylint
22 run: |
23 pylint $(git ls-files '*.py')