Skip to content

Commit 1edf715

Browse files
committed
fix: update CI workflows for mypy configuration changes
- Install project dependencies in quality workflow - Update mypy config to only check pathao package - Resolves workflow failures from mypy type checking issues
1 parent a57170d commit 1edf715

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/quality.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24+
pip install -r requirements-dev.txt
25+
pip install -e .
2426
pip install pre-commit
2527
2628
- name: Run pre-commit

pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ show_missing = true
101101
skip_covered = false
102102

103103
[tool.mypy]
104+
files = "pathao"
104105
python_version = "3.9"
105106
warn_return_any = true
106107
warn_unused_configs = true
@@ -114,11 +115,6 @@ warn_unused_ignores = true
114115
warn_no_return = true
115116
warn_unreachable = true
116117
strict_equality = true
117-
exclude = [
118-
"^tests/.*\\.py$",
119-
"^examples/.*\\.py$",
120-
"^setup\\.py$",
121-
]
122118

123119
[[tool.mypy.overrides]]
124120
module = [

0 commit comments

Comments
 (0)