]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Use dashes for pycodestyle max line length config (#3513)
authorMichael Eliachevitch <m.eliachevitch@posteo.de>
Sun, 22 Jan 2023 05:20:54 +0000 (06:20 +0100)
committerGitHub <noreply@github.com>
Sun, 22 Jan 2023 05:20:54 +0000 (21:20 -0800)
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

index 7bc0726dc27fe80c14d083069492de5edbf1c8f6..9356caaf0bd9c3d0cdfc7221225e1cc4a8e96654 100644 (file)
@@ -260,7 +260,7 @@ max-line-length = "88"
 #### Configuration
 
 ```
-max_line_length = 88
+max-line-length = 88
 ignore = E203
 ```