]> 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:

`python_version` => `language_version` (#296)
authorAnthony Sottile <asottile@umich.edu>
Sun, 3 Jun 2018 18:46:59 +0000 (11:46 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Sun, 3 Jun 2018 18:46:59 +0000 (11:46 -0700)
Noticed this in `pytest`'s config -- `python_version` isn't a thing :D

README.md

index 561b4eb1f038dcf2c4e453de2a6acfd4ce02dd2d..8a708832b1d520f37b1eaf0824b6adefe5471039 100644 (file)
--- a/README.md
+++ b/README.md
@@ -627,13 +627,13 @@ repos:
     hooks:
     - id: black
       args: [--line-length=88, --safe]
     hooks:
     - id: black
       args: [--line-length=88, --safe]
-      python_version: python3.6
+      language_version: python3.6
 ```
 Then run `pre-commit install` and you're ready to go.
 
 `args` in the above config is optional but shows you how you can change
 the line length if you really need to.  If you're already using Python
 ```
 Then run `pre-commit install` and you're ready to go.
 
 `args` in the above config is optional but shows you how you can change
 the line length if you really need to.  If you're already using Python
-3.7, switch the `python_version` accordingly. Finally, `stable` is a tag
+3.7, switch the `language_version` accordingly. Finally, `stable` is a tag
 that is pinned to the latest release on PyPI.  If you'd rather run on
 master, this is also an option.
 
 that is pinned to the latest release on PyPI.  If you'd rather run on
 master, this is also an option.