Closed Bug 1553702 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 15242 - Update pep8-naming to 0.8.2

Categories

(Testing :: web-platform-tests, defect, P4)

defect

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync upstream])

Sync web-platform-tests PR 15242 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/15242
Details from upstream follow.

pyup-bot <github-bot@pyup.io> wrote:

Update pep8-naming to 0.8.2

This PR updates pep8-naming from 0.7.0 to 0.8.2.

<details>
<summary>Changelog</summary>

### 0.8.2
```
------------------
  • Fix a problem with ignore-names option initialization.

    
    
    
    ### 0.8.1
    

  • ignore-names now also applies to the N806, N815, and N816 checks.

  • failureException, longMessage, and maxDiff have been added to
    the default ignore-names list.

  • Allow lowercase names to be imported as just _.

  • Allow function arguments to be named just _.

  • Support Python 2's tuple syntax in except clauses.

    
    
    
    ### 0.8.0
    

  • Detect N806 errors within for loops and exception handlers.

  • Improve support for non-ASCII characters.

  • Detect mixedCased variable names at class (N815) and global (N816) scope.

  • Ignore Django's setUpTestData method by default.

  • Fix column offsets for N803, N804, and N805 under Python 3.

  • Detect underscores within class names as N801 errors.

  • Don't flag __getattr__ and __dir__ as N807 errors. (See
    PEP 562 &lt;https://www.python.org/dev/peps/pep-0562/&gt;_).

  • async function and method names are now checked.

  • Detect N806 errors in generator expressions and comprehensions.

  • Detect N81x errors in import x as y statements.

    
    
    

</details>

<details>
<summary>Links</summary>

The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/ba5df6276425 [wpt PR 15242] - Update pep8-naming to 0.8.2, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Whiteboard: [wptsync downstream] → [wptsync upstream]
You need to log in before you can comment on or make changes to this bug.