You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did not dive into the issue but this can still help, so here is what happens:
I use tox to run black, mypy and unittest.
I have dataclasses with several arguments. One of the arguments was commented and was named type, such as:
@dataclassclassA:
first: int# type: int
Even though it was commented out, I have the following error message:
...: error: expected an indented block after class definition on line 190 [syntax]
I am not sure it is the intended behaviour. If it is, please disregard this issue.
The text was updated successfully, but these errors were encountered:
Hello,
I did not dive into the issue but this can still help, so here is what happens:
I use tox to run black, mypy and unittest.
I have dataclasses with several arguments. One of the arguments was commented and was named
type
, such as:Even though it was commented out, I have the following error message:
...: error: expected an indented block after class definition on line 190 [syntax]
I am not sure it is the intended behaviour. If it is, please disregard this issue.
The text was updated successfully, but these errors were encountered: