d.mon: Fix SIM115 linter warnings by using context managers for file operations #5015
+45
−42
Travis CI / Travis CI - Pull Request
succeeded
Jan 30, 2025 in 8m 40s
Build Passed
The build passed, just like the previous build.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #5015 display: Fix SIM115 linter warnings by using context managers for file operations.
Any changes that have been made to the main branch before the build ran are also included.
Jobs and Stages
This build has two jobs, running in parallel.
Job | Compiler | ENV | OS | State |
---|---|---|---|---|
gcc | CFLAGS="-Werror=implicit-function-declaration" | Linux | passed | |
clang | CFLAGS="-Werror=implicit-function-declaration" | Linux | passed |
Build Configuration
Build Option | Setting |
---|---|
Language | C |
Operating System | Linux (Jammy) |
Build Configuration
{
"language": "c",
"os": [
"linux"
],
"dist": "jammy",
"cache": {
"ccache": true
},
"branches": {
"only": [
"main",
"releasebranch*"
]
},
"jobs": {
"include": [
{
"os": "linux",
"compiler": "gcc",
"env": [
{
"CC": "gcc",
"CXX": "g++"
}
]
},
{
"os": "linux",
"compiler": "clang",
"env": [
{
"CC": "clang",
"CXX": "clang++"
}
]
}
]
},
"env": [
"global={:CFLAGS=>\"\\\"-Werror=implicit-function-declaration\\\"\"}={:CXXFLAGS=>\"\\\"-std=c++17\\\"\"}={:GRASS_EXTRA_CFLAGS=>\"\\\"-Werror -fPIC -Wfatal-errors\\\"\"}={:GRASS_EXTRA_CXXFLAGS=>\"\\\"-Werror -fPIC -Wfatal-errors\\\"\"}"
],
"before_install": [
"pyenv versions",
"pyenv global 3.10",
"pyenv versions",
"./.travis/$TRAVIS_OS_NAME.before_install.sh"
],
"install": [
"./.travis/$TRAVIS_OS_NAME.install.sh"
],
"script": [
"./.travis/$TRAVIS_OS_NAME.script.sh"
]
}
Loading