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

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:

etc/vim.git
6 years agoSet a 3.6+ python-tag for the wheel
Łukasz Langa [Sat, 17 Mar 2018 08:15:46 +0000 (01:15 -0700)]
Set a 3.6+ python-tag for the wheel

Fixes #37

6 years agoDon't fold postscriptum standalone comment into last statement
Łukasz Langa [Sat, 17 Mar 2018 07:54:30 +0000 (00:54 -0700)]
Don't fold postscriptum standalone comment into last statement

This happened when the last statement was a simple statement.

Fixes #18
Fixes #28

6 years agoConsolidate empty line handling in EmptyLineTracker
Łukasz Langa [Sat, 17 Mar 2018 07:40:21 +0000 (00:40 -0700)]
Consolidate empty line handling in EmptyLineTracker

Previously, extra newlines left on imports were handled sort of by accident.
Now it's all handled uniformly in one place.

6 years agoDon't put four empty lines between top-level functions split by a comment
Łukasz Langa [Sat, 17 Mar 2018 05:14:43 +0000 (22:14 -0700)]
Don't put four empty lines between top-level functions split by a comment

6 years agoDescribe fix for #21 in README
Łukasz Langa [Sat, 17 Mar 2018 04:55:41 +0000 (21:55 -0700)]
Describe fix for #21 in README

6 years agoblib2to3: Never put prefixes on DEDENT leaves
Łukasz Langa [Sat, 17 Mar 2018 04:47:15 +0000 (21:47 -0700)]
blib2to3: Never put prefixes on DEDENT leaves

