Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some mypy fixes for file-related packages #197

Closed
wants to merge 1 commit into from

Conversation

KonstantAnxiety
Copy link
Contributor

No description provided.

Copy link

Test Results

     96 files       96 suites   5h 33m 33s ⏱️
2 716 tests 2 423 ✔️ 288 💤 4  1 🔥
5 346 runs  4 763 ✔️ 575 💤 7  1 🔥

For more details on these failures and errors, see this check.

Results for commit 0227d38.

@KonstantAnxiety KonstantAnxiety marked this pull request as ready for review December 28, 2023 13:22
"health_check_interval": self._worker_settings.health_check_interval,
"cron_jobs": self._cron_tasks,
},
functions=[arq_base_task], # type: ignore[list-item]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we ignore it? is there some typing issue with arq?

@@ -119,7 +117,7 @@ class Retry(TaskResult):

@attr.s
class BaseExecutorTask(Generic[_BASE_TASK_META_TV, _BASE_TASK_CONTEXT_TV], metaclass=abc.ABCMeta):
cls_meta: ClassVar[Type[_BASE_TASK_META_TV]]
cls_meta: ClassVar[Type[_BASE_TASK_META_TV]] # type: ignore[misc] # TODO: fix
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we ignoring this one specifically to make dl_task_processor green on mypy? if not, we probably should fix it with other ClassVat[Type[...]] errors

@KonstantAnxiety KonstantAnxiety deleted the mypy-fixes-files branch February 7, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants