Skip to content

Commit fd9826b

Browse files
committed
build: updated project to include semgrep as an experimental dependency
1 parent ae596f5 commit fd9826b

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ upgrade: .venv/upgraded-on
205205
.venv/upgraded-on: pyproject.toml
206206
python -m pip install --upgrade pip
207207
python -m pip install --upgrade wheel
208-
python -m pip install --upgrade --upgrade-strategy eager --editable .[actions,dev,docs,hooks,test,test-docker]
208+
python -m pip install --upgrade --upgrade-strategy eager --editable .[actions,dev,docs,hooks,test,test-docker,experimental]
209209
$(MAKE) upgrade-quiet
210210
force-upgrade:
211211
rm -f .venv/upgraded-on

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2022 - 2024, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2022 - 2025, Oracle and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.
33

44
# https://flit.pypa.io/en/latest/pyproject_toml.html
@@ -105,6 +105,10 @@ test-docker = [
105105
"ruamel.yaml >=0.18.6,<1.0.0",
106106
]
107107

108+
experimental = [
109+
"semgrep == 1.102.0",
110+
]
111+
108112
[project.urls]
109113
Homepage = "https://github.com/oracle/macaron"
110114
Changelog = "https://github.com/oracle/macaron/blob/main/CHANGELOG.md"

src/macaron/config/defaults.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,5 +596,5 @@ epoch_threshold = 3
596596
day_publish_error = 4
597597

598598
# yaml configuration file containing suspicious patterns. Can be full path or relative to
599-
# folder where macaron is installed
599+
# folder where macaron is installed. This will be normalised to the OS path type.
600600
suspicious_patterns_file = src/macaron/malware_analyzer/pypi_heuristics/sourcecode/suspicious_patterns.yaml

0 commit comments

Comments
 (0)