Skip to content

Commit

Permalink
feat(Py_package)!:updated py package
Browse files Browse the repository at this point in the history
  • Loading branch information
VigneshKna committed Sep 22, 2024
1 parent 3189f66 commit ddaf61e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/python/config.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[DEFAULT]
package_name = how2validate
version = 0.0.0a6
version = 0.0.0a8

[SECRET]
secret_active = Active
Expand Down
6 changes: 3 additions & 3 deletions src/python/how2validate/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import logging

from how2validate.utility.config_utility import get_active_secret_status, get_inactive_secret_status, get_package_name, get_version
from how2validate.utility.tool_utility import format_serviceprovider, format_services, get_secretprovider, get_secretservices, redact_secret, update_tool, validate_choice
from how2validate.utility.tool_utility import format_serviceprovider, format_services, format_string, get_secretprovider, get_secretservices, redact_secret, update_tool, validate_choice
from how2validate.utility.log_utility import setup_logging
from how2validate.handler.validator_handler import validator_handle_service

Expand Down Expand Up @@ -50,9 +50,9 @@ def parse_arguments():
def validate(provider,service, secret, response, report):

logging.info(f"Started validating secret...")
result = validator_handle_service(service, secret, response, report)
result = validator_handle_service(format_string(service), secret, response, report)
logging.info(f"{result}")
return f"{result}"
# return f"{result}"

def main(args=None):
if args is None:
Expand Down
2 changes: 1 addition & 1 deletion src/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
packages=find_packages(),
include_package_data=True,
package_data={
'': ['*.txt', '../requirements.txt', '../config.ini', '../tokenManager.json', '../README.md', '../main.py'],
'': ['../requirements.txt', '../config.ini', '../tokenManager.json', '../README.md', '../main.py'],
},
install_requires=requirements,
entry_points={
Expand Down

0 comments on commit ddaf61e

Please sign in to comment.