Skip to content

Fix indentation issues flagged by flake8

c4dac1f
Select commit
Loading
Failed to load commit list.
Open

Fix indentation issues flagged by flake8 #1391

Fix indentation issues flagged by flake8
c4dac1f
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Dec 2, 2025 in 16m 38s

Build Passed

The build passed.

Details

This is a normal build for the fix_flake8_errors branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Jammy)
Python Version 3.9
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "env": [
    "global={:DEFAULT_BRANCH=>\"master\"}={:GOPROXY=>\"https://proxy.golang.org,https://goproxy.io,direct\"}"
  ],
  "python": [
    "3.9"
  ],
  "jobs": {
    "include": [
      {
        "stage": "run-unit-tests",
        "if": "tag IS NOT present",
        "install": [
          "pip install flake8 coverage coveralls",
          "pip install ./provision"
        ],
        "script": [
          "cd provision",
          "coverage run --source=. -m pytest acc_provision",
          "coveralls"
        ]
      },
      {
        "stage": "push-package",
        "if": "tag IS present",
        "go": "1.22.x",
        "go_import_path": "github.com/noironetworks/aci-containers",
        "before_script": [
          "export UPSTREAM_ID=81c2369",
          "eval \"$(GIMME_GO_VERSION=1.22.5 gimme)\"",
          "export TRAVIS_GO_VERSION=1.22.5",
          "export TRAVIS_GO_IMPORT_PATH=github.com/noironetworks/aci-containers",
          "export TRAVIS_BUILD_USER=\"$(curl -s \"https://api.travis-ci.com/v3/build/$TRAVIS_BUILD_ID\" | jq -r .created_by.login)\"",
          "go version"
        ],
        "script": [
          "echo \"Skip running UTs\"",
          "git clone http://www.github.com/noironetworks/cicd -b main /tmp/cicd",
          "pip install jq pyyaml pytz || travis_terminate 1",
          "/tmp/cicd/travis/show-image-tags.sh || travis_terminate 1",
          "/tmp/cicd/travis/check-git-tag.sh; RETURN_CODE=$? ; if [ $RETURN_CODE -eq 140 ]; then travis_terminate 0; elif [ $RETURN_CODE -ne 0 ]; then travis_terminate $RETURN_CODE; fi",
          "pip install ./provision || travis_terminate 1",
          "/tmp/cicd/travis/clone-aci-containers-repo.sh || travis_terminate 1",
          "pushd /tmp/noironetworks/aci-containers",
          "git checkout -qf ${TRAVIS_TAG}",
          "/tmp/cicd/travis/show-git-repo-status.sh",
          "make -C . dist-static/acikubectl || travis_terminate 1",
          "popd",
          "cp /tmp/noironetworks/aci-containers/dist-static/acikubectl provision/bin/acikubectl || travis_terminate 1",
          "/tmp/cicd/travis/build-acc-provision.sh || travis_terminate 1",
          "pip install -U twine",
          "/tmp/cicd/travis/push-to-pypi.sh"
        ]
      }
    ]
  }
}