Show More
@@ -1,34 +1,34 b'' | |||||
1 | name: Run MyPy |
|
1 | name: Run MyPy | |
2 |
|
2 | |||
3 | on: |
|
3 | on: | |
4 | push: |
|
4 | push: | |
5 | branches: [ main, 7.x] |
|
5 | branches: [ main, 7.x] | |
6 | pull_request: |
|
6 | pull_request: | |
7 | branches: [ main, 7.x] |
|
7 | branches: [ main, 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@v |
|
18 | - uses: actions/checkout@v3 | |
19 | - name: Set up Python ${{ matrix.python-version }} |
|
19 | - name: Set up Python ${{ matrix.python-version }} | |
20 |
uses: actions/setup-python@v |
|
20 | uses: actions/setup-python@v4 | |
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 -p IPython.terminal |
|
29 | mypy -p IPython.terminal | |
30 | mypy -p IPython.core.magics |
|
30 | mypy -p IPython.core.magics | |
31 | - name: Lint with pyflakes |
|
31 | - name: Lint with pyflakes | |
32 | run: | |
|
32 | run: | | |
33 | flake8 IPython/core/magics/script.py |
|
33 | flake8 IPython/core/magics/script.py | |
34 | flake8 IPython/core/magics/packaging.py |
|
34 | flake8 IPython/core/magics/packaging.py |
General Comments 0
You need to be logged in to leave comments.
Login now