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

Allow blackd to be run as a package (#2800)
authorRichard Si <63936253+ichard26@users.noreply.github.com>
Sun, 23 Jan 2022 16:49:11 +0000 (11:49 -0500)
committerGitHub <noreply@github.com>
Sun, 23 Jan 2022 16:49:11 +0000 (08:49 -0800)
src/blackd/__main__.py [new file with mode: 0644]

diff --git a/src/blackd/__main__.py b/src/blackd/__main__.py
new file mode 100644 (file)
index 0000000..b5a4b13
--- /dev/null
@@ -0,0 +1,3 @@
+import blackd
+
+blackd.patched_main()