Skip to content
Snippets Groups Projects
Commit 0fe801f4 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[qa] Fixes

parent 5d559b26
No related branches found
No related tags found
No related merge requests found
Pipeline #81833 failed
......@@ -6,11 +6,11 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.11.0
hooks:
- id: black
- repo: https://github.com/pycqa/docformatter
rev: v1.5.1
rev: v1.7.5
hooks:
- id: docformatter
- repo: https://github.com/pycqa/isort
......@@ -18,11 +18,11 @@ repos:
hooks:
- id: isort
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.0.0
rev: v1.7.1
hooks:
- id: mypy
args: [
......@@ -33,12 +33,12 @@ repos:
]
exclude: '^.*/data/second_config\.py$'
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-ast
- id: check-added-large-files
......@@ -51,6 +51,6 @@ repos:
- id: end-of-file-fixer
- id: debug-statements
- repo: https://github.com/fsfe/reuse-tool
rev: v1.1.2
rev: v2.1.0
hooks:
- id: reuse
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
"""Utilities to interact with GitLab."""
from __future__ import annotations
......
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
"""Utilities for retrieving, parsing and auto-generating changelogs."""
from __future__ import annotations
......
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
"""Utilities to needed to release packages."""
from __future__ import annotations
......
# Copyright © 2022 Idiap Research Institute <contact@idiap.ch>
#
# SPDX-License-Identifier: BSD-3-Clause
""":py:class:`logging.Logger` setup and stream separation"""
""":py:class:`logging.Logger` setup and stream separation."""
import logging
import sys
......@@ -12,8 +11,7 @@ import typing
# debug and info messages are written to sys.stdout
class _InfoFilter(logging.Filter):
"""Filter-class to delete any log-record with level above
:any:`logging.INFO` **before** reaching the handler.
"""
:any:`logging.INFO` **before** reaching the handler."""
def __init__(self):
super().__init__()
......
......@@ -25,9 +25,9 @@ def gitlab() -> None:
"""Commands that interact directly with GitLab.
Commands defined here are supposed to interact with gitlab, and
add/modify/remove resources on it directly. To avoid repetitive asking,
create a configuration file as indicated in the
:ref:`idiap-devtools.install.setup.gitlab` section of the user guide.
add/modify/remove resources on it directly. To avoid repetitive
asking, create a configuration file as indicated in the :ref:`idiap-
devtools.install.setup.gitlab` section of the user guide.
"""
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment