diff --git a/bob/pad/face/config/svm_frames.py b/bob/pad/face/config/svm_frames.py
index 2aaa10151390aeba1c72ad3c20e9ff6b2570291e..64a672a8938a682926d697a2f208c8e5557b5e7c 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 b241c7e6bb4572841e2a2789aa7a5904a98b88d0..d3170f750d53faac2a1feeb781221cedd9425292 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 --------------------------------------------------------