Uploaded image for project: 'Request For Comments'
  1. Request For Comments
  2. RFC-97

Allow PEP8 naming conventions in python style guide

    Details

    • Type: RFC
    • Status: Implemented
    • Resolution: Done
    • Component/s: DM
    • Labels:
      None

      Description

      The LSST DM Python Style Guide mostly jives with PEP8, although it recommends camelCase over lowercase_with_underscores for methods, class attributes, and module names. This is contradictory with PEP8, which recommends that camelCase convention only be used when backwards compatibility is an issue.

      When a software product allows (e.g. pure python and no SWIG), I'd like to recommend we allow, and possibly encourage, PEP8 naming conventions.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bvan Brian Van Klaveren
                Reporter:
                bvan Brian Van Klaveren
                Watchers:
                Brian Van Klaveren, John Swinbank, Jonathan Sick, Kian-Tat Lim, Mario Juric, Michael Wood-Vasey, Nate Lust, Robert Lupton, Tim Jenness, Xiuqin Wu [X] (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Planned End:

                  Summary Panel