Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into brettlangdon/simplify…
Browse files Browse the repository at this point in the history
….flask_simple
  • Loading branch information
brettlangdon committed Apr 30, 2024
2 parents 26bdeab + 94cd2ee commit 3a91539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,6 @@ on:
# before merging/releasing
- build_deploy*
pull_request:
paths:
- ".github/workflows/build_deploy.yml"
- ".github/workflows/build_python_3.yml"
- "setup.py"
- "setup.cfg"
- "pyproject.toml"
- "**.c"
- "**.h"
- "**.cpp"
- "**.hpp"
- "**.pyx"
- "ddtrace/vendor/**"
release:
types:
- published
Expand Down
5 changes: 2 additions & 3 deletions benchmarks/appsec_iast_propagation/scenario.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from typing import Any # noqa:F401

import bm

from tests.utils import override_env
from bm.utils import override_env


with override_env({"DD_IAST_ENABLED": "True"}):
Expand Down Expand Up @@ -42,7 +41,7 @@ def aspect_function(internal_loop, tainted):
value = ""
res = value
for _ in range(internal_loop):
res = add_aspect(res, join_aspect(str.join, 1, "_", (tainted, "_", tainted)))
res = add_aspect(res, join_aspect("_".join, 1, "_", (tainted, "_", tainted)))
value = res
res = add_aspect(res, tainted)
value = res
Expand Down

0 comments on commit 3a91539

Please sign in to comment.