Skip to content

Conversation

@crasbe
Copy link
Contributor

@crasbe crasbe commented Apr 26, 2025

Unfortunately the fix introduced in 5e679ed caused an issue with the earlier pylint versions that somehow did not get caught by the workflow.

Therefore, this PR introduces a more stable fix that adds a condition for newer and older python versions.

Also I added more Python versions to the tox.ini file to cover version 3.12 that is tested in the Workflows as well (and I have 3.10 locally, which was not covered either).

@crasbe crasbe added bug Something isn't working enhancement New feature or request labels Apr 26, 2025
Starting from the pylint version that is pulled with Python 3.9,
it checks for the amount of positional arguments in a function.
The __init__ function has too many and the warning can only be
disabled for newer versions, therefore tox has to conditionally
check it.
@crasbe
Copy link
Contributor Author

crasbe commented Apr 26, 2025

Finally... 🫠

I think it would've been easier just to change the number of positional arguments in the __init__ now, but oh well.
That might have brought other fun problems.

@maribu maribu merged commit 6166175 into RIOT-OS:master Apr 26, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants