Data Classes and PEP 8

44 Views Asked by At

Are data classes considered the same as a normal class when it comes to the styling conventions found in PEP8? In other words, should you use camel case for a data class, etc...

I reviewed both PEP 8 and PEP 557. Neither explicitly mentions styling for data classes. Of course, there's guidance for classes and technically a dataclass is still a class. But I'd like clarification from the community about usual practices.

0

There are 0 best solutions below