Skip to content

Commit a372527

Browse files
Remove mypy (for now)
1 parent 53f6328 commit a372527

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
uses: actions/setup-python@v2
1414
with:
1515
python-version: ${{ matrix.python-version }}
16-
- name: Install package
17-
run: |
18-
pip install .
1916
- name: Install dev dependencies
2017
run: |
2118
pip install -r requirements.txt
19+
- name: Install package
20+
run: |
21+
pip install .
2222
- name: Test with pytest (lint with flake8 and run coverage)
23-
run: coverage run --source=src/ -m pytest --flake8 --mypy
23+
run: coverage run --source=src/ -m pytest
2424
- name: Coverage report
2525
run: coverage report -m

requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@ pytest-flake8
55
wheel
66
pytest
77
coverage
8-
mypy
9-
pytest-mypy
108
types-PyYAML
119
types-setuptools

setup.cfg

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@ exclude = .git,__pycache__,docs/source/conf.py,old,build,dist
44
ignore = H306
55
max-complexity = 10
66

7-
[mypy]
8-
ignore_missing_imports = true
9-
107
[tool:pytest]
11-
addopts = --mypy --flake8
8+
addopts = --flake8

0 commit comments

Comments
 (0)