diff --git a/ruff.toml b/ruff.toml index de0683a..3776b06 100644 --- a/ruff.toml +++ b/ruff.toml @@ -32,12 +32,22 @@ exclude = [ line-length = 120 indent-width = 4 -target-version = "py311" +target-version = "py312" [lint] # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. -select = ["ALL"] -ignore = ["N999", "ANN101", "ANN102", "ANN401", "PLR0913"] +select = ["E4", "E7", "E9", "F"] +ignore = [ + "N999", # ?? + "E211", # Whitespace before '('. + "E501", # Line too long. + "E731", # Do not assign a lambda expression, use a def. + "D203", + "D212", + "ANN401", + "PLR0913" +] +task-tags = ["FIXME", "TODO", "XXX"] # Allow fix for all enabled rules (when `--fix`) is provided. fixable = ["ALL"] @@ -57,4 +67,4 @@ indent-style = "space" skip-magic-trailing-comma = false # Like Black, automatically detect the appropriate line ending. -line-ending = "lf" \ No newline at end of file +line-ending = "lf"