Commit Graph

5613 Commits (ruff-cleanup)

Author SHA1 Message Date
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 6a0889851c chg: glances client - avoid logging user creds 2024-05-18 01:21:32 +05:30
Bharath Vignesh J K f31b767e0e chg: github-actions to use ruff 2024-05-17 04:41:31 +05:30
Bharath Vignesh J K 14efbac82d chore: remove older lint configs 2024-05-17 04:17:33 +05:30
Bharath Vignesh J K 00c662f870 chg: Makefile - use ruff & pre-commit 2024-05-17 04:13:26 +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 1f628642d4 fix: auto-removed imports in globals 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 9890749d81 add: pre-commit - setup changes 2024-05-17 02:11:23 +05:30
Bharath Vignesh J K acb5ef585f chore: ruff cleanup 2024-05-17 02:10:09 +05:30
RazCrimson 396e78c415
Merge pull request #2778 from nicolargo/2777-make-pydantic-dep-optional
chg: event_list - enable data validation only if pydantic available
2024-05-16 21:05:18 +05:30
Nicolas Hennion 6583109c73 Update the Grafana dashboard - Sensors is now displayed #2780 2024-05-16 14:14:16 +00:00
Nicolas Hennion 986cd99fbd Update the Grafana dashboard #2780 2024-05-16 13:44:51 +00:00
Bharath Vignesh J K 98f2bb7fbe chg: event_list - enable data validation only if pydantic available 2024-05-16 17:00:20 +05:30
Nicolas Hennion 05bc1449db Merge branch 'issue2776' into develop 2024-05-16 09:00:39 +00:00
Nicolas Hennion d095e4ae34 4.0.4 - On Glances startup ERROR -- Can not init battery class ([WinError 3] even though sensors plugin disabled #2776 2024-05-16 09:00:17 +00:00
Nicolas Hennion 6acd0da704 Merge branch 'issue2773' into develop 2024-05-16 08:46:46 +00:00
Nicolas Hennion f6545580db In codeSpace (with Python 3.8), an error occurs in ./unittest-restful.py #2773 2024-05-16 08:46:27 +00:00
Bharath Vignesh J K d94b0b4e92 fix: plugin(sensors) - typehint for py38 2024-05-15 18:09:28 +05:30
Nicolas Hennion 0447e210e5 Catch exception when init colors in TMUX 2024-05-15 08:12:38 +00:00
RazCrimson d8c5a72387
Merge pull request #2771 from nicolargo/2770-pydantic-v1-breaks-glances-v4
chg: requirements.txt - use pydantic v2
2024-05-15 10:37:45 +05:30
Bharath Vignesh J K 25ae493517 chg: requirements.txt - use pydantic v2
Co-authored-by: Saketh Raman KS <sakethramansundaram78@gmail.com>
2024-05-15 10:19:07 +05:30
RazCrimson 3aa9225da0
Merge pull request #2768 from nicolargo/2765-sensors-plugin-is-buggy
refactor: plugin(sensors) - cleanup + typing + fixes
2024-05-14 14:01:00 +05:30
Bharath Vignesh J K 7a25f7165e refactor: plugin(sensors) - cleanup + typing + fixes 2024-05-14 13:37:20 +05:30
Nicolas Hennion 127f2e45ed
Merge pull request #2761 from chenrui333/fix-requirements.txt
fix: include requirements.txt and SECURITY.md for pypi dist
2024-05-13 22:49:46 +02:00
RazCrimson 8c1b74993d
Merge pull request #2766 from nicolargo/2765-sensors-plugin-is-buggy
hotfix: plugin(sensors) - race conditions btw fan_speed & temperature…
2024-05-14 01:29:17 +05:30
Bharath Vignesh J K 371885c34c hotfix: plugin(sensors) - race conditions btw fan_speed & temperature methods 2024-05-14 01:14:21 +05:30
Rui Chen 6d4e0884cd
AUTHORS: add Rui for homebrew package
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-05-12 14:48:51 -04:00
Rui Chen fc63162515
fix: include requirements.txt and SECURITY.md for pypi dist
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-05-12 14:45:13 -04:00
nicolargo 516b3ab478 Force build for snap... 2024-05-12 19:27:56 +02:00
nicolargo b54fbda064 On the road to Glances 4.1.0 2024-05-12 19:05:07 +02:00
nicolargo 7fbc598d5a Correct pydantic miss dep in tox 2024-05-12 18:32:32 +02:00
Nicolas Hennion ddfa809280
Merge pull request #2760 from chenrui333/add-pydantic
fix(setup): add missing pydantic
2024-05-12 18:23:35 +02:00
Rui Chen 4bfe5f2c81
fix(setup): add missing pydantic
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-05-12 12:11:30 -04:00
nicolargo 562780f7f0 Glances 4.0.0_RC04 2024-05-12 09:53:47 +02:00
nicolargo e9abf1c9af ORJson is not mandatory 2024-05-12 09:52:17 +02:00
nicolargo 364a3ef884 Correct README with a correct example regarding the docker + specific config file (revert) example is ok with -C option 2024-05-11 20:10:25 +02:00
nicolargo 35015f7c19 Correct README with a correct example regarding the docker + specific config file 2024-05-11 20:09:22 +02:00
nicolargo e7a3de5038 Hide password in the Glances browser form #503 2024-05-09 19:43:11 +02:00
nicolargo b8304d8796 Glances version 4 RC03 2024-05-09 16:21:59 +02:00
nicolargo 893c1452a3 Allow user to define only careful limits 2024-05-09 16:14:01 +02:00
nicolargo ada7f248ba Improve code 2024-05-09 10:41:24 +02:00
Nicolas Hennion 4ddff48c70
Merge pull request #2759 from nicolargo/issue2757
Improve tests by testing all the plugin/model.py methods - First part of Issue2757
2024-05-09 10:18:29 +02:00
nicolargo f2d7e13cd8 Improve tests by testing all the plugin/model.py methods #2757 2024-05-09 10:09:05 +02:00
nicolargo fd3625826b First work done for plugin model (stats only) 2024-05-07 15:26:16 +02:00
nicolargo af4765db8a Remove unitest shell script - Use Makefile instead 2024-05-07 14:07:08 +02:00