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:
parent
88f298f66f
commit
931469484e
@ -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
|
||||
|
@ -27,8 +27,9 @@ from typing import (
|
||||
Optional,
|
||||
)
|
||||
|
||||
# Temporary, until all platforms update to 2.3.1.
|
||||
VERSION_MIN = (1, 6, 0)
|
||||
VERSION_MAX_RECOMMENDED = (1, 6, 0)
|
||||
VERSION_MAX_RECOMMENDED = (2, 3, 1)
|
||||
AUTOPEP8_FORMAT_CMD = "autopep8"
|
||||
AUTOPEP8_FORMAT_DEFAULT_ARGS = (
|
||||
# Operate on all directories recursively.
|
||||
|
Loading…
x
Reference in New Issue
Block a user