We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 541f006 commit 6366315Copy full SHA for 6366315
.github/workflows/pylint.yml
@@ -0,0 +1,27 @@
1
+name: Pylint
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ lint:
7
+ runs-on: [macos-latest, ubuntu-latest]
8
+ strategy:
9
+ matrix:
10
+ python-version: ["3.10"]
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - name: Set up Python ${{ matrix.python-version }}
14
+ uses: actions/setup-python@v4
15
+ with:
16
+ python-version: ${{ matrix.python-version }}
17
+ - name: Install dependencies
18
+ run: |
19
+ # conda activate opencbdc_env
20
+ python -m pip install --upgrade pip
21
+ if [ -f requirements_py.txt ]; then pip install -r requirements_py.txt; fi
22
+ pip install pylint
23
+ - name: Lint with Pylint
24
25
26
+ pylint $(git ls-files '*.py')
27
0 commit comments