Generate settngs namespace before formatting
This commit is contained in:
parent
6c07fab985
commit
27f71833b3
@ -101,7 +101,6 @@ basepython = {env:tox_python:python3.9}
|
||||
[testenv]
|
||||
description = run the tests with pytest
|
||||
package = wheel
|
||||
wheel_build_env = .pkg
|
||||
deps =
|
||||
pytest>=7
|
||||
extras =
|
||||
@ -117,7 +116,6 @@ commands =
|
||||
[m1env]
|
||||
description = run the tests with pytest
|
||||
package = wheel
|
||||
wheel_build_env = .pkg
|
||||
deps =
|
||||
pytest>=7
|
||||
icu,all: pyicu-binary
|
||||
@ -126,6 +124,8 @@ extras =
|
||||
cbr: CBR
|
||||
gui: GUI
|
||||
all: 7Z,CBR,GUI
|
||||
commands =
|
||||
python -m pytest {tty:--color=yes} {posargs}
|
||||
|
||||
[testenv:py3.9-{icu,all}]
|
||||
base = {env:tox_env:testenv}
|
||||
@ -134,7 +134,6 @@ base = {env:tox_env:testenv}
|
||||
labels =
|
||||
release
|
||||
build
|
||||
skip_install = true
|
||||
deps =
|
||||
black>=22
|
||||
isort>=5.10
|
||||
@ -142,8 +141,9 @@ deps =
|
||||
autoflake
|
||||
pyupgrade
|
||||
commands =
|
||||
-python ./build-tools/generate_settngs.py
|
||||
-setup-cfg-fmt setup.cfg
|
||||
-python -m autoflake -i --remove-all-unused-imports --ignore-init-module-imports .
|
||||
-python -m autoflake -i --remove-all-unused-imports --ignore-init-module-imports -r comictaggerlib comicapi comictalker testing tests build-tools
|
||||
-python -m isort --af --add-import 'from __future__ import annotations' .
|
||||
-python -m black .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user