Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-28Cleanup: fix various typosluzpaz
Differential Revision: https://developer.blender.org/D15304
2022-05-13pyproject: re-enable line wrapping for autopep8Campbell Barton
The problem noted in the configuration file no longer occurs, re-enabling line wrapping (E501).
2022-04-26pyproject: enable aggressive, ignore E501 (line wrapping)Campbell Barton
Aggressive needs to be enabled for many useful edits to take effect, the ignore list is currently used to disable edits that may need further checks/investigation before they're enabled. Note that aggressive was already enabled for the: source/tools/utils/autopep8_clean.py script which was previously used when applying autopep8.
2022-04-24pyproject: remove settings that cause other uses of autopep8 to failCampbell Barton
While the ability to run `autopep8 .` to format Blender's Python code is handy, the settings to perform this can conflict with other uses of autopep8 (which editors may use to auto-format on save). Some arguments now need to be passed in, e.g: autopep8 . --in-place --recursive --jobs=0 We'll likely include this in `make format` convenience target so the details for invoking autopep8 shouldn't be an issue in the long term.
2022-04-22pyproject: add configuration for autopep8Campbell Barton
This adds pyproject.toml, needed to configure defaults for autopep8. The file is auto-discovered in a similar way to .clang-format, other tools could be configured here too. For now just configure autopep8 so this can be enabled in IDE's without causing unexpected edits such as wrapping lines over 80 columns in width. Now autopep8 can be used from the root directory by running: autopep8 . This uses multiple-jobs to run autopep8 over all Python scripts except paths that are explicitly ignored in exclude defined by pyproject.toml. Reviewed By: mont29, brecht, sybren Ref D14686