AntonioMrtz / SpotifyElectron

Spotify Electron is a cross-platform music streaming desktop app made with Electron-React frontend and Python-FastAPI-AWS Backend. The goal is to reproduce the original Spotify functionality while adding new ones like uploading songs.
https://antoniomrtz.github.io/SpotifyElectron_Web/
Other
31 stars 9 forks source link

Disable max number of arguments Ruff Linting Rule [PLR0913] #155

Open AntonioMrtz opened 5 days ago

AntonioMrtz commented 5 days ago

Description

Disable backend linting rule that affects max number of arguments in backend functions. More info on ruff PLR0913 rule

Context

Rule is too strict and doesnt apply correctly to our use case. This forces us to disable the rule in some functions.

How to do it

ignore = ["PLR0402","PLR0911"]

Testing

Run Backend tests to check if everything is working correctly

AntonioMrtz commented 5 days ago

Disable rule PLR0913 too many function arguments