Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-17726

Update flake8 and pycodestyle to support max-doc-length

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Third Party Software
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Arch 2019-02-04
    • Team:
      Architecture

      Description

      With the release of new versions of pycodestyle and flake8 that support max-doc-length, we can update our eups packages to allow packages to use max-doc-length in their setup.cfg files.

        Attachments

          Issue Links

            Activity

            Hide
            tjenness Tim Jenness added a comment -

            I have included a pep8-naming update on this ticket. This has proven to be problematic since many new checks were added and most of our software fails them.

            Show
            tjenness Tim Jenness added a comment - I have included a pep8-naming update on this ticket. This has proven to be problematic since many new checks were added and most of our software fails them.
            Hide
            tjenness Tim Jenness added a comment -

            Kian-Tat Lim can you have a look at this please? lsst_distrib builds with the new flake8 and associated packages. I will update the dev guide to add the new N codes that got added to the ignore list.

            Show
            tjenness Tim Jenness added a comment - Kian-Tat Lim can you have a look at this please? lsst_distrib builds with the new flake8 and associated packages. I will update the dev guide to add the new N codes that got added to the ignore list.
            Hide
            ktl Kian-Tat Lim added a comment -

            I approve of the dev guide changes. It's interesting that W504 doesn't seem to have propagated throughout. It's also unfortunate that we have so many repetitions of the list that need to be updated.

            I suggest that lsst/templates should also be updated; other than that, this looks OK to merge.

            Show
            ktl Kian-Tat Lim added a comment - I approve of the dev guide changes. It's interesting that W504 doesn't seem to have propagated throughout. It's also unfortunate that we have so many repetitions of the list that need to be updated. I suggest that lsst/templates should also be updated; other than that, this looks OK to merge.
            Hide
            tjenness Tim Jenness added a comment -

            I agree completely that changing every setup.cfg to sync up the error codes is not a good approach (50 pull requests on this ticket demonstrate that). A better plan would be wonderful.

            Show
            tjenness Tim Jenness added a comment - I agree completely that changing every setup.cfg to sync up the error codes is not a good approach (50 pull requests on this ticket demonstrate that). A better plan would be wonderful.
            Hide
            ktl Kian-Tat Lim added a comment - - edited

            I was only referring to the number of repetitions of the list within the Dev Guide, not even the setup.cfg files in the other repos.

            Show
            ktl Kian-Tat Lim added a comment - - edited I was only referring to the number of repetitions of the list within the Dev Guide , not even the setup.cfg files in the other repos.

              People

              Assignee:
              tjenness Tim Jenness
              Reporter:
              tjenness Tim Jenness
              Reviewers:
              Kian-Tat Lim
              Watchers:
              Brian Van Klaveren, John Swinbank, Jonathan Sick, Kian-Tat Lim, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.