mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
Remove unwanted changes and fix linting.
This commit is contained in:
parent
c09fc43d45
commit
4ff75ecfc2
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@ -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
|
|
||||||
}
|
}
|
||||||
|
@ -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.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user