4 ms·
Is there a way to silence particular errors (i.e. false positives). For example, the python linter is unhappy that I have the following in my code: Partici
by sirclueless 11y ago
Is there a way to silence particular errors (i.e. false positives). For example, the python linter is unhappy that I have the following in my code:
ParticipantFormSet = modelformset_factory(Participant, can_delete=False, max_num=8, extra=8,
form=ParticipantForm)
It claims that this is a violation of the naming convention for variables, but in this case ParticipantFormSet is actually a python class, albeit created with a factory function.
This is just one example, but I would think long-term that it would be a great annoyance to deal with persistent misapplication of rules.
- ThePhysicist 11y agoThanks for the feedback! This feature will be available very soon, we'll notify all users by e-mail as soon as it's deployed. Right now, you can already disable certain patterns in your project settings if you're bothered by individual messages.