6 years agoLine breaks before logical operators (#36)
Mika⠙ [Sat, 17 Mar 2018 04:45:51 +0000 (05:45 +0100)]
Line breaks before logical operators (#36)

Fixes #21

6 years agoUse implicit defaults for auto_attribs
Łukasz Langa [Sat, 17 Mar 2018 00:42:57 +0000 (17:42 -0700)]
Use implicit defaults for auto_attribs

It reads much nicer.

6 years agoRemove the trailing comma if there is only one argument to a call
Łukasz Langa [Sat, 17 Mar 2018 00:32:55 +0000 (17:32 -0700)]
Remove the trailing comma if there is only one argument to a call

This makes it consistent with removing the trailing comma when multiple
arguments to a call fit in a single line. It also makes it a tiny bit more
likely that an expression will fit a line that didn't use to.

6 years agoIgnore empty bracket pairs while splitting
Łukasz Langa [Sat, 17 Mar 2018 00:09:23 +0000 (17:09 -0700)]
Ignore empty bracket pairs while splitting

Fixes #35

6 years agoAdd words
Łukasz Langa [Fri, 16 Mar 2018 08:05:36 +0000 (01:05 -0700)]
Add words

6 years agoAdd flake8 to CI, too
Łukasz Langa [Fri, 16 Mar 2018 07:42:15 +0000 (00:42 -0700)]
Add flake8 to CI, too

6 years agoBump version, update README with current fixes
Łukasz Langa [Fri, 16 Mar 2018 07:01:22 +0000 (00:01 -0700)]
Bump version, update README with current fixes

6 years agoFix spurious space after star-based unary expression
Łukasz Langa [Fri, 16 Mar 2018 06:56:30 +0000 (23:56 -0700)]
Fix spurious space after star-based unary expression

This happened when the operand was a complex expression.

Fixes #31

6 years agoAlso run mypy on test_black.py
Łukasz Langa [Fri, 16 Mar 2018 06:55:22 +0000 (23:55 -0700)]
Also run mypy on test_black.py

6 years agoFix numpy-style array indexing
Łukasz Langa [Fri, 16 Mar 2018 06:39:45 +0000 (23:39 -0700)]
Fix numpy-style array indexing

Fixes #33

6 years agoClean up typing ignores, fix build
Łukasz Langa [Fri, 16 Mar 2018 06:26:56 +0000 (23:26 -0700)]
Clean up typing ignores, fix build

6 years agoAdd mypy to CI
Łukasz Langa [Fri, 16 Mar 2018 06:17:02 +0000 (23:17 -0700)]
Add mypy to CI

6 years agoOnly use trailing commas in function signatures when it's safe
Łukasz Langa [Fri, 16 Mar 2018 02:25:23 +0000 (19:25 -0700)]
Only use trailing commas in function signatures when it's safe

Trailing commas after * or ** in a function signature are only safe for Python 3.6
code.  So now Black checks whether the file was already Python 3.6 to begin
with.  If so, trailing commas are used in such cases.  Otherwise, they're not.

When * and ** don't appear in a function signature, the trailing comma is
always safe.

Fixes #8

6 years agoDon't split on for-loop variable unpacks
Łukasz Langa [Fri, 16 Mar 2018 02:20:42 +0000 (19:20 -0700)]
Don't split on for-loop variable unpacks

Fixes #23

6 years agoFix tests after introducing --check
Łukasz Langa [Fri, 16 Mar 2018 00:05:59 +0000 (17:05 -0700)]
Fix tests after introducing --check

6 years agoAdd --check
Łukasz Langa [Thu, 15 Mar 2018 23:01:57 +0000 (16:01 -0700)]
Add --check

Fixes #9

6 years agoFixed malformed link to pathlib
Osaetin Daniel [Thu, 15 Mar 2018 21:37:21 +0000 (22:37 +0100)]
Fixed malformed link to pathlib

6 years agoFix spurious space after unary expression
Łukasz Langa [Thu, 15 Mar 2018 21:54:37 +0000 (14:54 -0700)]
Fix spurious space after unary expression

This happened when the operand was a complex expression.

Fixes #15

6 years agoFix spurious extra spaces after opening parentheses and in default arguments
Łukasz Langa [Thu, 15 Mar 2018 18:50:58 +0000 (11:50 -0700)]
Fix spurious extra spaces after opening parentheses and in default arguments

Fixes #14
Fixes #17

6 years agoFix spurious space in parenthesized set expressions
Łukasz Langa [Thu, 15 Mar 2018 18:28:59 +0000 (11:28 -0700)]
Fix spurious space in parenthesized set expressions

Fixes #7

6 years agoFix invalid spacing of dots in relative imports
Łukasz Langa [Thu, 15 Mar 2018 18:21:53 +0000 (11:21 -0700)]
Fix invalid spacing of dots in relative imports

Fixes #6
Fixes #13

6 years agoAdd Python 3-only classifier
Hugo [Thu, 15 Mar 2018 06:41:32 +0000 (08:41 +0200)]
Add Python 3-only classifier

https://pypi.python.org/pypi?%3Aaction=list_classifiers

6 years agoUse HTTPS
Hugo [Thu, 15 Mar 2018 07:11:35 +0000 (09:11 +0200)]
Use HTTPS

6 years agoMention *args and **kwargs backport
Łukasz Langa [Thu, 15 Mar 2018 17:12:46 +0000 (10:12 -0700)]
Mention *args and **kwargs backport

6 years agoUpdate code formatting
Hugo [Thu, 15 Mar 2018 08:09:47 +0000 (10:09 +0200)]
Update code formatting

!XXX doesn't render as code formatting, XXX does

6 years agotestimonials += 1 # kennethreitz
Łukasz Langa [Wed, 14 Mar 2018 21:38:33 +0000 (14:38 -0700)]
testimonials += 1  # kennethreitz

6 years agoBummer, Python 3.8 builds don't work yet
Łukasz Langa [Wed, 14 Mar 2018 21:26:14 +0000 (14:26 -0700)]
Bummer, Python 3.8 builds don't work yet

6 years agoActually use the bundled Grammar.txt
Łukasz Langa [Wed, 14 Mar 2018 21:20:16 +0000 (14:20 -0700)]
Actually use the bundled Grammar.txt

6 years agoInclude Grammar.txt in the distribution
Łukasz Langa [Wed, 14 Mar 2018 21:16:34 +0000 (14:16 -0700)]
Include Grammar.txt in the distribution

6 years agoInitial commit
Łukasz Langa [Wed, 14 Mar 2018 19:55:32 +0000 (12:55 -0700)]
Initial commit