Skip to content

Commit

Permalink
Use dashes for pycodestyle max line length config (#3513)
Browse files Browse the repository at this point in the history
The option is `max-line-length` with dashes, not underscores. The config option name is given in the output of `pycodestyle -h`, which can also be checked on https://pep8.readthedocs.io/en/stable/intro.html#example-usage-and-output:
```
Configuration:
    The project options are read from the [pycodestyle] section of the
    tox.ini file or the setup.cfg file located in any parent folder of the
    path(s) being processed.  Allowed options are: exclude, filename,
    select, ignore, max-line-length, max-doc-length, hang-closing, count,
    format, quiet, show-pep8, show-source, statistics, verbose
```
  • Loading branch information
meliache committed Jan 22, 2023
1 parent c5df7b7 commit 1557f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/using_black_with_other_tools.md
Expand Up @@ -260,7 +260,7 @@ max-line-length = "88"
#### Configuration

```
max_line_length = 88
max-line-length = 88
ignore = E203
```

Expand Down

0 comments on commit 1557f7d

Please sign in to comment.