fix code passing ruff linter pre-commit ruff pre-commit ruff format
This commit is contained in:
@@ -3,21 +3,37 @@
|
||||
# Copyright (c) 2007 Tim Lauridsen <tla@rasmil.dk>
|
||||
# All Rights Reserved. See LICENSE-PSF & LICENSE for details.
|
||||
|
||||
from .compat import ConfigParser, RawConfigParser, SafeConfigParser
|
||||
from .config import BasicConfig, ConfigNamespace
|
||||
from .configparser import (DEFAULTSECT, MAX_INTERPOLATION_DEPTH,
|
||||
DuplicateSectionError, InterpolationDepthError,
|
||||
InterpolationMissingOptionError,
|
||||
InterpolationSyntaxError, NoOptionError,
|
||||
NoSectionError)
|
||||
from .ini import INIConfig, change_comment_syntax
|
||||
from .config import BasicConfig, ConfigNamespace
|
||||
from .compat import RawConfigParser, ConfigParser, SafeConfigParser
|
||||
from .utils import tidy
|
||||
|
||||
from .configparser import (
|
||||
DuplicateSectionError,
|
||||
NoSectionError,
|
||||
NoOptionError,
|
||||
InterpolationMissingOptionError,
|
||||
InterpolationDepthError,
|
||||
InterpolationSyntaxError,
|
||||
DEFAULTSECT,
|
||||
MAX_INTERPOLATION_DEPTH,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
'BasicConfig', 'ConfigNamespace',
|
||||
'INIConfig', 'tidy', 'change_comment_syntax',
|
||||
'RawConfigParser', 'ConfigParser', 'SafeConfigParser',
|
||||
'DuplicateSectionError', 'NoSectionError', 'NoOptionError',
|
||||
'InterpolationMissingOptionError', 'InterpolationDepthError',
|
||||
'InterpolationSyntaxError', 'DEFAULTSECT', 'MAX_INTERPOLATION_DEPTH',
|
||||
"BasicConfig",
|
||||
"ConfigNamespace",
|
||||
"INIConfig",
|
||||
"tidy",
|
||||
"change_comment_syntax",
|
||||
"RawConfigParser",
|
||||
"ConfigParser",
|
||||
"SafeConfigParser",
|
||||
"DuplicateSectionError",
|
||||
"NoSectionError",
|
||||
"NoOptionError",
|
||||
"InterpolationMissingOptionError",
|
||||
"InterpolationDepthError",
|
||||
"InterpolationSyntaxError",
|
||||
"DEFAULTSECT",
|
||||
"MAX_INTERPOLATION_DEPTH",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user