|
| 1 | +line-length = 100 |
| 2 | + |
| 3 | +[lint] |
| 4 | +select = ["ALL"] |
| 5 | +ignore = [ |
| 6 | + "COM812", # Redundant and conflicts with ruff format |
| 7 | + "D203", # No blank line before docstrings (D211) |
| 8 | + "D205", # Breaks if summary is larger than one line due to wrapping or if no summary exists |
| 9 | + "D212", # Enforce docstring summary line on the next line after quotes (D213) |
| 10 | + "D400", # First line of docstrings may not end in period |
| 11 | + "D401", # Docstrings should be written in present tense (not imperative) |
| 12 | + "D415", # First line of docstrings may not end in a period, question mark, or exclamation point |
| 13 | + "FBT", # Allow bool positional parameters since other value positions are allowed |
| 14 | + "FIX002", # Allow todo statements |
| 15 | + "PERF401", # Allow for loops when creating lists |
| 16 | + "PERF403", # Allow for loops when creating dicts |
| 17 | + "S311", # Allow usage of `random` package |
| 18 | + "SIM102", # Allow collapsible if statements for readability |
| 19 | + "TD002", # Author unnecessary for todo statement |
| 20 | + "TD003", # Issue link unnecessary for todo statement |
| 21 | + "UP015", # Explicit open modes are helpful |
| 22 | +] |
| 23 | +isort.order-by-type = false |
| 24 | + |
| 25 | +[format] |
| 26 | +docstring-code-format = true |
| 27 | +docstring-code-line-length = 100 |
0 commit comments