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

refactor: Enable and fix PyLint rules C0305 (trailing-newlines), C0324 (superfluous-parens), C0410 (multiple-imports), E0213 (no-self-argument) #1766

Merged
merged 4 commits into from
Jun 19, 2024

Merge branch 'dev' into fix-pylint

8155cf1
Select commit
Loading
Failed to load commit list.
Merged

refactor: Enable and fix PyLint rules C0305 (trailing-newlines), C0324 (superfluous-parens), C0410 (multiple-imports), E0213 (no-self-argument) #1766

Merge branch 'dev' into fix-pylint
8155cf1
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Jun 15, 2024 in 2m 53s

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 #1766 4 pylint fixes .
Any changes that have been made to the dev branch before the build ran are also included.

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 Versions 3.8, 3.9, 3.10, 3.11, 3.12
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "arch": [
    "amd64"
  ],
  "python": [
    "3.8",
    "3.9",
    "3.10",
    "3.11",
    "3.12"
  ],
  "addons": {
    "ssh_known_hosts": [
      "localhost"
    ]
  },
  "env": [
    "jobs={:PYTHONUNBUFFERED=>\"1\"}"
  ],
  "before_install": [
    "sudo rm -f /etc/apt/sources.list.d/mongodb*.list",
    "sudo apt-key del 90CFB1F5",
    "sudo apt-get -qq update",
    "sudo apt-get install -y sshfs screen util-linux libdbus-1-dev"
  ],
  "jobs": {
    "exclude": [
      {
        "python": "3.9"
      },
      {
        "python": "3.10"
      },
      {
        "python": "3.11"
      },
      {
        "python": "3.12"
      }
    ]
  },
  "install": [
    "pip install -U pip",
    "pip install pylint coveralls pyfakefs keyring",
    "pip install pyqt6 dbus-python",
    "ssh-keygen -b 2048 -t rsa -f /home/travis/.ssh/id_rsa -N \"\"",
    "cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys",
    "eval `ssh-agent -s`"
  ],
  "script": [
    "python -m compileall common common/test common/plugins qt qt/test qt/plugins",
    "cd common",
    "./configure  --python=python3",
    "make unittest-v",
    "cd ..",
    "cd qt",
    "./configure --python=python3",
    "make",
    "pytest"
  ],
  "after_success": [
    "coverage combine",
    "coveralls"
  ]
}