diff --git a/pyproject.toml b/pyproject.toml index 2bd805c033..68c9bb1d18 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -140,7 +140,8 @@ select = [ # Base linting rule selections. "ISC", # Implicit string concatenation that can cause subtle issues "ICN", # Only use common conventions for import aliases. "Q", # Consistent quotations - "RET" # Simpler logic after return, raise, continue or break + "RET", # Simpler logic after return, raise, continue or break + "UP018", "C408", # Convert type calls to literals. The latest pylint enforces this, but ruff has auto-fixes. ] extend-select = [ # These sets are still frequently getting new rules. @@ -187,6 +188,7 @@ ignore = [ "S101", # Allow assertions in tests "S103", # Allow `os.chmod` setting a permissive mask `0o555` on file or directory "S108", # Allow Probable insecure usage of temporary file or directory + "PLR0913", # Allow many arguments for test functions ] # isort leaves init files alone by default, this makes ruff ignore them too. "__init__.py" = ["I001"] diff --git a/tox.ini b/tox.ini index d2c95755db..a856c331c9 100644 --- a/tox.ini +++ b/tox.ini @@ -56,7 +56,7 @@ deps = # renovate: datasource=pypi black>=22.12.0 # renovate: datasource=pypi - ruff==0.0.236 + ruff==0.0.239 # renovate: datasource=pypi codespell[tomli]>=2.2.2 # renovate: datasource=pypi