Skip to content

Commit 7e477c4

Browse files
committed
🔧 build(lint): keep the collector's fields flat
1 parent bbea406 commit 7e477c4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/python_discovery/_py_info_collect.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
)
4141

4242

43-
class PythonInfoCollector:
43+
# Each attribute is a public PythonInfo field and a key of the cached JSON, so they stay flat.
44+
class PythonInfoCollector: # simplint: ignore[too-many-attributes]
4445
# Collects information about the currently running Python interpreter.
4546
def __init__(self):
4647
self._init_identity()

0 commit comments

Comments
 (0)