Advertisement
joejoinerr

Default Ruff config

Sep 21st, 2023 (edited)
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. [tool.ruff]
  2. src = ["src"]
  3. fix = true
  4. extend-exclude = ["tests"]
  5.  
  6. [tool.ruff.lint]
  7. select = ["E", "F", "I", "C90", "B", "N", "D", "ANN", "TRY", "PD", "RUF200", "UP"]
  8. ignore = ["E501", "B904", "ANN101", "ANN003"]
  9.  
  10. [tool.ruff.lint.per-file-ignores]
  11. "__init__.py" = ["F401", "F403", "E402"]
  12.  
  13. [tool.ruff.lint.pydocstyle]
  14. convention = "google"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement