Skip to content

Commit

Permalink
solve pylint command
Browse files Browse the repository at this point in the history
  • Loading branch information
sergargar committed Dec 12, 2022
1 parent 202be91 commit 3ec6a85
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
pipenv run black --check .
- name: Lint with pylint
run: |
pipenv run pylint --disable=W,C,R,E -j 0 providers lib util config
pipenv run pylint --disable=W,C,R,E -j 0 -rn -sn prowler/
- name: Bandit
run: |
pipenv run bandit -q -lll -x '*_test.py,./contrib/' -r .
Expand Down
2 changes: 1 addition & 1 deletion prowler/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
default_output_directory = getcwd() + "/output"

output_file_timestamp = timestamp.strftime("%Y%m%d%H%M%S")
timestamp_iso = timestamp.isoformat()
timestamp_iso = timestamp.isoformat(sep=" ", timespec="seconds")
csv_file_suffix = ".csv"
json_file_suffix = ".json"
json_asff_file_suffix = ".asff.json"
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/outputs/outputs_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
set_report_color,
)
from prowler.lib.utils.utils import hash_sha512, open_file
from prowler.providers.aws.lib.audit_info.models import AWS_Audit_Info
from providers.aws.lib.audit_info.models import AWS_Audit_Info


class Test_Outputs:
Expand Down

0 comments on commit 3ec6a85

Please sign in to comment.