Project

General

Profile

Bug #57050

nouvelles erreurs pylint

Added by Thomas Noël 30 days ago. Updated 30 days ago.

Status:
Solution validée
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
17 Sep 2021
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

Description

************* Module chrono.api.views
chrono/api/views.py:816: [E1135(unsupported-membership-test), MultipleAgendasDatetimes.get] Value 'payload' doesn't support membership test
chrono/api/views.py:1855: [E1135(unsupported-membership-test), BookingAPI.patch] Value 'serializer.validated_data' doesn't support membership test
chrono/api/views.py:1858: [E1137(unsupported-assignment-operation), BookingAPI.patch] 'serializer.validated_data' does not support item assignment

Files

Associated revisions

Revision 8f8ecbf5 (diff)
Added by Thomas Noël 30 days ago

pylint: disable unsupported-assignment-operation & unsupported-membership-test (#57050)

History

#1

Updated by Thomas Noël 30 days ago

A priori pylint ne croit pas que serializer.validated_data est un dictionnaire. Je ne sais pas pourquoi...

#2

Updated by Thomas Noël 30 days ago

Pas trouvé d'autre façon : unsupported-membership-test étant déjà désactivé dans combo, je fais de même ici, et unsupported-assignment-operation même sort.

C'est dommage pour 3 lignes mais...

#3

Updated by Lauréline Guerin 30 days ago

  • Status changed from Solution proposée to Solution validée

Also available in: Atom PDF