Skip to content

Commit

Permalink
setup all the linting dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
yalcinmelihyasin committed Jul 1, 2022
1 parent 0442a97 commit 981c4b6
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 4 deletions.
2 changes: 2 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,8 @@ test_suite(
name = "lint-vulkan-generator",
tests = [
"//vulkan_generator:lint",
"//vulkan_generator/codegen_utils:lint",
"//vulkan_generator/handle_remapper:lint",
"//vulkan_generator/tests:lint",
"//vulkan_generator/vulkan_parser:lint",
"//vulkan_generator/vulkan_utils:lint",
Expand Down
3 changes: 1 addition & 2 deletions vulkan_generator/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ py_lint(
name = "lint",
srcs = glob(["*.py"]),
deps = [
"//vulkan_generator/handle_remapper",
"//vulkan_generator/vulkan_parser",
"//vulkan_generator",
],
)
3 changes: 3 additions & 0 deletions vulkan_generator/codegen_utils/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ py_library(
py_lint(
name = "lint",
srcs = glob(["*.py"]),
deps = [
"codegen_utils",
],
)
4 changes: 4 additions & 0 deletions vulkan_generator/handle_remapper/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ py_library(
visibility = ["//visibility:public"],
deps = [
"//vulkan_generator/codegen_utils",
"//vulkan_generator/vulkan_parser",
],
)

py_lint(
name = "lint",
srcs = glob(["*.py"]),
deps = [
"handle_remapper",
],
)
2 changes: 1 addition & 1 deletion vulkan_generator/tests/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ py_lint(
name = "lint",
srcs = glob(["*.py"]),
deps = [
"//vulkan_generator/vulkan_parser",
"test_vulkan_parsing",
],
)
2 changes: 1 addition & 1 deletion vulkan_generator/vulkan_parser/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ py_lint(
name = "lint",
srcs = glob(["*.py"]),
deps = [
"//vulkan_generator/vulkan_utils",
"vulkan_parser",
],
)
3 changes: 3 additions & 0 deletions vulkan_generator/vulkan_utils/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ py_library(
py_lint(
name = "lint",
srcs = glob(["*.py"]),
deps = [
"vulkan_utils",
],
)

0 comments on commit 981c4b6

Please sign in to comment.