mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-23 20:45:33 +03:00
b537f454c1
* Python 3.8 is now end of life [Link]
* changed occurrences found with `git grep -P '[^\d\.]3\.8[^\d]'`
* so doing, removed unused branch in `glances/outputs/glances_restful_api.py`
* branch introduced by f6545580db
* ruff also needs a bump; i.e, `s/py38/py39/`
* not done yet, since it needs to clear out warnings.
Link: https://devguide.python.org/versions/
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
31 lines
442 B
INI
31 lines
442 B
INI
# Tox (http://tox.testrun.org/) is a tool for running tests
|
|
# Install:
|
|
# pip install tox
|
|
# Run:
|
|
# tox
|
|
|
|
[tox]
|
|
envlist =
|
|
py39
|
|
py310
|
|
py311
|
|
py312
|
|
py313
|
|
|
|
[testenv]
|
|
deps =
|
|
flake8
|
|
psutil
|
|
defusedxml
|
|
packaging
|
|
orjson
|
|
fastapi
|
|
uvicorn
|
|
jinja2
|
|
requests
|
|
commands =
|
|
python unittest-core.py
|
|
; python unittest-restful.py
|
|
; python unittest-xmlrpc.py
|
|
;flake8 --exclude=build,.tox,.git
|