From 52164d1a2885354aeb582e2cbf297ca628f917d3 Mon Sep 17 00:00:00 2001 From: Thomas Mansencal Date: Sat, 14 Dec 2024 20:12:54 +1300 Subject: [PATCH] Disable `isort` glob. --- colour_datasets/__init__.py | 4 ++++ colour_datasets/loaders/__init__.py | 2 ++ colour_datasets/records/__init__.py | 3 ++- colour_datasets/utilities/__init__.py | 2 ++ pyproject.toml | 1 - 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/colour_datasets/__init__.py b/colour_datasets/__init__.py index 1b4ef01..4099509 100644 --- a/colour_datasets/__init__.py +++ b/colour_datasets/__init__.py @@ -15,6 +15,10 @@ - utilities: Various utilities. """ +# isort: skip_file + +from __future__ import annotations + import contextlib import os import subprocess diff --git a/colour_datasets/loaders/__init__.py b/colour_datasets/loaders/__init__.py index ec8dcaa..5aaf654 100644 --- a/colour_datasets/loaders/__init__.py +++ b/colour_datasets/loaders/__init__.py @@ -1,3 +1,5 @@ +# isort: skip_file + from __future__ import annotations import sys diff --git a/colour_datasets/records/__init__.py b/colour_datasets/records/__init__.py index 5d2a283..d29f471 100644 --- a/colour_datasets/records/__init__.py +++ b/colour_datasets/records/__init__.py @@ -1,5 +1,6 @@ -from __future__ import annotations +# isort: skip_file +from __future__ import annotations from .configuration import Configuration, sandbox, use_sandbox from .zenodo import Community, Record diff --git a/colour_datasets/utilities/__init__.py b/colour_datasets/utilities/__init__.py index 735cfb3..59f38e6 100644 --- a/colour_datasets/utilities/__init__.py +++ b/colour_datasets/utilities/__init__.py @@ -1,3 +1,5 @@ +# isort: skip_file + from .common import ( suppress_stdout, hash_md5, diff --git a/pyproject.toml b/pyproject.toml index afc92bf..a99dbf7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,7 +109,6 @@ force_grid_wrap = 0 include_trailing_comma = true line_length = 88 multi_line_output = 3 -skip_glob = ["colour_datasets/**/__init__.py"] split_on_trailing_comma = true use_parentheses = true