ruff: check mutable default values for data class attributes (#29945)

* Update pyproject.toml

* Update pyproject.toml
pull/29950/head
Shane Smiskol 2 years ago committed by GitHub
parent 5831c05a11
commit 5cb4e83528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pyproject.toml

@ -172,7 +172,7 @@ build-backend = "poetry.core.masonry.api"
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml
[tool.ruff]
select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF100", "A", "B", "TID251"]
select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF008", "RUF100", "A", "B", "TID251"]
ignore = ["W292", "E741", "E402", "C408", "ISC003", "B027", "B024"]
line-length = 160
target-version="py311"
@ -190,4 +190,4 @@ flake8-implicit-str-concat.allow-multiline=false
"common".msg = "Use openpilot.common"
"system".msg = "Use openpilot.system"
"third_party".msg = "Use openpilot.third_party"
"tools".msg = "Use openpilot.tools"
"tools".msg = "Use openpilot.tools"

Loading…
Cancel
Save