aboutsummaryrefslogtreecommitdiff
path: root/.pylintrc
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-09-02 16:23:18 -0700
committerEli Schwartz <eschwartz@archlinux.org>2022-11-29 23:26:05 -0500
commit5794805f8e76dfe940f6c09d080d9068fe1ff98d (patch)
treeb85c458fafca27c878a36db544c2ccaa9a5c4e23 /.pylintrc
parente8727fc8571bc8b9dc23255c267b52478d12e66f (diff)
downloadmeson-5794805f8e76dfe940f6c09d080d9068fe1ff98d.zip
meson-5794805f8e76dfe940f6c09d080d9068fe1ff98d.tar.gz
meson-5794805f8e76dfe940f6c09d080d9068fe1ff98d.tar.bz2
pylint: enable used-before-assignment
The one case of this was a false-positive, but what we were doing (checking locals()) is not idiomatic. I've replaced the call to `locals()` with the obvious `var: T.Optional[str] = None` with check instead.
Diffstat (limited to '.pylintrc')
-rw-r--r--.pylintrc1
1 files changed, 0 insertions, 1 deletions
diff --git a/.pylintrc b/.pylintrc
index 6245958..45fec9b 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -74,7 +74,6 @@ disable=
unused-argument,
unused-variable,
use-implicit-booleaness-not-comparison,
- used-before-assignment,
useless-return,
useless-super-delegation,
wrong-import-order,