From 6ae6f3ce39ae21990aea26c3aecf78e40f2cbe89 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Fri, 29 Apr 2022 14:19:04 +0200 Subject: [PATCH] black changes --- bob/pad/face/config/svm_frames.py | 4 ++-- doc/conf.py | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bob/pad/face/config/svm_frames.py b/bob/pad/face/config/svm_frames.py index 2aaa1015..64a672a8 100644 --- a/bob/pad/face/config/svm_frames.py +++ b/bob/pad/face/config/svm_frames.py @@ -14,8 +14,8 @@ frame_cont_to_array = VideoToFrames() param_grid = [ { - "C": [2 ** P for P in range(-3, 14, 2)], - "gamma": [2 ** P for P in range(-15, 0, 2)], + "C": [2**P for P in range(-3, 14, 2)], + "gamma": [2**P for P in range(-15, 0, 2)], "kernel": ["rbf"], }, ] diff --git a/doc/conf.py b/doc/conf.py index b241c7e6..d3170f75 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -72,10 +72,10 @@ source_suffix = ".rst" master_doc = "index" # General information about the project. -project = u"bob.pad.face" +project = "bob.pad.face" import time -copyright = u"%s, Idiap Research Institute" % time.strftime("%Y") +copyright = "%s, Idiap Research Institute" % time.strftime("%Y") # Grab the setup entry distribution = pkg_resources.require(project)[0] @@ -125,8 +125,8 @@ pygments_style = "sphinx" # Some variables which are useful for generated material project_variable = project.replace(".", "_") -short_description = u"Presentation Attack Detection in Face Biometrics" -owner = [u"Idiap Research Institute"] +short_description = "Presentation Attack Detection in Face Biometrics" +owner = ["Idiap Research Institute"] # -- Options for HTML output --------------------------------------------------- @@ -207,7 +207,7 @@ html_favicon = "img/favicon.ico" # html_file_suffix = None # Output file base name for HTML help builder. -htmlhelp_basename = project_variable + u"_doc" +htmlhelp_basename = project_variable + "_doc" # -- Post configuration -------------------------------------------------------- -- GitLab