[Bf-blender-cvs] [42d748be342] master: pyproject: re-enable line wrapping for autopep8

Campbell Barton noreply at git.blender.org
Fri May 13 10:06:04 CEST 2022


Commit: 42d748be3425821400677db99a6e2c079d9e271c
Author: Campbell Barton
Date:   Fri May 13 18:03:11 2022 +1000
Branches: master
https://developer.blender.org/rB42d748be3425821400677db99a6e2c079d9e271c

pyproject: re-enable line wrapping for autopep8

The problem noted in the configuration file no longer occurs,
re-enabling line wrapping (E501).

===================================================================

M	pyproject.toml

===================================================================

diff --git a/pyproject.toml b/pyproject.toml
index 283e4c40db2..22d2d768d08 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -20,11 +20,6 @@ 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:



More information about the Bf-blender-cvs mailing list