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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user