style: Fix os-stat (PTH116) by replacing os.stat() calls with pathlib #4635
python-code-quality.yml
on: pull_request
Matrix: Python Code Quality Checks
Python Code Quality Result
/
Success
0s
Annotations
6 errors
Python Code Quality Checks (ubuntu-22.04)
Process completed with exit code 1.
|
Ruff (PTH116):
gui/wxpython/core/watchdog.py#L62
gui/wxpython/core/watchdog.py:62:25: PTH116 `os.stat()` should be replaced by `Path.stat()`, `Path.owner()`, or `Path.group()`
|
Ruff (PTH116):
gui/wxpython/gui_core/preferences.py#L2429
gui/wxpython/gui_core/preferences.py:2429:25: PTH116 `os.stat()` should be replaced by `Path.stat()`, `Path.owner()`, or `Path.group()`
|
Python Code Quality Checks (ubuntu-22.04)
Process completed with exit code 1.
|
Python Code Quality Result / Success
Some jobs were failed
|
Python Code Quality Result / Success
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
formatted-ruff
|
5.23 KB |
|