improve typing of lib/galaxy/managers/tools.py.

This commit is contained in:
Michael R. Crusoe
2021-11-15 11:37:15 +01:00
committed by mvdbeek
parent 3e755917fd
commit e0fb5d3fac
2 changed files with 5 additions and 2 deletions
+5
View File
@@ -1,4 +1,5 @@
import logging
from typing import TYPE_CHECKING
from uuid import uuid4
from sqlalchemy import sql
@@ -11,6 +12,9 @@ from .executables import artifact_class
log = logging.getLogger(__name__)
if TYPE_CHECKING:
from galaxy.managers.base import OrmFilterParsersType
class DynamicToolManager(ModelManager):
""" Manages dynamic tools stored in Galaxy's database.
@@ -103,6 +107,7 @@ class DynamicToolManager(ModelManager):
class ToolFilterMixin:
orm_filter_parsers: "OrmFilterParsersType"
def create_tool_filter(self, attr, op, val):
-2
View File
@@ -549,8 +549,6 @@ check_untyped_defs = False
check_untyped_defs = False
[mypy-galaxy.managers.users]
check_untyped_defs = False
[mypy-galaxy.managers.tools]
check_untyped_defs = False
[mypy-galaxy.managers.ratable]
check_untyped_defs = False
[mypy-galaxy.tools.actions.upload]