diff --git a/pyproject.toml b/pyproject.toml index 018afbfcb8..137717643f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,7 +64,9 @@ disable = [ "too-many-arguments", # we can't determine a good limit here. reviews should spot bad cases of this. "duplicate-code", # Mostly imports and test setup. "cyclic-import", # We use these inside methods that require models from multiple apps. Tests will catch actual errors. - "unsupported-binary-operation", # broken in pylint 2.15: https://github.com/PyCQA/pylint/issues/7381 + "unsupported-binary-operation", # broken in pylint: https://github.com/PyCQA/pylint/issues/7381 + "use-implicit-booleaness-not-comparison-to-string", # forces us to use less expressive code + "use-implicit-booleaness-not-comparison-to-zero", # forces us to use less expressive code ] ############################################## diff --git a/requirements-dev.txt b/requirements-dev.txt index 0c79991252..aadd33e270 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,7 +8,7 @@ isort~=5.12.0 model-bakery~=1.16.0 mypy~=1.6.0 openpyxl-stubs~=0.1.25 -pylint-django~=2.5.3 -pylint~=2.17.1 +pylint-django~=2.5.4 +pylint~=3.0.1 tblib~=2.0.0 xlrd~=2.0.1