From 4d308a23755e40fe26566992ec25f9088cc97c0e Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Tue, 29 Mar 2022 13:23:48 +0200 Subject: [PATCH] [pre-commit] Update versions to fix click incompatibility --- .pre-commit-config.yaml | 8 ++++---- doc/conf.py | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7bb4121f..4badf4ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,17 +2,17 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/timothycrosley/isort - rev: 5.8.0 + rev: 5.10.1 hooks: - id: isort args: [--settings-path, "pyproject.toml"] - repo: https://github.com/psf/black - rev: 21.7b0 + rev: 22.3.0 hooks: - id: black exclude: bob/devtools/templates/setup.py - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 + rev: 4.0.1 hooks: - id: flake8 exclude: | @@ -21,7 +21,7 @@ repos: deps/bob-devel/run_test.py )$ - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.1.0 hooks: - id: check-ast exclude: bob/devtools/templates/setup.py diff --git a/doc/conf.py b/doc/conf.py index e2d7899a..c9fe9127 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -74,8 +74,8 @@ source_suffix = ".rst" master_doc = "index" # General information about the project. -project = u"bob.devtools" -copyright = u"%s, Idiap Research Institute" % time.strftime("%Y") +project = "bob.devtools" +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"Tools for development and CI integration of Bob packages" -owner = [u"Idiap Research Institute"] +short_description = "Tools for development and CI integration of Bob packages" +owner = ["Idiap Research Institute"] # -- Options for HTML output --------------------------------------------------- @@ -204,7 +204,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