pyproject.toml: correct autopep8 configuration for 2.3.1

The updated autopep8 was ignoring the "exclude" values because
they started with a "./" instead of a "/".

The documentation I found doesn't go into details, even if this is a
regression in autopep8, update the configuration as it causes
"make format" to format files that aren't meant to be modified.
This commit is contained in:
Campbell Barton
2024-10-16 20:38:56 +11:00
parent 88f298f66f
commit 931469484e
2 changed files with 7 additions and 6 deletions

View File

@@ -38,11 +38,11 @@ aggressive = 2
# which can contain their own configuration and be handled separately.
# - `./scripts/modules/rna_manual_reference.py` because it's a generated data-file.
exclude = """
./extern/*,
./scripts/addons_core/*,
./scripts/modules/rna_manual_reference.py,
./tools/svn_rev_map/sha1_to_rev.py,
./tools/svn_rev_map/rev_to_sha1.py,
extern/*,
scripts/addons_core/*,
scripts/modules/rna_manual_reference.py,
tools/svn_rev_map/sha1_to_rev.py,
tools/svn_rev_map/rev_to_sha1.py,
"""
# Omit settings such as `jobs`, `in_place` & `recursive` as they can cause editor utilities that auto-format on save