remove bazel-mypy-integration as it is not needed and makes integration into rules_python harder (#353)
diff --git a/experimental/rules_python_external/.bazelrc b/experimental/rules_python_external/.bazelrc deleted file mode 100644 index fa4bb2e..0000000 --- a/experimental/rules_python_external/.bazelrc +++ /dev/null
@@ -1,2 +0,0 @@ -build --aspects @mypy_integration//:mypy.bzl%mypy_aspect -build --output_groups=+mypy
diff --git a/experimental/rules_python_external/WORKSPACE b/experimental/rules_python_external/WORKSPACE index ad38285..6361ec0 100644 --- a/experimental/rules_python_external/WORKSPACE +++ b/experimental/rules_python_external/WORKSPACE
@@ -14,30 +14,3 @@ load("//:repositories.bzl", "rules_python_external_dependencies") rules_python_external_dependencies() - -mypy_integration_version = "0.0.7" # latest @ Feb 10th 2020 - -http_archive( - name = "mypy_integration", - sha256 = "bf7ecd386740328f96c343dca095a63b93df7f86f8d3e1e2e6ff46e400880077", # for 0.0.7 - strip_prefix = "bazel-mypy-integration-{version}".format(version = mypy_integration_version), - url = "https://github.com/thundergolfer/bazel-mypy-integration/archive/{version}.zip".format( - version = mypy_integration_version - ), -) - -load( - "@mypy_integration//repositories:repositories.bzl", - mypy_integration_repositories = "repositories", -) - -mypy_integration_repositories() - -load("@mypy_integration//:config.bzl", "mypy_configuration") -mypy_configuration("//tools/typing:mypy.ini") - -load("@mypy_integration//repositories:deps.bzl", mypy_integration_deps = "deps") -mypy_integration_deps("//tools/typing:mypy_version.txt") - -load("@mypy_integration//repositories:pip_repositories.bzl", "pip_deps") -pip_deps()
diff --git a/experimental/rules_python_external/tools/typing/BUILD b/experimental/rules_python_external/tools/typing/BUILD deleted file mode 100644 index e69de29..0000000 --- a/experimental/rules_python_external/tools/typing/BUILD +++ /dev/null
diff --git a/experimental/rules_python_external/tools/typing/mypy.ini b/experimental/rules_python_external/tools/typing/mypy.ini deleted file mode 100644 index ed392f2..0000000 --- a/experimental/rules_python_external/tools/typing/mypy.ini +++ /dev/null
@@ -1,24 +0,0 @@ -[mypy] -# This should be the oldest supported release of Python -# https://devguide.python.org/#status-of-python-branches -python_version = 3.5 - -# Third-Party packages without Stub files -# https://mypy.readthedocs.io/en/latest/stubs.html -[mypy-pkginfo.*] -ignore_missing_imports = True - -[mypy-extract_wheels.*] -check_untyped_defs = True -disallow_incomplete_defs = True -disallow_untyped_calls = True -disallow_untyped_decorators = True -disallow_untyped_defs = True -no_implicit_optional = True -strict_equality = True -strict_optional = True -warn_no_return = True -warn_redundant_casts = True -warn_return_any = True -warn_unreachable = True -warn_unused_ignores = True
diff --git a/experimental/rules_python_external/tools/typing/mypy_version.txt b/experimental/rules_python_external/tools/typing/mypy_version.txt deleted file mode 100644 index 9e7ef88..0000000 --- a/experimental/rules_python_external/tools/typing/mypy_version.txt +++ /dev/null
@@ -1 +0,0 @@ -mypy==0.780