Closed AntsForBreakfast closed 3 months ago
Can you paste the traceback.
Can you paste the traceback.
Sorry been busy, will do today at evening
After some testing it seem to be working and its linter issue. It creates Style object but linter says: Argument of type "Color" cannot be assigned to parameter "meta" of type "Dict[str, any] | None"
Writing meta = None
fixes the issues
I think this is actually an error in the linter.
I hope we solved your problem.
If you like using Rich, you might also enjoy Textual
When trying to unpack style params to a Style class as kwargs i get meta error but meta is last parameter. Not sure why it happens since kwargs should not care about position
Provide a minimal code example that demonstrates the issue if you can. If the issue is visual in nature, consider posting a screenshot.
What platform (Win/Linux/Mac) are you running on? What terminal software are you using? Linux Arch, Kitty terminal