diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 052629f..9a77a65 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: - name: Pylint uses: cclauss/GitHub-Action-for-pylint@master with: - args: "pylint src/**/*.py" + args: "apk add --no-cache gtk+3.0-dev gobject-introspection-dev ; pip install -r requirements.txt ; pylint src/**/*.py" meson-build-test: runs-on: ubuntu-latest diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..95fc636 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +PyGObject~=3.40 +pylint~=2.11 diff --git a/src/diffuse/dialogs.py b/src/diffuse/dialogs.py index 191504f..4701014 100644 --- a/src/diffuse/dialogs.py +++ b/src/diffuse/dialogs.py @@ -110,6 +110,7 @@ class FileChooserDialog(Gtk.FileChooserDialog): def get_revision(self): return self.revision.get_text() + # pylint: disable-next=arguments-differ def get_filename(self): # convert from UTF-8 string to unicode return Gtk.FileChooserDialog.get_filename(self) # pylint: disable=no-member