Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Call startswith or endswith once with a tuple (PIE810) #4348

Merged
merged 1 commit into from
Sep 19, 2024

style: Call `startswith` once with a `tuple` (PIE810)

ef0c059
Select commit
Loading
Failed to load commit list.
Merged

style: Call startswith or endswith once with a tuple (PIE810) #4348

style: Call `startswith` once with a `tuple` (PIE810)
ef0c059
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Sep 19, 2024 in 8m 20s

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 #4348 style: Call startswith or endswith once with a tuple (PIE810).
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
14103.1 gcc CFLAGS="-Werror=implicit-function-declaration" Linux passed
14103.2 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": [
    "./.travis/$TRAVIS_OS_NAME.before_install.sh"
  ],
  "install": [
    "./.travis/$TRAVIS_OS_NAME.install.sh"
  ],
  "script": [
    "./.travis/$TRAVIS_OS_NAME.script.sh"
  ]
}