We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5464971 commit aee2f1cCopy full SHA for aee2f1c
2 files changed
.github/workflows/static-check.yml
@@ -0,0 +1,26 @@
1
+name: Pylint
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ static-check:
7
+ runs-on: ${{ matrix.os }}
8
+ strategy:
9
+ matrix:
10
+ os: [ubuntu-22.04]
11
+ python-version: ["3.10"]
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - name: Set up Python ${{ matrix.python-version }}
15
+ uses: actions/setup-python@v3
16
+ with:
17
+ python-version: ${{ matrix.python-version }}
18
+ - name: Install dependencies
19
+ run: |
20
+ python -m pip install --upgrade pylint
21
+ python -m pip install --upgrade isort
22
+ python -m pip install -r requirements.txt
23
+ - name: Analysing the code with pylint
24
25
+ isort $(git ls-files '*.py') --check-only --diff
26
+ pylint $(git ls-files '*.py')
0 commit comments