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
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install mypy
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements-dev.txt
|
||||
- name: Run mypy
|
||||
run: mypy app scripts --ignore-missing-imports
|
||||
@@ -22,7 +22,7 @@ extend-exclude = '''
|
||||
|
||||
[tool.mypy]
|
||||
ignore_missing_imports = true
|
||||
disable_error_code = ["attr-defined"]
|
||||
disable_error_code = ["attr-defined", "misc"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
|
||||
Reference in New Issue
Block a user