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 Jun 28, 2024
1 parent 0f22268 commit bf26d87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mypy/test/teststubgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,10 +845,9 @@ class TestClassVariableCls:
assert_equal(gen.get_imports().splitlines(), ["from typing import ClassVar"])
assert_equal(output, ["class C:", " x: ClassVar[int] = ..."])


def test_non_c_generate_signature_with_kw_only_args(self) -> None:
class TestClass:
def test(self, arg0, *, keyword_only : str, keyword_only_with_default : int = 7):
def test(self, arg0, *, keyword_only: str, keyword_only_with_default: int = 7):
pass

output: list[str] = []
Expand Down

0 comments on commit bf26d87

Please sign in to comment.