Skip to content

Commit

Permalink
refactor: black, isort, ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Sep 2, 2023
1 parent 8bb9329 commit 45ec5e5
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion ckanext/pygments/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import ckanext.pygments.utils as pygment_utils


CONF_SUPPORTED_FORMATS = "ckanext.pygments.supported_formats"

CONF_MAX_SIZE = "ckanext.pygments.max_size"
Expand Down
2 changes: 1 addition & 1 deletion ckanext/pygments/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from pygments.formatters import HtmlFormatter
from requests.exceptions import RequestException

import ckanext.pygments.utils as pygment_utils
import ckanext.pygments.config as pygment_config
import ckanext.pygments.utils as pygment_utils

log = logging.getLogger(__name__)

Expand Down
1 change: 0 additions & 1 deletion ckanext/pygments/logic/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import ckanext.pygments.config as pygment_config
from ckanext.pygments.utils import get_list_of_themes


Schema = Dict[str, Any]


Expand Down
1 change: 0 additions & 1 deletion ckanext/pygments/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pygments.lexers as pygment_lexers
from pygments.styles import STYLE_MAP


DEFAULT_LEXER = pygment_lexers.TextLexer
LEXERS = {
("sql",): pygment_lexers.SqlLexer,
Expand Down

0 comments on commit 45ec5e5

Please sign in to comment.