Skip to content

Commit

Permalink
fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
NiumXp committed Jul 1, 2024
1 parent d2c2d71 commit 1e86fbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions norminette/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def add_highlight(
) -> None: ...
@overload
def add_highlight(self, highlight: Highlight, /) -> None: ...
@overload
def add_highlight(self, token: Token, /) -> None: ...

def add_highlight(self, *args, **kwargs) -> None:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from norminette.errors import JSONErrorsFormatter
from norminette.errors import Error, Errors, Highlight as H
from norminette.errors import ShortErrorsFormatter
from norminette.errors import HumanizedErrorsFormatter
# from norminette.errors import HumanizedErrorsFormatter


@pytest.mark.parametrize("files, expected_result, ", [it.values() for it in [
Expand Down

0 comments on commit 1e86fbf

Please sign in to comment.