Skip to content

Commit

Permalink
Enable pyright reportMissingModuleSource (#614)
Browse files Browse the repository at this point in the history
* Enable pyright reportPrivateImportUsage.

* Enable pyright reportOptionalSubscript.

* Enable pyright reportOptionalOperand.

* Enable pyright reportOptionalMemberAccess.

* Enable pyright reportMissingModuleSource.
  • Loading branch information
janjagusch authored Feb 20, 2023
1 parent 9ca4d12 commit e0eeb5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ version_template = '({major}, {minor}, {patch}, "{channel}", "{release}")'
include = ["quetz"]
reportGeneralTypeIssues = false
reportMissingImports = false
reportMissingModuleSource = false
reportMissingModuleSource = true
reportMissingTypeStubs = false
reportOptionalMemberAccess = true
reportOptionalOperand = true
Expand Down
2 changes: 1 addition & 1 deletion quetz/tasks/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from quetz.jobs.models import JobStatus, Task, TaskStatus

try:
import redis
import redis # type: ignore
from rq import Queue

rq_available = True
Expand Down

0 comments on commit e0eeb5b

Please sign in to comment.