Use requirements-dev.txt for type-check job and disable misc mypy error
This commit is contained in:
@@ -60,7 +60,6 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install mypy
|
pip install -r requirements-dev.txt
|
||||||
pip install -r requirements.txt
|
|
||||||
- name: Run mypy
|
- name: Run mypy
|
||||||
run: mypy app scripts --ignore-missing-imports
|
run: mypy app scripts --ignore-missing-imports
|
||||||
@@ -22,7 +22,7 @@ extend-exclude = '''
|
|||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
ignore_missing_imports = true
|
ignore_missing_imports = true
|
||||||
disable_error_code = ["attr-defined"]
|
disable_error_code = ["attr-defined", "misc"]
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
|
|||||||
Reference in New Issue
Block a user