From 4ff75ecfc23c7b8aa7c45c0ad324d6529f6b955a Mon Sep 17 00:00:00 2001 From: Vincent STRAGIER Date: Mon, 5 Jun 2023 14:06:10 +0200 Subject: [PATCH] Remove unwanted changes and fix linting. --- .vscode/settings.json | 4 +--- deepface/DeepFace.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e223550..f5d9a83 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,7 +9,5 @@ "python.formatting.provider": "black", "python.formatting.blackArgs": ["--line-length=100"], "editor.fontWeight": "normal", - "python.analysis.extraPaths": ["./deepface"], - "stylelint.autoFixOnSave": false, - "standard.autoFixOnSave": false + "python.analysis.extraPaths": ["./deepface"] } diff --git a/deepface/DeepFace.py b/deepface/DeepFace.py index a820741..c430030 100644 --- a/deepface/DeepFace.py +++ b/deepface/DeepFace.py @@ -297,7 +297,7 @@ def analyze( actions = (actions,) actions = list(actions) - + # Check if actions have been passed correctly if not actions: raise ValueError("`actions` must be a list of strings.")