|
8 | 8 | black:
|
9 | 9 | runs-on: ubuntu-latest
|
10 | 10 | steps:
|
11 |
| - - uses: actions/checkout@v4 |
12 |
| - - name: Set up Python |
13 |
| - uses: actions/setup-python@v5 |
14 |
| - - name: Install dependencies |
15 |
| - run: | |
16 |
| - python -m pip install --upgrade pip |
17 |
| - pip install black codespell |
18 |
| - - name: Check with black |
19 |
| - run: black --check . |
| 11 | + - uses: actions/checkout@v4 |
| 12 | + - name: Set up Python |
| 13 | + uses: actions/setup-python@v5 |
| 14 | + - name: Install dependencies |
| 15 | + run: | |
| 16 | + python -m pip install --upgrade pip |
| 17 | + pip install black codespell |
| 18 | + - name: Check with black |
| 19 | + run: black --check . |
20 | 20 |
|
21 | 21 | codespell:
|
22 | 22 | runs-on: ubuntu-latest
|
23 | 23 | steps:
|
24 |
| - - uses: actions/checkout@v4 |
25 |
| - - uses: codespell-project/actions-codespell@master |
26 |
| - with: |
27 |
| - skip: '*.po',encoding_latin1.py |
28 |
| - ignore_words_list: ba,te,deltion,dedent,dedented,assertIn |
| 24 | + - uses: actions/checkout@v4 |
| 25 | + - uses: codespell-project/actions-codespell@master |
| 26 | + with: |
| 27 | + skip: "*.po,encoding_latin1.py" |
| 28 | + ignore_words_list: ba,te,deltion,dedent,dedented,assertIn |
29 | 29 |
|
30 | 30 | mypy:
|
31 | 31 | runs-on: ubuntu-latest
|
32 | 32 | steps:
|
33 |
| - - uses: actions/checkout@v4 |
34 |
| - - name: Set up Python |
35 |
| - uses: actions/setup-python@v5 |
36 |
| - - name: Install dependencies |
37 |
| - run: | |
38 |
| - python -m pip install --upgrade pip |
39 |
| - pip install mypy |
40 |
| - pip install -r requirements.txt |
41 |
| - pip install urwid twisted watchdog "jedi >=0.16" babel "sphinx >=1.5" numpy |
42 |
| - pip install types-backports types-requests types-setuptools types-toml types-pygments |
43 |
| - - name: Check with mypy |
44 |
| - # for now only run on a few files to avoid slipping backward |
45 |
| - run: mypy |
| 33 | + - uses: actions/checkout@v4 |
| 34 | + - name: Set up Python |
| 35 | + uses: actions/setup-python@v5 |
| 36 | + - name: Install dependencies |
| 37 | + run: | |
| 38 | + python -m pip install --upgrade pip |
| 39 | + pip install mypy |
| 40 | + pip install -r requirements.txt |
| 41 | + pip install urwid twisted watchdog "jedi >=0.16" babel "sphinx >=1.5" numpy |
| 42 | + pip install types-backports types-requests types-setuptools types-toml types-pygments |
| 43 | + - name: Check with mypy |
| 44 | + # for now only run on a few files to avoid slipping backward |
| 45 | + run: mypy |
0 commit comments