File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
__author__ = 'socket.dev'
2
- __version__ = '2.0.36 '
2
+ __version__ = '2.0.37 '
3
3
Original file line number Diff line number Diff line change 2
2
import os
3
3
from dataclasses import asdict , dataclass
4
4
from typing import List , Optional
5
- from socketdev import __version__
5
+ from socketsecurity import __version__
6
6
7
7
from socketdev import INTEGRATION_TYPES , IntegrationType
8
8
Original file line number Diff line number Diff line change 5
5
import os
6
6
7
7
from socketsecurity .core .issues import AllIssues
8
+ from socketsecurity import __version__
8
9
9
10
10
11
default_exclude_dirs = {
@@ -27,6 +28,7 @@ class SocketConfig:
27
28
security_policy : Dict = None
28
29
all_issues : Optional ['AllIssues' ] = None
29
30
excluded_dirs : Set [str ] = field (default_factory = lambda : default_exclude_dirs )
31
+ version : str = __version__
30
32
31
33
def __post_init__ (self ):
32
34
"""Validate configuration after initialization"""
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ def cli():
45
45
46
46
def main_code ():
47
47
config = CliConfig .from_args ()
48
+ log .info (f"Starting Socket Security CLI version { config .version } " )
48
49
log .debug (f"config: { config .to_dict ()} " )
49
50
output_handler = OutputHandler (config )
50
51
You can’t perform that action at this time.
0 commit comments