PyCQA / PyCQA/pycodestyle

DOC: E252 is not documented

Open Beginner friendly
#1,294 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.2k
Forks
754
PR merge metrics
No merged PRs in 30d

Description

https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes

E251 unexpected spaces around keyword / parameter equals


E261 at least two spaces before inline comment

It should say:

E251 unexpected spaces around keyword / parameter equals

E252 missing whitespace around parameter equals


E261 at least two spaces before inline comment

E252 was added in #717, per change log for 2.4.0 (2018-04-10).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the error-codes section of the documentation at intro.html#error-codes and compare the E251 and E261 entries with the issue. Add the missing E252 entry, using the wording shown in the issue, and verify that the surrounding error-code list remains accurate.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.