Commit Graph

5744 Commits

Author SHA1 Message Date
nicolargo
b8c6c22bb0 Reformat code 2024-05-18 11:26:08 +02:00
nicolargo
d2f1fa10d5 Reformat code 2024-05-18 11:24:54 +02:00
nicolargo
15b0a9bbab Update snapcraft 2024-05-18 11:18:01 +02:00
nicolargo
5d88280ad6 version 4.0.5 2024-05-18 11:10:56 +02:00
nicolargo
1183b4dabd Update docs 2024-05-18 10:58:39 +02:00
nicolargo
74f9606e65 Merge Ruff formating and solve some conflicts #2779 2024-05-18 10:37:57 +02:00
Nicolas Hennion
a99bf33b4b
Merge pull request #2779 from nicolargo/ruff-cleanup
chore: ruff cleanup
2024-05-18 10:32:13 +02:00
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
nicolargo
5262524db3 Merge branch 'develop' of github.com:nicolargo/glances into develop 2024-05-18 09:32:32 +02:00
RazCrimson
3306fa0118
Merge pull request #2789 from nicolargo/2788-sensortype-change-in-rest-api-breaks-compatibility-in-404
fix: plugin(sensors) - serialization bug with raw stats
2024-05-18 05:01:09 +05:30
Bharath Vignesh J K
30ec25fa0a fix: plugin(sensors) - serialization bug with raw stats 2024-05-18 04:57:47 +05:30
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
fecd23b26f Merge branch 'refs/heads/support/v4.0.x'
# Conflicts:
#	NEWS.rst
#	docs/api.rst
#	docs/man/glances.1
#	glances/__init__.py
#	glances/plugins/sensors/__init__.py
#	snap/snapcraft.yaml
2024-05-16 17:15:42 +05:30
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
Bharath Vignesh J K
16621cf75f version 4.0.4 2024-05-15 14:50:23 +05:30
Bharath Vignesh J K
abdbb00f3e fix: plugin(sensors) - typehint for py38 2024-05-15 14:47:53 +05:30
Nicolas Hennion
0447e210e5 Catch exception when init colors in TMUX 2024-05-15 08:12:38 +00:00
Bharath Vignesh J K
3e9b949a0f version 4.0.3 2024-05-15 13:08:28 +05:30
Bharath Vignesh J K
594188528b refactor: plugin(sensors) - cleanup + typing + fixes
cherry-picked from develop `7a25f716`
2024-05-15 13:04:55 +05:30
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
nicolargo
c66c651205 Merge branch 'develop' of github.com:nicolargo/glances into develop 2024-05-13 23:00:58 +02:00
nicolargo
eb83f6e6b1 version 4.0.2 2024-05-13 22:58:34 +02:00
nicolargo
4e926788ac Remove unused target in CI 2024-05-13 22:51:30 +02:00
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
nicolargo
c98b7fcf1d Refactor setup.py 2024-05-13 22:48:07 +02:00
Bharath Vignesh J K
2d744121d1 version 4.0.2 2024-05-14 01:56:59 +05:30
Bharath Vignesh J K
84a511c716 hotfix: plugin(sensors) - race conditions btw fan_speed & temperature methods
(cherry-picked for v4.0.2 from latest develop `8c1b7499`)
2024-05-14 01:46:39 +05:30