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

Add .ipynb_checkpoints to DEFAULT_EXCLUDES (#3293)
authorRay Bell <rayjohnbell0@gmail.com>
Sun, 2 Oct 2022 16:26:45 +0000 (12:26 -0400)
committerGitHub <noreply@github.com>
Sun, 2 Oct 2022 16:26:45 +0000 (12:26 -0400)
Jupyter creates a checkpoint file every single time you create an .ipynb
file, and then it updates the checkpoint file every single time you
manually save your progress for the initial .ipynb. These checkpoints
are stored in a directory named `.ipynb_checkpoints`.

Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
CHANGES.md
src/black/const.py

index c96d9a6e49259b133169fd33b92961bbc9c5efc2..d3ba53fd05fe9a1774a9636f706acc0e351fc48b 100644 (file)
@@ -27,6 +27,8 @@
 
 <!-- Changes to how Black can be configured -->
 
+- `.ipynb_checkpoints` directories are now excluded by default (#3293)
+
 ### Packaging
 
 <!-- Changes to how Black is packaged, such as dependency requirements -->
index 03afc96e8d691eee7d31e8271afdd9da0d531d3a..0e13f31517d1cf74b08bd04a1d5d90548dce05c0 100644 (file)
@@ -1,4 +1,4 @@
 DEFAULT_LINE_LENGTH = 88
-DEFAULT_EXCLUDES = r"/(\.direnv|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|venv|\.svn|_build|buck-out|build|dist|__pypackages__)/"  # noqa: B950
+DEFAULT_EXCLUDES = r"/(\.direnv|\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|venv|\.svn|\.ipynb_checkpoints|_build|buck-out|build|dist|__pypackages__)/"  # noqa: B950
 DEFAULT_INCLUDES = r"(\.pyi?|\.ipynb)$"
 STDIN_PLACEHOLDER = "__BLACK_STDIN_FILENAME__"