summaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorBenjamin Schubert <contact@benschubert.me>2019-07-26 14:47:08 +0100
committerBenjamin Schubert <contact@benschubert.me>2019-07-29 10:42:02 +0100
commit90da23867767905c39bf8199c2b8a4d6e13a5c95 (patch)
tree44f658016a1176a7985681421cc76fbcc671a323 /.pylintrc
parent7736e44adb29688c13da1f4c5bddf03bd878a0f3 (diff)
downloadbuildstream-90da23867767905c39bf8199c2b8a4d6e13a5c95.tar.gz
types: Add a 'FastEnum' implementation and replace Enum by it
'Enum' has a big performance impact on the running code. Replacing it with a safe subset of functionality removes lots of this overhead without removing the benefits of using enums (safe comparisions, uniqueness)
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.pylintrc b/.pylintrc
index cb4967a2f..0ed9280b7 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -8,6 +8,7 @@ extension-pkg-whitelist=
buildstream._loader._loader,
buildstream._loader.loadelement,
buildstream._loader.types,
+ buildstream._types,
buildstream._utils,
buildstream._variables,
buildstream._yaml