Skip to content
Snippets Groups Projects
Commit 067f132f authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

[pre-commit] autoupdate

parent 8b551cc9
No related branches found
No related tags found
1 merge request!33Fixes due to API changes in bob.bio.base
Pipeline #59964 passed
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
# See https://pre-commit.com/hooks.html for more hooks # See https://pre-commit.com/hooks.html for more hooks
repos: repos:
- repo: https://github.com/timothycrosley/isort - repo: https://github.com/timothycrosley/isort
rev: 5.9.3 rev: 5.10.1
hooks: hooks:
- id: isort - id: isort
args: [--settings-path, "pyproject.toml"] args: [--settings-path, "pyproject.toml"]
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 21.7b0 rev: 22.3.0
hooks: hooks:
- id: black - id: black
- repo: https://gitlab.com/pycqa/flake8 - repo: https://gitlab.com/pycqa/flake8
...@@ -15,7 +15,7 @@ repos: ...@@ -15,7 +15,7 @@ repos:
hooks: hooks:
- id: flake8 - id: flake8
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1 rev: v4.1.0
hooks: hooks:
- id: check-ast - id: check-ast
- id: check-case-conflict - id: check-case-conflict
......
...@@ -141,7 +141,6 @@ class GMM(BioAlgorithm, BaseEstimator): ...@@ -141,7 +141,6 @@ class GMM(BioAlgorithm, BaseEstimator):
self.ubm = None self.ubm = None
def _check_feature(self, feature): def _check_feature(self, feature):
"""Checks that the features are appropriate""" """Checks that the features are appropriate"""
if ( if (
......
...@@ -77,9 +77,9 @@ source_suffix = ".rst" ...@@ -77,9 +77,9 @@ source_suffix = ".rst"
master_doc = "index" master_doc = "index"
# General information about the project. # General information about the project.
project = u"bob.bio.gmm" project = "bob.bio.gmm"
copyright = u"%s, Idiap Research Institute" % time.strftime("%Y") copyright = "%s, Idiap Research Institute" % time.strftime("%Y")
# Grab the setup entry # Grab the setup entry
distribution = pkg_resources.require(project)[0] distribution = pkg_resources.require(project)[0]
...@@ -129,8 +129,8 @@ pygments_style = "sphinx" ...@@ -129,8 +129,8 @@ pygments_style = "sphinx"
# Some variables which are useful for generated material # Some variables which are useful for generated material
project_variable = project.replace(".", "_") project_variable = project.replace(".", "_")
short_description = u"Tools for running biometric recognition experiments using GMM-based approximation" short_description = "Tools for running biometric recognition experiments using GMM-based approximation"
owner = [u"Idiap Research Institute"] owner = ["Idiap Research Institute"]
# -- Options for HTML output --------------------------------------------------- # -- Options for HTML output ---------------------------------------------------
...@@ -210,7 +210,7 @@ html_favicon = "img/favicon.ico" ...@@ -210,7 +210,7 @@ html_favicon = "img/favicon.ico"
# html_file_suffix = None # html_file_suffix = None
# Output file base name for HTML help builder. # Output file base name for HTML help builder.
htmlhelp_basename = project_variable + u"_doc" htmlhelp_basename = project_variable + "_doc"
# -- Post configuration -------------------------------------------------------- # -- Post configuration --------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment