Skip to content

Commit 9e8f9eb

Browse files
committed
Updated version
1 parent d97cc43 commit 9e8f9eb

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

socketsecurity/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__author__ = 'socket.dev'
2-
__version__ = '2.0.36'
2+
__version__ = '2.0.37'
33

socketsecurity/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33
from dataclasses import asdict, dataclass
44
from typing import List, Optional
5-
from socketdev import __version__
5+
from socketsecurity import __version__
66

77
from socketdev import INTEGRATION_TYPES, IntegrationType
88

socketsecurity/core/socket_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import os
66

77
from socketsecurity.core.issues import AllIssues
8+
from socketsecurity import __version__
89

910

1011
default_exclude_dirs = {
@@ -27,6 +28,7 @@ class SocketConfig:
2728
security_policy: Dict = None
2829
all_issues: Optional['AllIssues'] = None
2930
excluded_dirs: Set[str] = field(default_factory=lambda: default_exclude_dirs)
31+
version: str = __version__
3032

3133
def __post_init__(self):
3234
"""Validate configuration after initialization"""

socketsecurity/socketcli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def cli():
4545

4646
def main_code():
4747
config = CliConfig.from_args()
48+
log.info(f"Starting Socket Security CLI version {config.version}")
4849
log.debug(f"config: {config.to_dict()}")
4950
output_handler = OutputHandler(config)
5051

0 commit comments

Comments
 (0)