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

Fix Failing CI Checks #137

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Fix Failing CI Checks #137

merged 2 commits into from
Sep 24, 2024

Conversation

rbrazinskas
Copy link
Contributor

@rbrazinskas rbrazinskas commented Sep 24, 2024

Recently released pylint v3.3.0 introduces new check of "too-many-positional-arguments". This makes the CI checks to fail. This PR changes method signature to comply with pylint recommendations.

Why did CI started failing all of a sudden? pylint version of the project is not pinned, only pytest-pylint is pinned to v0.21.0. pytest-pylint requires pylint as [requires: pylint>=2.15.0]. That's why the new version of pylint was installed by CI.

$ pipdeptree --reverse --packages pylint
------------------------------------------------------------------------
pylint==3.3.0
└── pytest-pylint==0.21.0 [requires: pylint>=2.15.0]

Enforce some of the method parameters to be keyword-only parameters. This fixes pylint error from the newly (since v3.3.0) introduced check "too-many-positional-arguments"
@rbrazinskas rbrazinskas merged commit 4ad7fd7 into main Sep 24, 2024
10 checks passed
@rbrazinskas rbrazinskas deleted the fix-broken-ci branch September 24, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants