-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The project providing the aspect does not offer a proper modern bzlmod integration. Contribution is difficult due to the maintainer having almost no time. We do not really need a bazelized solution for this. We already use the pre-commit framework and it offers as well a mypy integeation. On top, we can more easily stop ignoring import errors with the pre-commit based mypy integration.
- Loading branch information
Showing
11 changed files
with
1 addition
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +0,0 @@ | ||
load("@rules_python//python:defs.bzl", "py_library") | ||
|
||
# Helper target to enable mypy | ||
py_library( | ||
name = "python_files", | ||
srcs = glob(["*.py"]), | ||
) | ||
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +0,0 @@ | ||
load("@rules_python//python:defs.bzl", "py_library") | ||
|
||
# Helper target to enable mypy | ||
py_library( | ||
name = "python_files", | ||
srcs = glob(["**/*.py"]), | ||
) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +0,0 @@ | ||
load("@dwyu_mypy_deps//:requirements.bzl", "requirement") | ||
load("@rules_python//python:pip.bzl", "compile_pip_requirements") | ||
|
||
alias( | ||
name = "mypy", | ||
actual = requirement("mypy"), | ||
visibility = ["//:__pkg__"], | ||
) | ||
|
||
compile_pip_requirements( | ||
name = "mypy_requirements", | ||
src = "mypy_requirements.in", | ||
requirements_txt = "mypy_requirements.txt", | ||
) | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.