We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8a832e6 + 7e40732 commit 74e90d0Copy full SHA for 74e90d0
.github/workflows/mypy.yml
@@ -0,0 +1,27 @@
1
+name: MyPy
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ matrix:
10
+ python-version: ["3.10", "3.11", "3.12"]
11
+ steps:
12
+ - uses: actions/checkout@v3
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 mypy
21
+ pip install -r requirements.txt
22
+ - name: Install stubs
23
24
+ mypy --install-types --non-interactive $(git ls-files '*.py')
25
+ - name: Analysing the code with pylint
26
27
+ mypy $(git ls-files '*.py')
0 commit comments