ci: sync configs to pymplate

- add python3.12
- add ruff
This commit is contained in:
Dima Gerasimov 2023-10-06 02:02:43 +01:00 committed by karlicoss
parent fabcbab751
commit 0512488241
9 changed files with 117 additions and 74 deletions

View file

@ -144,9 +144,9 @@ def test_active_modules() -> None:
with reset() as cc:
cc.enabled_modules = ['my.whatever']
cc.disabled_modules = ['my.body.*']
assert cc._is_module_active('my.whatever' ) is True
assert cc._is_module_active('my.core' ) is None
assert not cc._is_module_active('my.body.exercise') is True
assert cc._is_module_active('my.whatever' ) is True
assert cc._is_module_active('my.core' ) is None
assert cc._is_module_active('my.body.exercise') is False
with reset() as cc:
# if both are set, enable all