Closed skinkie closed 6 months ago
@skinkie edit the ticket and add some proper description please.
The extra parenthesis, is ruff's attempt to keep the maximum line length, it doesn't affect the dataclass in any way, increase the max line length if you don't like it
At some point, I plan to surface the ruff config somehow and people can pick and choose, format/lint options but for now, only the max line length can be changed
The extra parenthesis, is ruff's attempt to keep the maximum line length, it doesn't affect the dataclass in any way, increase the max line length if you don't like it
So you would say that the type hinting in PyCharm has a bug?
I think so, all tests in the samples and w3c-tests repos pass
Reported upstream. I think I'll then for now explicitly increase the max line length to 320.
Using Pycharm the following type hinting is generated for the TimetableFrame class. These specific classes have been generated by the main version of xsdata, using the NeTEx next branch.
I think the 'field ( ... )' is undesirable. It looks like that comes from the extra parentheses.