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

add: ruff linter #293

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

build: ruff linter

42ae89d
Select commit
Loading
Failed to load commit list.
Open

add: ruff linter #293

build: ruff linter
42ae89d
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Mar 17, 2024 in 16m 36s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #293 add: ruff linter.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has seven jobs, running in three sequential stages.

Stage 1: test

This stage passed.

Job Python OS State
1211.1 3.12 Linux passed
1211.2 3.11 Linux passed
1211.3 3.10 Linux passed
1211.4 3.9.14 Linux passed
1211.5 3.8 Linux passed

Stage 2: smoke test

This stage failed.

Job Python OS State
1211.6 3.12 Linux failed

Stage 3: release

This stage canceled.

Job Python OS State
1211.7 3.12 Linux canceled

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Jammy)
Python Versions 3.12, 3.11, 3.10, 3.9.14, 3.8
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "python": [
    "3.12",
    "3.11",
    "3.10",
    "3.9.14",
    "3.8"
  ],
  "if": "type != push OR branch = master OR branch =~ /^v\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/",
  "before_install": [
    "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal\nsource \"$HOME/.cargo/env\"\npip -q install --upgrade pip 'setuptools==65.6.2' 'poetry>=1.2.0'\n"
  ],
  "install": [
    "pip -q install --upgrade \"tox < 4\" tox-travis"
  ],
  "script": [
    "tox"
  ],
  "cache": {
    "cargo": true,
    "pip": true,
    "directories": [
      "$TRAVIS_BUILD_DIR/.tox/",
      "$HOME/.cache/pypoetry"
    ]
  },
  "jobs": {
    "include": [
      {
        "stage": "smoke test",
        "services": [
          "docker"
        ],
        "script": [
          "pip -q install poetry",
          "poetry build",
          "echo \"$DOCKERHUB_PASSWORD\" | docker login -u \"$DOCKERHUB_USERNAME\" --password-stdin",
          "ci/run_tests.sh"
        ]
      },
      {
        "stage": "release",
        "if": "branch = master",
        "script": [
          "skip"
        ],
        "before_deploy": [
          "pip -q install poetry",
          "nvm install lts/*",
          "npm i -g semantic-release @semantic-release/exec @semantic-release/git @semantic-release/changelog @google/semantic-release-replace-plugin"
        ],
        "deploy": [
          {
            "provider": "script",
            "script": "semantic-release",
            "on": {
              "branch": [
                "master"
              ]
            }
          }
        ]
      }
    ]
  }
}