Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Dec 22, 2023
1 parent c6b7d4d commit b1885ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/otel_packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import tomli
from requests import get


scripts_path = os.path.dirname(os.path.abspath(__file__))
root_path = os.path.dirname(scripts_path)
instrumentations_path = os.path.join(root_path, "instrumentation")
Expand All @@ -32,9 +31,7 @@ def get_instrumentation_packages():

error = f"Could not get version for package {pkg}"
try:
response = get(
f"https://pypi.org/pypi/{pkg}/json"
)
response = get(f"https://pypi.org/pypi/{pkg}/json")

except Exception as exc:
print(error)
Expand Down

0 comments on commit b1885ea

Please sign in to comment.