You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to this issue it would be nice to be able to accept deviations from the MyPy checks for special cases. Sometimes there are reasons to solve something this way rather than following the common rule.
Nevertheless, it is important to provide information to code reviewers to help them to understand:
which warning (e.g. by using the identifiers of MyPy) is suppressed
optional comment
it must be easy to find the exceptions/approvals
Pitch
adding a line hint:
class MyTinyClass: # R0903 : ignore
adding a line hint with a comment:
class MyTinyClass: # R0903 : ignore - No further public methods are required here (Alex)
adding a line hint with several keys:
class MyTinyClass: # R0903,R0915 : ignore
The text was updated successfully, but these errors were encountered:
Feature
Similar to this issue it would be nice to be able to accept deviations from the MyPy checks for special cases. Sometimes there are reasons to solve something this way rather than following the common rule.
Nevertheless, it is important to provide information to code reviewers to help them to understand:
Pitch
adding a line hint:
adding a line hint with a comment:
adding a line hint with several keys:
The text was updated successfully, but these errors were encountered: