From 843ee5290e46e1fbef05efb8d9b03f3a12446a13 Mon Sep 17 00:00:00 2001 From: Sam Washko Date: Fri, 19 Jan 2024 14:18:11 -0800 Subject: [PATCH] add version to settings --- modelscan/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modelscan/settings.py b/modelscan/settings.py index 2da7a2c..8041ffe 100644 --- a/modelscan/settings.py +++ b/modelscan/settings.py @@ -2,12 +2,15 @@ from typing import Any +from modelscan._version import __version__ + DEFAULT_REPORTING_MODULES = { "console": "modelscan.reports.ConsoleReport", "json": "modelscan.reports.JSONReport", } DEFAULT_SETTINGS = { + "modelscan_version": __version__, "supported_zip_extensions": [".zip", ".npz"], "scanners": { "modelscan.scanners.H5LambdaDetectScan": {