-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (38 loc) · 1.06 KB
/
mypy.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
name: mypy
on: [push, pull_request]
jobs:
Python:
runs-on: rnd-it-ubuntu
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Setup Dependencies
run: |
pip install mypy types-requests
pip install -r mpam/requirements.txt
- name: Run mypy
run:
mypy
--python-version ${{ matrix.python-version }}
--follow-imports=silent
--ignore-missing-imports
--show-column-numbers
--show-error-codes
--strict-equality
--warn-redundant-casts
--warn-return-any
--warn-unreachable
--disallow-incomplete-defs
--disallow-untyped-defs
--no-implicit-optional
--exclude mpam.tools.deprecated
mpam/{src,tools,dev-tools,stubs}