python: Use a context manager for opening files (SIM115) to solve some ResourceWarnings #4983
python-code-quality.yml
on: pull_request
Matrix: Python Code Quality Checks
Python Code Quality Result
/
Success
3s
Annotations
1 warning
Python Code Quality Checks (ubuntu-22.04):
.github/workflows/python-code-quality.yml#L149
Temporarily downgraded pytest-pylint and pytest to allow merging other PRs. The errors reported with a newer version seem legitimite and should be fixed (2023-10-18, see https://github.com/OSGeo/grass/pull/3205) (2024-01-28, see https://github.com/OSGeo/grass/issues/3380)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
bandit.sarif
|
18.8 KB |
|
formatted-ruff
Expired
|
5.01 KB |
|
sphinx-grass
Expired
|
4.44 MB |
|