##// END OF EJS Templates
Run mypy on more files.
Matthias Bussonnier -
Show More
@@ -1,33 +1,45 b''
1 1 name: Run MyPy
2 2
3 3 on:
4 4 push:
5 5 branches: [ master, 7.x]
6 6 pull_request:
7 7 branches: [ master, 7.x]
8 8
9 9 jobs:
10 10 build:
11 11
12 12 runs-on: ubuntu-latest
13 13 strategy:
14 14 matrix:
15 15 python-version: [3.8]
16 16
17 17 steps:
18 18 - uses: actions/checkout@v2
19 19 - name: Set up Python ${{ matrix.python-version }}
20 20 uses: actions/setup-python@v2
21 21 with:
22 22 python-version: ${{ matrix.python-version }}
23 23 - name: Install dependencies
24 24 run: |
25 25 python -m pip install --upgrade pip
26 26 pip install mypy pyflakes flake8
27 27 - name: Lint with mypy
28 28 run: |
29 29 mypy IPython/terminal/ptutils.py
30 mypy IPython/core/magics/*.py
31 mypy IPython/terminal/__init__.py
32 mypy IPython/terminal/console.py
33 #mypy IPython/terminal/debugger.py
34 #mypy IPython/terminal/embed.py
35 mypy IPython/terminal/interactiveshell.py
36 mypy IPython/terminal/ipapp.py
37 mypy IPython/terminal/magics.py
38 mypy IPython/terminal/prompts.py
39 mypy IPython/terminal/ptshell.py
40 mypy IPython/terminal/ptutils.py
41 mypy IPython/terminal/shortcuts.py
30 42 mypy IPython/core/c*.py
31 43 - name: Lint with pyflakes
32 44 run: |
33 45 flake8 IPython/core/magics/script.py
General Comments 0
You need to be logged in to leave comments. Login now