diff options
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml index 0b022dfeb34..283e4c40db2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,11 @@ ignore = [ # Why disable? Re-ordering imports is disruptive and breaks some scripts # that need to check if a module has already been loaded in the case of reloading. "E402", + # Info: Try to make lines fit within --max-line-length characters. + # Why disable? Causes lines to be wrapped, where long lines have the trailing bracket moved to the end of the line. + # If trailing commas were respected as they are by clang-format this might be acceptable. + # Note that this doesn't disable all line wrapping. + "E501", # Info: Fix various deprecated code (via lib2to3) # Why disable? Does nothing besides incorrectly adding a duplicate import, # could be reported as a bug except this is likely to be removed soon, see: @@ -27,6 +32,10 @@ ignore = [ "W690", ] +# Use aggressive as many useful edits are disabled unless it's enabled. +# Any edits which are overly disruptive or risky can be removed in the `ignore` list. +aggressive = 2 + # Exclude: # - `./extern/` because it's maintained separately. # - `./release/scripts/addons*` & `./source/tools/` because they are external repositories |