Commit Graph

19 Commits

Author SHA1 Message Date
Ariel Otilibili
f92150a4f6 Bumped ruff target to Python 3.9
* sequel of b537f454c1
* prelude to subsequent changes due to ruff [Link]

Link: https://docs.astral.sh/ruff/rules/non-pep585-annotation/
Signed-off-by: Ariel Otilibili <otilibil@eurecom.fr>
2024-11-09 13:19:47 +01:00
Ariel Otilibili
b537f454c1 Bumped minimal Python version to 3.9
* 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>
2024-11-08 15:19:40 +01:00
nicolargo
72f142d2ac Update requirements 2024-11-01 10:20:12 +01:00
Branch Vincent
0e40ec657e
Make pyproject.toml's version dynamic 2024-10-23 15:19:02 -07:00
nicolargo
b2b6879dd5 Update version (in order to test #2956) and rebuild the Web UI 2024-10-23 22:06:08 +02:00
Branch Vincent
04a1770ebd
Add 3.13 support 2024-10-20 12:30:55 -07:00
Branch Vincent
44ae3e5f0b
Migrate to pyproject.toml 2024-10-20 12:13:54 -07:00
Bharath Vignesh J K
f0fc27f952 chg: pyproject.toml - remove black config 2024-05-19 06:57:11 +05:30
nicolargo
4f38bf384b Add some comment regarding the minimal Python version and exclude all the venv* folders in the linter configuration 2024-05-18 10:17:47 +02:00
Bharath Vignesh J K
14efbac82d chore: remove older lint configs 2024-05-17 04:17:33 +05:30
Bharath Vignesh J K
cd69c4a0e8 chg: ruff - naming
exclude already ignores rules with flake8
2024-05-17 03:58:43 +05:30
Bharath Vignesh J K
28e7e5b74a chg: ruff - flake8-comprehensions 2024-05-17 03:37:24 +05:30
Bharath Vignesh J K
108ffcdfb6 chg: ruff - pyupgrade 2024-05-17 03:37:22 +05:30
Bharath Vignesh J K
f9a06a31f0 chg: ruff - mccabe (CC>21) 2024-05-17 03:36:55 +05:30
Bharath Vignesh J K
b4c2a4c24a chg: ruff - flake-return fixes 2024-05-17 03:36:55 +05:30
Bharath Vignesh J K
d392caf6f6 chg: ruff - isort fixes 2024-05-17 03:36:53 +05:30
Bharath Vignesh J K
acb5ef585f chore: ruff cleanup 2024-05-17 02:10:09 +05:30
nicolargo
f4873cef08 Improve Lint 2023-05-01 10:12:09 +02:00
RazCrimson
79223b15cb add: pyproject.toml for black config 2021-11-29 21:51:18 +05:30