Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanpharvey committed Nov 15, 2024
1 parent 335020f commit 7c49099
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions ddtrace/contrib/azure_functions/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from ddtrace.internal.utils.importlib import require_modules


required_modules = ["azure.functions"]

with require_modules(required_modules) as missing_modules:
Expand Down
9 changes: 5 additions & 4 deletions ddtrace/contrib/internal/azure_functions/patch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import azure.functions
from wrapt import wrap_function_wrapper as _w

from ddtrace import config
from ddtrace.constants import SPAN_KIND
Expand All @@ -9,13 +10,13 @@
from ddtrace.ext import SpanTypes
from ddtrace.internal.compat import parse
from ddtrace.internal.constants import COMPONENT
from ddtrace.internal.schema import schematize_cloud_faas_operation, schematize_service_name
from ddtrace.internal.schema import schematize_cloud_faas_operation
from ddtrace.internal.schema import schematize_service_name
from ddtrace.pin import Pin

from wrapt import wrap_function_wrapper as _w

AAS_FUNCTION_NAME = "aas.function.name"
AAS_FUNCTION_TRIGGER = "aas.function.trigger"
AAS_FUNCTION_NAME = "aas.function.name" # codespell:ignore
AAS_FUNCTION_TRIGGER = "aas.function.trigger" # codespell:ignore

config._add(
"azure_functions",
Expand Down

0 comments on commit 7c49099

Please sign in to comment.