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

Remove spurious prints
authorŁukasz Langa <lukasz@langa.pl>
Thu, 9 May 2019 02:49:48 +0000 (04:49 +0200)
committerŁukasz Langa <lukasz@langa.pl>
Thu, 9 May 2019 02:49:48 +0000 (04:49 +0200)
black.py

index 2084e15147d6d904c0fb1c86f85aecad62ad83da..c96d205deebff910003f7b70db82ab1d4f97be06 100644 (file)
--- a/black.py
+++ b/black.py
@@ -3384,12 +3384,10 @@ class Report:
 def parse_ast(src: str) -> Union[ast3.AST, ast27.AST]:
     for feature_version in (7, 6):
         try:
-            print(f"-- 3.{feature_version}")
             return ast3.parse(src, feature_version=feature_version)
         except SyntaxError:
             continue
 
-    print(f"-- 2.7")
     return ast27.parse(src)