Skip to content
Snippets Groups Projects
Unverified Commit dcb0b266 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[ruff] Add missing lines-between-types settings from isort

parent 90a127ec
Branches
Tags
1 merge request!13Add missing lines-between-types settings from isort
Pipeline #85182 passed
......@@ -4,6 +4,7 @@
import pathlib
import time
from importlib.metadata import distribution
# -- General configuration -----------------------------------------------------
......
......@@ -131,6 +131,10 @@ ignore = [
"ISC001", # https://docs.astral.sh/ruff/rules/single-line-implicit-string-concatenation/
]
[tool.ruff.lint.isort]
# Use a single line between direct and from import.
lines-between-types = 1
[tool.ruff.lint.pydocstyle]
convention = "numpy"
......
......@@ -9,6 +9,7 @@ import pathlib
import shutil
import tarfile
import tempfile
from io import BytesIO
import gitlab
......
......@@ -7,12 +7,14 @@ import difflib
import logging
import re
import time
from distutils.version import StrictVersion
import gitlab
import gitlab.v4.objects
import packaging.version
import tomlkit
from git import Repo
from pkg_resources import Requirement
......
......@@ -3,6 +3,7 @@
# SPDX-License-Identifier: BSD-3-Clause
import pytest
from idiap_devtools.gitlab import release
from pkg_resources import Requirement
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment