]>
git.madduck.net Git - etc/vim.git/blobdiff - README.md
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:
Python versions that should be supported by
Black's output. [default: per-file auto-
detection]
Python versions that should be supported by
Black's output. [default: per-file auto-
detection]
- --py36 Allow using Python 3.6-only syntax on all
- input files. This will put trailing commas
- in function signatures and calls also after
- *args and **kwargs. [default: per-file
- auto-detection]
--pyi Format all input files like typing stubs
regardless of file extension (useful when
piping source on standard input).
--pyi Format all input files like typing stubs
regardless of file extension (useful when
piping source on standard input).
-TracebackException.from_exception(exc, limit, lookup_lines, capture_locals )
+ImportantClass.important_method(exc, limit, lookup_lines, capture_locals, extra_argument )
-TracebackException.from_exception (
- exc, limit, lookup_lines, capture_locals
+ImportantClass.important_method (
+ exc, limit, lookup_lines, capture_locals, extra_argument
-def very_important_function(template: str, *variables, file: os.PathLike, debug: bool = False):
+def very_important_function(template: str, *variables, file: os.PathLike, engine: str, header: bool = True, debug: bool = False):
"""Applies `variables` to the `template` and writes to `file`."""
with open(file, 'w') as f:
...
"""Applies `variables` to the `template` and writes to `file`."""
with open(file, 'w') as f:
...
template: str,
*variables,
file: os.PathLike,
template: str,
*variables,
file: os.PathLike,
+ engine: str,
+ header: bool = True,
debug: bool = False,
):
"""Applies `variables` to the `template` and writes to `file`."""
debug: bool = False,
):
"""Applies `variables` to the `template` and writes to `file`."""
```toml
[tool.black]
line-length = 88
```toml
[tool.black]
line-length = 88
+target_version = ['cpy37']
include = '\.pyi?$'
exclude = '''
include = '\.pyi?$'
exclude = '''
- Arguments: `$FilePath$`
- Output paths to refresh: `$FilePathRelativeToProjectRoot$`
- Working directory: `$ProjectFileDir$`
- Arguments: `$FilePath$`
- Output paths to refresh: `$FilePathRelativeToProjectRoot$`
- Working directory: `$ProjectFileDir$`
+ - Uncheck "Auto-save edited files to trigger the watcher"
-* *Black* no longer normalizes numeric literals to include `_` separators.
+* removed `--py36` (use `--target-version=cpy36` instead) (#724)
+
+* long `del` statements are now split into multiple lines (#698)
+
+* *Black* no longer normalizes numeric literals to include `_` separators (#696)
* new option `--target-version` to control which Python versions
* new option `--target-version` to control which Python versions
- *Black*-formatted code should target
+ *Black*-formatted code should target (#618)