Conversation
|
|
| else: | ||
| # Mask the current secret | ||
| masked_secret = mask_data(code_line, secret) | ||
| linenumber=findLineNumber(code_content.split("\n"),code_line) |
There was a problem hiding this comment.
let's rename variable since it is is not the line number, rather a list of code lines, Also we can move this line to the utility function.
sai100
left a comment
There was a problem hiding this comment.
We are appending the result of findLineNumber function, but we have no respective column in xgg_configs.yaml file for the secrets data columns.
Also please format the code using black formatter.
|
|
||
| logger = logging.getLogger("xgg_logger") | ||
|
|
||
| def findLineNumber(code_content,code_line): |
There was a problem hiding this comment.
Change the function name as per pep8 standards
No description provided.