]>
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:
summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (parent:
25abcea )
Fixes #175
+### 18.4a4
+
+* don't populate the cache on `--check` (#175)
+
+
### 18.4a3
* added a "cache"; files already reformatted that haven't changed on disk
### 18.4a3
* added a "cache"; files already reformatted that haven't changed on disk
from blib2to3.pgen2 import driver, token
from blib2to3.pgen2.parse import ParseError
from blib2to3.pgen2 import driver, token
from blib2to3.pgen2.parse import ParseError
DEFAULT_LINE_LENGTH = 88
# types
DEFAULT_LINE_LENGTH = 88
# types
)
):
changed = Changed.YES
)
):
changed = Changed.YES
- if write_back != WriteBack.DIFF and changed is not Changed.NO:
+ if write_back == WriteBack.YES and changed is not Changed.NO:
write_cache(cache, [src], line_length)
report.done(src, changed)
except Exception as exc:
write_cache(cache, [src], line_length)
report.done(src, changed)
except Exception as exc:
if cancelled:
await asyncio.gather(*cancelled, loop=loop, return_exceptions=True)
if cancelled:
await asyncio.gather(*cancelled, loop=loop, return_exceptions=True)
- if write_back != WriteBack.DIFF and formatted:
+ if write_back == WriteBack.YES and formatted:
write_cache(cache, formatted, line_length)
write_cache(cache, formatted, line_length)