Remove unwanted changes and fix linting.

This commit is contained in:
Vincent STRAGIER 2023-06-05 14:06:10 +02:00
parent c09fc43d45
commit 4ff75ecfc2
2 changed files with 2 additions and 4 deletions

View File

@ -9,7 +9,5 @@
"python.formatting.provider": "black", "python.formatting.provider": "black",
"python.formatting.blackArgs": ["--line-length=100"], "python.formatting.blackArgs": ["--line-length=100"],
"editor.fontWeight": "normal", "editor.fontWeight": "normal",
"python.analysis.extraPaths": ["./deepface"], "python.analysis.extraPaths": ["./deepface"]
"stylelint.autoFixOnSave": false,
"standard.autoFixOnSave": false
} }

View File

@ -297,7 +297,7 @@ def analyze(
actions = (actions,) actions = (actions,)
actions = list(actions) actions = list(actions)
# Check if actions have been passed correctly # Check if actions have been passed correctly
if not actions: if not actions:
raise ValueError("`actions` must be a list of strings.") raise ValueError("`actions` must be a list of strings.")