From: Michael Eliachevitch <m.eliachevitch@posteo.de>
Date: Sun, 22 Jan 2023 05:20:54 +0000 (+0100)
Subject: Use dashes for pycodestyle max line length config (#3513)
X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/1557f7d3a380ed38801f5fada27550c10f89870f?ds=sidebyside

Use dashes for pycodestyle max line length config (#3513)

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
```
---

diff --git a/docs/guides/using_black_with_other_tools.md b/docs/guides/using_black_with_other_tools.md
index 7bc0726..9356caa 100644
--- a/docs/guides/using_black_with_other_tools.md
+++ b/docs/guides/using_black_with_other_tools.md
@@ -260,7 +260,7 @@ max-line-length = "88"
 #### Configuration
 
 ```
-max_line_length = 88
+max-line-length = 88
 ignore = E203
 ```