Skip to content

Commit

Permalink
ruff: check mutable default values for data class attributes (commaai…
Browse files Browse the repository at this point in the history
…#29945)

* Update pyproject.toml

* Update pyproject.toml
  • Loading branch information
sshane authored Sep 16, 2023
1 parent 5831c05 commit 5cb4e83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"

0 comments on commit 5cb4e83

Please sign in to comment.