Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 3, 2024
1 parent a66b6b9 commit 2f21f13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/unit/test_conditions.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ def resolve_expression(kwd, exp, *_, **__):
processed_lines, processed_validity = zip(*process_conditions(lines))
assert list(processed_lines) == lines
assert list(processed_validity) == validity
processed_lines, processed_validity = zip(*process_conditions(lines, MacroDefinitions.parse(lines)))
processed_lines, processed_validity = zip(
*process_conditions(lines, MacroDefinitions.parse(lines))
)
assert list(processed_lines) == lines
assert list(processed_validity) == validity
2 changes: 1 addition & 1 deletion tests/unit/test_sections.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
import pytest
from flexmock import flexmock

from specfile.macro_definitions import MacroDefinitions
from specfile.options import Options, Token, TokenType
from specfile.sections import Section, Sections
from specfile.macro_definitions import MacroDefinitions


def test_find():
Expand Down

0 comments on commit 2f21f13

Please sign in to comment.