Skip to content

PLR1711 useless-return removes comments #28861

Description

@spaceone

Summary

produces:

@@ -161,7 +161,6 @@ class SubSchema:
     # Turn set into list, maybe more handy for applications
     self.non_unique_oids = list(non_unique_oids)
 
-    return # subSchema.__init__()
 
 
   def ldap_entry(self) -> dict[str, list[str]]:

→ it should preserve the comment

Version

0.16.8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixesRelated to suggested fixes for violations

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions