mirror of
https://github.com/pyapp-kit/superqt.git
synced 2025-09-04 16:50:10 +02:00
* enum combobox implementation * add enunm() * Update superqt/combobox/_enum_combobox.py Co-authored-by: Talley Lambert <talley.lambert@gmail.com> * add changes from review * updates from review * make current enum not raise exception from currentEnum * improve checks in setCurrentEnum * Update superqt/combobox/_tests/test_enum_comb_box.py Co-authored-by: Talley Lambert <talley.lambert@gmail.com> * fix test * fix test call * add class to top level __init__ * fix pre-commit mmissed call * rename * documentation first part * Update docs/combobox.md Co-authored-by: Talley Lambert <talley.lambert@gmail.com> * add possibility to use Optional[Enum] * add information about optional annotation * change type annotation to additional parameter * update docs * change to EnumMeta * add information about signal Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
60 lines
1.3 KiB
INI
60 lines
1.3 KiB
INI
[tox]
|
|
envlist = py{37,38,39}-{linux,macos,windows}-{pyqt5,pyside2,pyqt6,pyside6},py37-{linux,macos,windows}-{pyqt511,pyside511}
|
|
toxworkdir=/tmp/.tox
|
|
|
|
[coverage:report]
|
|
exclude_lines =
|
|
pragma: no cover
|
|
if TYPE_CHECKING:
|
|
\.\.\.
|
|
except ImportError*
|
|
raise NotImplementedError()
|
|
omit =
|
|
superqt/_version.py
|
|
superqt/qtcompat/*
|
|
*_tests*
|
|
|
|
[gh-actions]
|
|
python =
|
|
3.6: py36
|
|
3.7: py37
|
|
3.8: py38
|
|
3.9: py39
|
|
|
|
[gh-actions:env]
|
|
PLATFORM =
|
|
ubuntu-latest: linux
|
|
ubuntu-16.04: linux
|
|
ubuntu-18.04: linux
|
|
ubuntu-20.04: linux
|
|
windows-latest: windows
|
|
macos-latest: macos
|
|
macos-11.0: macos
|
|
BACKEND =
|
|
pyqt5: pyqt5
|
|
pyside2: pyside2
|
|
pyqt6: pyqt6
|
|
pyside6: pyside6
|
|
pyqt511: pyqt511
|
|
pyside511: pyside511
|
|
|
|
[testenv]
|
|
platform =
|
|
macos: darwin
|
|
linux: linux
|
|
windows: win32
|
|
passenv = CI GITHUB_ACTIONS DISPLAY XAUTHORITY
|
|
deps =
|
|
pytest-xvfb ; sys_platform == 'linux'
|
|
pyqt511: pyqt5==5.11.*
|
|
pyside511: pyside2==5.11.*
|
|
extras =
|
|
testing
|
|
pyqt5: pyqt5
|
|
pyside2: pyside2
|
|
pyqt6: pyqt6
|
|
pyside6: pyside6
|
|
commands_pre =
|
|
pyqt6,pyside6: pip install -U pytest-qt@git+https://github.com/pytest-dev/pytest-qt.git
|
|
commands = pytest --color=yes --cov=superqt --cov-report=xml --pyargs superqt {posargs}
|