Add tf-psa-crypto/scripts/project_knowledge to Python load path

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2026-04-16 19:16:30 +02:00
parent 8bf89416cf
commit d934b7b751
4 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
[mypy] [mypy]
mypy_path = framework/scripts:scripts mypy_path = framework/scripts:scripts:tf-psa-crypto/scripts/project_knowledge
namespace_packages = True namespace_packages = True
warn_unused_configs = True warn_unused_configs = True
+1 -1
View File
@@ -1,5 +1,5 @@
[MASTER] [MASTER]
init-hook='import sys; sys.path.append("scripts"); sys.path.append("framework/scripts")' init-hook='import sys; sys.path += ["scripts", "framework/scripts", "tf-psa-crypto/scripts/project_knowledge"]'
min-similarity-lines=10 min-similarity-lines=10
[BASIC] [BASIC]
+3
View File
@@ -15,3 +15,6 @@ import sys
sys.path.append(os.path.join(os.path.dirname(__file__), sys.path.append(os.path.join(os.path.dirname(__file__),
os.path.pardir, os.path.pardir,
'framework', 'scripts')) 'framework', 'scripts'))
sys.path.append(os.path.join(os.path.dirname(__file__),
os.path.pardir,
'tf-psa-crypto', 'scripts', 'project_knowledge'))
+3
View File
@@ -18,3 +18,6 @@ sys.path.append(os.path.join(os.path.dirname(__file__),
sys.path.append(os.path.join(os.path.dirname(__file__), sys.path.append(os.path.join(os.path.dirname(__file__),
os.path.pardir, os.path.pardir, os.path.pardir, os.path.pardir,
'framework', 'scripts')) 'framework', 'scripts'))
sys.path.append(os.path.join(os.path.dirname(__file__),
os.path.pardir, os.path.pardir,
'tf-psa-crypto', 'scripts', 'project_knowledge'))