Upgrade pre-commit tools; Update black and isort to Python 3.8 profiles

This commit is contained in:
Mike Edmunds
2024-08-07 13:27:40 -07:00
parent 66c677e4ab
commit ae6d730c46
3 changed files with 8 additions and 7 deletions

View File

@@ -112,8 +112,7 @@ path = "anymail/_version.py"
[tool.black]
force-exclude = '^/tests/test_settings/settings_.*\.py'
max-line-length = 88
target-version = ["py37"]
target-version = ["py38"]
[tool.doc8]
# for now, Anymail allows longer lines in docs source:
@@ -126,4 +125,4 @@ max-line-length = 120
combine_as_imports = true
known_first_party = "anymail"
profile = "black"
py_version = "37"
py_version = "38"