Skip to content

Commit

Permalink
test: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTatasciore committed Jan 15, 2025
1 parent b7d38d4 commit 139abda
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions .aspect/workflows/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ tasks:
- checkout:
update_strategy: rebase
- lint:
only_annotate_changed_regions: false
- format:
- test:
notifications:
Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
bazel_dep(name = "apple_support", version = "1.15.1")
bazel_dep(name = "aspect_bazel_lib", version = "2.10.0")
bazel_dep(name = "aspect_rules_js", version = "2.0.0")
bazel_dep(name = "aspect_rules_lint", version = "1.0.0-rc10")
bazel_dep(name = "aspect_rules_lint", version = "1.0.8")
bazel_dep(name = "aspect_rules_swc", version = "2.0.0")
bazel_dep(name = "aspect_rules_ts", version = "3.0.0")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
Expand Down
8 changes: 7 additions & 1 deletion logger/cli/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@pip//:requirements.bzl", "requirement")
load("@rules_python//python:defs.bzl", "py_binary")
load("@rules_python//python:defs.bzl", "py_binary", "py_library")
load("@rules_uv//uv:pip.bzl", "pip_compile")

exports_files(
Expand All @@ -14,6 +14,12 @@ py_binary(
deps = [requirement("requests")],
)

py_library(
name = "new_file",
srcs = ["__main__2.py"],
deps = [requirement("requests")],
)

pip_compile(
name = "requirements",
requirements_in = "pyproject.toml",
Expand Down
1 change: 1 addition & 0 deletions logger/cli/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import requests


r = requests.get("http://localhost:8081")
print(r.json())
6 changes: 6 additions & 0 deletions logger/cli/__main__2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import os
import requests


r = requests.get("http://localhost:8081")
print(r.json())

0 comments on commit 139abda

Please sign in to comment.