-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (40 loc) · 1017 Bytes
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Lint
permissions:
contents: read
on:
pull_request:
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- uses: TrueBrain/actions-flake8@v2
with:
flake8_version: 6.0.0
plugins: flake8-isort==6.1.1 flake8-quotes==3.4.0 flake8-commas==4.0.0
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- run: |
pip install \
mypy==1.14.1 \
boto3-stubs \
h5py==3.6.0 \
jsonpath_ng==1.4.1 \
s3fs==0.4.2
- run: |
mypy \
--non-interactive \
--install-types \
--check-untyped-defs \
--disable-error-code=import-untyped \
--warn-redundant-casts \
--warn-unused-ignores \
mandible