[wpt-sync] Sync PR 15242 - Update pep8-naming to 0.8.2
Categories
(Testing :: web-platform-tests, defect, P4)
Tracking
(firefox69 fixed)
| 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-namesoption initialization.### 0.8.1
ignore-namesnow also applies to the N806, N815, and N816 checks.
failureException,longMessage, andmaxDiffhave been added to
the defaultignore-nameslist.Allow lowercase names to be imported as just
_.Allow function arguments to be named just
_.Support Python 2's tuple syntax in
exceptclauses.### 0.8.0
Detect N806 errors within
forloops and exception handlers.Improve support for non-ASCII characters.
Detect mixedCased variable names at class (N815) and global (N816) scope.
Ignore Django's
setUpTestDatamethod 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 <https://www.python.org/dev/peps/pep-0562/>_).
asyncfunction and method names are now checked.Detect N806 errors in generator expressions and comprehensions.
Detect N81x errors in
import x as ystatements.</details>
<details>
<summary>Links</summary>
- PyPI: https://pypi.org/project/pep8-naming
- Changelog: https://pyup.io/changelogs/pep8-naming/
- Repo: https://github.com/PyCQA/pep8-naming
</details>
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
Comment 6•6 years ago
|
||
| bugherder | ||
Comment 7•6 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•6 years ago
|
Description
•