Skip to content

Commit

Permalink
Applied linting and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mwootendev committed Dec 19, 2023
1 parent 7127ee1 commit b3dcf01
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/dynamicprompts/parser/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def create_parser(
parser_config=parser_config,
prompt=variant_prompt,
)
wildcard = _configure_wildcard(
wildcard = _configure_wildcard(
parser_config=parser_config,
prompt=wildcard_prompt,
)
Expand Down
2 changes: 1 addition & 1 deletion src/dynamicprompts/samplers/cycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
)
from dynamicprompts.samplers.base import Sampler
from dynamicprompts.samplers.utils import (
get_wildcard_not_found_fallback,
get_wildcard_not_found_fallback,
wildcard_to_variant,
)
from dynamicprompts.sampling_context import SamplingContext
Expand Down
3 changes: 0 additions & 3 deletions src/dynamicprompts/samplers/utils.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
from __future__ import annotations

import logging
from functools import partial

import pyparsing as pp

from dynamicprompts.commands import (
Command,
Expand Down
2 changes: 1 addition & 1 deletion tests/parser/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_literal_characters(self, input: str):
"input",
[
"colours",
"path/to/colours",
"path/to/colours",
"änder",
],
)
Expand Down

0 comments on commit b3dcf01

Please sign in to comment.