##// END OF EJS Templates
Graphviz is only needed for docs build
Graphviz is only needed for docs build

File last commit:

r26404:52d8ed4b
r26439:9fb0ed5a
Show More
mypy.yml
33 lines | 738 B | text/x-yaml | YamlLexer
name: Run MyPy
on:
push:
branches: [ master, 7.x]
pull_request:
branches: [ master, 7.x]
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
pip install mypy pyflakes flake8
- name: Lint with mypy
run: |
mypy IPython/terminal/ptutils.py
mypy IPython/core/c*.py
- name: Lint with pyflakes
run: |
flake8 IPython/core/magics/script.py