mirror of
https://github.com/zama-ai/concrete.git
synced 2026-01-21 02:37:58 -05:00
23 lines
965 B
TOML
23 lines
965 B
TOML
target-version = "py38"
|
|
line-length = 100
|
|
select = [
|
|
"F", "E", "W", "C90", "I", "UP", "N", "YTT", "S", "BLE", "FBT", "B", "C4",
|
|
"T10", "EM", "ICN", "Q", "RET", "SIM", "TID", "ARG", "DTZ", "ERA", "PD", "PGH",
|
|
"PLC", "PLE", "PLR", "PLW", "RUF"
|
|
]
|
|
ignore = [
|
|
"A", "D", "FBT", "T20", "ANN", "N806", "ARG001", "S101", "BLE001", "RUF100", "ERA001", "SIM105",
|
|
"RET504", "TID252", "PD011", "I001", "UP015", "C901", "A001", "SIM118", "PGH003", "PLW2901",
|
|
"PLR0915", "C416", "PLR0911", "PLR0912", "PLR0913", "RUF005", "PLR2004", "S110", "PLC1901",
|
|
"E731", "RET507", "SIM102"
|
|
]
|
|
|
|
[per-file-ignores]
|
|
"**/__init__.py" = ["F401"]
|
|
"concrete/fhe/compilation/configuration.py" = ["ARG002"]
|
|
"concrete/fhe/mlir/processors/all.py" = ["F401"]
|
|
"concrete/fhe/mlir/processors/assign_bit_widths.py" = ["ARG002"]
|
|
"concrete/fhe/mlir/converter.py" = ["ARG002", "B011", "F403", "F405"]
|
|
"examples/**" = ["PLR2004"]
|
|
"tests/**" = ["PLR2004", "PLW0603", "SIM300", "S311"]
|