diff --git a/mypy.ini b/mypy.ini index 27c951b9c65..4971db3bc1f 100644 --- a/mypy.ini +++ b/mypy.ini @@ -7,6 +7,31 @@ pretty = True no_implicit_reexport = True no_implicit_optional = True +# green list - work on growing these please! +[mypy-galaxy.util.compression_utils] +disallow_any_generics = True +disallow_subclassing_any = True +disallow_untyped_calls = False +disallow_untyped_defs = True +disallow_incomplete_defs = True +disallow_untyped_decorators = True +warn_unused_ignores = True +warn_return_any = True +strict_equality = True + +[mypy-galaxy.tools.wrappers] +disallow_any_generics = True +disallow_subclassing_any = True +disallow_untyped_calls = False +disallow_untyped_defs = True +disallow_incomplete_defs = True +check_untyped_defs = True +disallow_untyped_decorators = True +no_implicit_optional = True +warn_unused_ignores = True +strict_equality = True + +# red list - work on reducing these please! [mypy-galaxy.util.oset] # lots of tricky code in here... check_untyped_defs = False @@ -191,17 +216,6 @@ check_untyped_defs = False check_untyped_defs = False [mypy-test.functional.webhooks.tour_generator] check_untyped_defs = False -[mypy-galaxy.util.compression_utils] -disallow_any_generics = True -disallow_subclassing_any = True -disallow_untyped_calls = False -disallow_untyped_defs = True -disallow_incomplete_defs = True -check_untyped_defs = True -disallow_untyped_decorators = True -warn_unused_ignores = True -warn_return_any = True -strict_equality = True [mypy-galaxy.tools.bundled.filters.gff.gff_filter_by_feature_count] check_untyped_defs = False [mypy-galaxy.tools.bundled.extract.extract_genomic_dna] @@ -298,8 +312,6 @@ check_untyped_defs = False check_untyped_defs = False [mypy-galaxy.tool_shed.tool_shed_registry] check_untyped_defs = False -[mypy-galaxy.tool_shed.galaxy_install.migrate.check] -check_untyped_defs = False [mypy-galaxy.objectstore.s3] check_untyped_defs = False [mypy-galaxy.objectstore.pithos] @@ -358,17 +370,6 @@ check_untyped_defs = False check_untyped_defs = False [mypy-tool_shed.util.metadata_util] check_untyped_defs = False -[mypy-galaxy.tools.wrappers] -disallow_any_generics = True -disallow_subclassing_any = True -disallow_untyped_calls = False -disallow_untyped_defs = True -disallow_incomplete_defs = True -check_untyped_defs = True -disallow_untyped_decorators = True -no_implicit_optional = True -warn_unused_ignores = True -strict_equality = True [mypy-galaxy.tools.error_reports.plugins.base_git] check_untyped_defs = False [mypy-galaxy.tool_util.deps.mulled.mulled_build]