diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 28ad759..8742b23 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -20,6 +20,9 @@ jobs: python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12] os: [ubuntu-latest, windows-latest, macos-latest] exclude: # https://github.com/actions/runner-images/issues/9770#issuecomment-2085623315 + # ubuntu-latest dropped Python 3.7 since late 2024 + - python-version: "3.7" + os: ubuntu-latest # Apple Silicon ARM64 does not support Python < v3.8 - python-version: "3.7" os: macos-latest diff --git a/msal_extensions/libsecret.py b/msal_extensions/libsecret.py index a2b8da1..5f81753 100644 --- a/msal_extensions/libsecret.py +++ b/msal_extensions/libsecret.py @@ -40,7 +40,9 @@ class LibSecretAgent(object): """A loader/saver built on top of low-level libsecret""" # Inspired by https://developer.gnome.org/libsecret/unstable/py-examples.html - def __init__( # pylint: disable=too-many-arguments + def __init__( + # pylint: disable=too-many-arguments + # pylint: disable=too-many-positional-arguments self, schema_name, attributes, # {"name": "value", ...} diff --git a/tox.ini b/tox.ini index b4d2e41..2f44068 100644 --- a/tox.ini +++ b/tox.ini @@ -8,3 +8,10 @@ passenv = commands = pytest + +[testenv:lint] +deps = + pylint +commands = + pylint msal_extensions +