tests: List skipped flake8 warnings (rather than listing enabled warnings) #12534

pull practicalswift wants to merge 1 commits into bitcoin:master from practicalswift:lint-python-invert changing 1 files +55 −55
  1. practicalswift commented at 10:44 AM on February 25, 2018: contributor

    Specify skipped flake8 warnings (rather than enabled warnings).

    Rationale:

    • By listing the skipped warnings we get a list of violations to fix in order to reach PEP8 compliance.
    • Keeping track of violations over time is easier than keeping track of non-violations.
    • The list of skipped warnings is shorter than the list of enabled warnings.
  2. tests: Specify skipped flake8 warnings (rather than enabled warnings) c92997ed0c
  3. practicalswift renamed this:
    tests: Specify skipped flake8 warnings (rather than enabled warnings)
    tests: List skipped flake8 warnings (rather than listing enabled warnings)
    on Feb 25, 2018
  4. fanquake added the label Tests on Feb 25, 2018
  5. MarcoFalke commented at 3:14 PM on February 25, 2018: member

    How likely is it that new warnings get added to flake8, as that might randomly break the build?

  6. ho1to approved
  7. practicalswift commented at 8:03 AM on February 26, 2018: contributor

    @MarcoFalke I've been running flake8 in a CI setting for many years now and I've never encountered that problem so I think it should be highly unlikely. However, if it turns out to be a problem then we can solve it by just pinning the flake8 version :-)

  8. laanwj commented at 5:34 PM on March 5, 2018: member

    TBH. I prefer listing the checks that are enabled. Now we can browse the file and have a list of enabled checks, in absence of total knowledge about the linting tool this gives more information what your code needs to conform to.

  9. practicalswift commented at 2:31 PM on March 25, 2018: contributor

    Seems like we have a consensus NACK here. Closing.

  10. practicalswift closed this on Mar 25, 2018

  11. practicalswift deleted the branch on Apr 10, 2021
  12. DrahtBot locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me