« get me outta code hell

ruff.toml - dotfiles - Miscellaneous configuration files of my personal use
about summary refs log tree commit diff
path: root/ruff.toml
blob: 3284303cccc89977af1c1a012f34e81a24f46827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[lint]
select = [
  "F", # pyflakes
  "E", # pycodestyle errors
  "E1", # Matching indent
  "E225", # Whitespace around operator
  "W", # pycodestyle warnings
  "C", # complexity
  "N", # naming
  "YTT", # flake8
  "ASYNC",
  "S", # flake8 bandit
  "BLE", # blind except
  "FBT", # boolean trap
  "A", # builtins
  "COM", # commas
  "C4", # comprehensions
  "EM", # errormsg
  "G010", # warn/warning
  "PIE",
  "RSE",
  "RET",
  "TD", # TODO
  "FIX", # FIXME
  # "ERA", # eradicate commented code
  "B", # bugbears
  "ARG",
  "RUF"
]

ignore = [
  "S101"
]