Instagram / Fixit

Advanced Python linting framework with auto-fixes and hierarchical configuration that makes it easy to write custom in-repo lint rules.

Home Page:https://fixit.rtfd.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add slots=True to the dataclass replacing named tuples.

eugenenelou opened this issue · comments

To better mimick the behaviour of NamedTuple, the replacing dataclass should have slots=True so that the underlying class stores the attribute as a tuple.