Skip to content

Commit

Permalink
fixed that horrible linting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanl-slalom committed Dec 12, 2023
1 parent a3af195 commit f9cdfcf
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 5 deletions.
47 changes: 46 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,46 @@
repos: []
repos:
- hooks:
- id: python-use-type-annotations
repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
- hooks:
- args:
- --exclude
- tests/
- --severity-level
- medium
id: bandit
repo: https://github.com/PyCQA/bandit
rev: 1.7.6
- hooks:
- id: black
repo: https://github.com/psf/black
rev: 23.12.0
- hooks:
- id: check-added-large-files
- id: check-ast
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: check-toml
- id: check-json
- id: check-xml
- id: check-yaml
- id: debug-statements
- args:
- --allow-missing-credentials
id: detect-aws-credentials
- id: detect-private-key
- args:
- --pytest-test-first
id: name-tests-test
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
- hooks:
- id: detect-secrets
repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
5 changes: 1 addition & 4 deletions secureli/actions/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ def scan_repo(
if verify_result.outcome in self.halting_outcomes:
return

scan_result = self.scanner.scan_repo(
folder_path,
scan_mode,
specific_test)
scan_result = self.scanner.scan_repo(folder_path, scan_mode, specific_test)

details = scan_result.output or "Unknown output during scan"
self.echo.print(details)
Expand Down

0 comments on commit f9cdfcf

Please sign in to comment.