##// END OF EJS Templates
Run mypy on more files.
Run mypy on more files.

File last commit:

r26484:1b289e4f
r26484:1b289e4f
Show More
mypy.yml
45 lines | 1.2 KiB | text/x-yaml | YamlLexer
Matthias Bussonnier
run mypy on github action...
r26158 name: Run MyPy
on:
push:
Matthias Bussonnier
fixup release note and testing
r26404 branches: [ master, 7.x]
Matthias Bussonnier
run mypy on github action...
r26158 pull_request:
Matthias Bussonnier
fixup release note and testing
r26404 branches: [ master, 7.x]
Matthias Bussonnier
run mypy on github action...
r26158
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Matthias Bussonnier
pyflakes to avoid missing imports
r26208 pip install mypy pyflakes flake8
Matthias Bussonnier
run mypy on github action...
r26158 - name: Lint with mypy
run: |
mypy IPython/terminal/ptutils.py
Matthias Bussonnier
Run mypy on more files.
r26484 mypy IPython/core/magics/*.py
mypy IPython/terminal/__init__.py
mypy IPython/terminal/console.py
#mypy IPython/terminal/debugger.py
#mypy IPython/terminal/embed.py
mypy IPython/terminal/interactiveshell.py
mypy IPython/terminal/ipapp.py
mypy IPython/terminal/magics.py
mypy IPython/terminal/prompts.py
mypy IPython/terminal/ptshell.py
mypy IPython/terminal/ptutils.py
mypy IPython/terminal/shortcuts.py
Matthias Bussonnier
run mypy on github action...
r26158 mypy IPython/core/c*.py
Matthias Bussonnier
pyflakes to avoid missing imports
r26208 - name: Lint with pyflakes
run: |
flake8 IPython/core/magics/script.py