##// END OF EJS Templates
Fix HistoryAccessor.get_tail bug (#13666)...
Fix HistoryAccessor.get_tail bug (#13666) Current implementation of get_tail in HistoryAccessor assumes context present only in subclass , so it's moved there and the old implementation is restored.

File last commit:

r26485:288afbf3
r27707:ebea766c
Show More
mypy.yml
34 lines | 783 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 -p IPython.terminal
mypy -p IPython.core.magics
- name: Lint with pyflakes
run: |
flake8 IPython/core/magics/script.py
flake8 IPython/core/magics/packaging.py