|
|
|
@ -184,8 +184,16 @@ build-backend = "poetry.core.masonry.api" |
|
|
|
|
# https://beta.ruff.rs/docs/configuration/#using-pyprojecttoml |
|
|
|
|
[tool.ruff] |
|
|
|
|
indent-width = 2 |
|
|
|
|
lint.select = ["E", "F", "W", "PIE", "C4", "ISC", "RUF008", "RUF100", "A", "B", "TID251"] |
|
|
|
|
lint.ignore = ["E741", "E402", "C408", "ISC003", "B027", "B024"] |
|
|
|
|
lint.select = ["E", "F", "W", "PIE", "C4", "ISC", "NPY", "RUF008", "RUF100", "A", "B", "TID251"] |
|
|
|
|
lint.ignore = [ |
|
|
|
|
"E741", |
|
|
|
|
"E402", |
|
|
|
|
"C408", |
|
|
|
|
"ISC003", |
|
|
|
|
"B027", |
|
|
|
|
"B024", |
|
|
|
|
"NPY002", # new numpy random syntax is worse |
|
|
|
|
] |
|
|
|
|
line-length = 160 |
|
|
|
|
target-version="py311" |
|
|
|
|
exclude = [ |
|
|
|
|