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