Skip to content
Prev Previous commit
Next Next commit
XFixed python styling
  • Loading branch information
issabayevmk committed Jun 17, 2024
commit 2d0a6bddcab6188a633e97f203b09e9d9f2a162d
4 changes: 2 additions & 2 deletions detect_secrets/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ def get_settings(filters: list = None, plugins: list = None) -> Dict[str, List]:
Return used plugins and filters to be used to scan with provided params
"""
if filters and not isinstance(filters, list):
raise ValueError(f'Error: "{filters}" must be List object')
raise ValueError(f"Error: '{filters}' must be List object")

if plugins and not isinstance(plugins, list):
raise ValueError(f'Error: "{plugins}" must be List object')
raise ValueError(f"Error: '{plugins}' must be List object")

if filters:
filters_used = filters
Expand Down
Loading