From 1557f7d3a380ed38801f5fada27550c10f89870f Mon Sep 17 00:00:00 2001 From: Michael Eliachevitch Date: Sun, 22 Jan 2023 06:20:54 +0100 Subject: [PATCH] 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 ``` --- docs/guides/using_black_with_other_tools.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ``` -- 2.39.5