]> git.scottworley.com Git - paperdoorknob/commitdiff
Allow many Spec fields
authorScott Worley <scottworley@scottworley.com>
Wed, 20 Dec 2023 07:48:57 +0000 (23:48 -0800)
committerScott Worley <scottworley@scottworley.com>
Wed, 20 Dec 2023 07:48:57 +0000 (23:48 -0800)
The whole point of Spec is to be a simple, inert, immutable collection
of largely independent program elements easily at hand.  It's being used
here like a namespace, not a pile of shared mutable state for which a
field limit of 7 would make more sense.  Let Spec grow.

spec.py

diff --git a/spec.py b/spec.py
index 50746d75e172bc58ea48584b4468baaa5ab8b161..c7ace56daf7c6da338a1288b4b5278410009cf23 100644 (file)
--- a/spec.py
+++ b/spec.py
@@ -15,6 +15,7 @@ from fetch import Fetcher
 from texify import Texifier
 
 
 from texify import Texifier
 
 
+# pylint: disable=too-many-instance-attributes
 @dataclass(frozen=True)
 class Spec:
     url: str
 @dataclass(frozen=True)
 class Spec:
     url: str