apoorvrajdev commited on
Commit
242c2a7
·
1 Parent(s): 4e0b47e

fix(ci): use list-form mypy_path and switch frontend job to npm install

Browse files
Files changed (2) hide show
  1. .github/workflows/ci.yml +1 -1
  2. pyproject.toml +2 -1
.github/workflows/ci.yml CHANGED
@@ -115,7 +115,7 @@ jobs:
115
  cache-dependency-path: frontend/package-lock.json
116
 
117
  - name: Install dependencies
118
- run: npm ci
119
 
120
  - name: Lint
121
  run: npm run lint
 
115
  cache-dependency-path: frontend/package-lock.json
116
 
117
  - name: Install dependencies
118
+ run: npm install --no-audit --no-fund
119
 
120
  - name: Lint
121
  run: npm run lint
pyproject.toml CHANGED
@@ -193,8 +193,9 @@ warn_unused_ignores = true
193
  warn_no_return = true
194
  no_implicit_optional = true
195
  files = ["src/captioning", "backend/app", "scripts"]
196
- mypy_path = "src:backend"
197
  explicit_package_bases = true
 
198
 
199
  [[tool.mypy.overrides]]
200
  module = [
 
193
  warn_no_return = true
194
  no_implicit_optional = true
195
  files = ["src/captioning", "backend/app", "scripts"]
196
+ mypy_path = ["src", "backend"]
197
  explicit_package_bases = true
198
+ namespace_packages = true
199
 
200
  [[tool.mypy.overrides]]
201
  module = [