Skip to content

Commit

Permalink
Tweak isort excluded lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatal1ty committed Nov 14, 2023
1 parent 97a7a08 commit 66265ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion mashumaro/core/meta/types/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ class AbstractMethodBuilder(ABC):
def get_method_prefix(self) -> str: # pragma: no cover
raise NotImplementedError

def _generate_method_name(self, spec: ValueSpec) -> str:
def _generate_method_name(
self, spec: ValueSpec
) -> str: # pragma: no cover
prefix = self.get_method_prefix()
if prefix:
prefix = f"{prefix}_"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ line-length = 79
omit = ["setup.py"]

[tool.coverage.report]
exclude_lines = ["pragma: no cover", "@overload"]
exclude_lines = ["pragma: no cover", "@overload", "@abstractmethod"]

0 comments on commit 66265ab

Please sign in to comment.