aboutsummaryrefslogtreecommitdiffstats

Qt Flake8 Bot

This bot executes flake8 checks on python files in all pyside/ repos.

Exclusions

Excluded rules: - E115: Expected an indented block (comment) E115 - E265: Block comment should start with '# ' E265 - W503: Line break occurred before a binary operator W503 - E902: An IOError occurred attempting to read from the source file E902

Excluded file patterns: - rc_.py - rc.py - ui*.py

Installation

To install this script as a service 1. Modify the included systemd template with a suitable gerrit GERRIT_USERNAME and GERRIT_PASSWORD. 2. Copy the service file to the systemd directory of your choice such as /etc/systemd/system/. 3. Reload the daemon with systemctl daemon-reload. 4. Start the service.

Prerequsites

  1. The included systemd service file assumes you have pipenv installed for the qt user.
  2. You must manually install required packaged into the pipenv, as the service does not do this automatically.