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.
1 ![Black Logo](https://raw.githubusercontent.com/psf/black/master/docs/_static/logo2-readme.png)
3 <h2 align="center">The Uncompromising Code Formatter</h2>
6 <a href="https://travis-ci.com/psf/black"><img alt="Build Status" src="https://travis-ci.com/psf/black.svg?branch=master"></a>
7 <a href="https://black.readthedocs.io/en/stable/?badge=stable"><img alt="Documentation Status" src="https://readthedocs.org/projects/black/badge/?version=stable"></a>
8 <a href="https://coveralls.io/github/psf/black?branch=master"><img alt="Coverage Status" src="https://coveralls.io/repos/github/psf/black/badge.svg?branch=master"></a>
9 <a href="https://github.com/psf/black/blob/master/LICENSE"><img alt="License: MIT" src="https://black.readthedocs.io/en/stable/_static/license.svg"></a>
10 <a href="https://pypi.org/project/black/"><img alt="PyPI" src="https://black.readthedocs.io/en/stable/_static/pypi.svg"></a>
11 <a href="https://pepy.tech/project/black"><img alt="Downloads" src="https://pepy.tech/badge/black"></a>
12 <a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
15 > “Any color you like.”
17 _Black_ is the uncompromising Python code formatter. By using it, you agree to cede
18 control over minutiae of hand-formatting. In return, _Black_ gives you speed,
19 determinism, and freedom from `pycodestyle` nagging about formatting. You will save time
20 and mental energy for more important matters.
22 Blackened code looks the same regardless of the project you're reading. Formatting
23 becomes transparent after a while and you can focus on the content instead.
25 _Black_ makes code review faster by producing the smallest diffs possible.
27 Try it out now using the [Black Playground](https://black.now.sh). Watch the
28 [PyCon 2019 talk](https://youtu.be/esZLCuWs_2Y) to learn more.
32 _Contents:_ **[Installation and usage](#installation-and-usage)** |
33 **[Code style](#the-black-code-style)** | **[pyproject.toml](#pyprojecttoml)** |
34 **[Editor integration](#editor-integration)** | **[blackd](#blackd)** |
35 **[Version control integration](#version-control-integration)** |
36 **[Ignoring unmodified files](#ignoring-unmodified-files)** | **[Used by](#used-by)** |
37 **[Testimonials](#testimonials)** | **[Show your style](#show-your-style)** |
38 **[Contributing](#contributing-to-black)** | **[Change Log](#change-log)** |
39 **[Authors](#authors)**
43 ## Installation and usage
47 _Black_ can be installed by running `pip install black`. It requires Python 3.6.0+ to
48 run but you can reformat Python 2 code with it, too.
52 To get started right away with sensible defaults:
55 black {source_file_or_directory}
58 ### Command line options
60 _Black_ doesn't provide many options. You can list them by running `black --help`:
63 black [OPTIONS] [SRC]...
66 -c, --code TEXT Format the code passed in as a string.
67 -l, --line-length INTEGER How many characters per line to allow.
69 -t, --target-version [py27|py33|py34|py35|py36|py37|py38]
70 Python versions that should be supported by
71 Black's output. [default: per-file auto-
73 --py36 Allow using Python 3.6-only syntax on all
74 input files. This will put trailing commas
75 in function signatures and calls also after
76 *args and **kwargs. Deprecated; use
77 --target-version instead. [default: per-file
79 --pyi Format all input files like typing stubs
80 regardless of file extension (useful when
81 piping source on standard input).
82 -S, --skip-string-normalization
83 Don't normalize string quotes or prefixes.
84 --check Don't write the files back, just return the
85 status. Return code 0 means nothing would
86 change. Return code 1 means some files
87 would be reformatted. Return code 123 means
88 there was an internal error.
89 --diff Don't write the files back, just output a
90 diff for each file on stdout.
91 --fast / --safe If --fast given, skip temporary sanity
92 checks. [default: --safe]
93 --include TEXT A regular expression that matches files and
94 directories that should be included on
95 recursive searches. An empty value means
96 all files are included regardless of the
97 name. Use forward slashes for directories
98 on all platforms (Windows, too). Exclusions
99 are calculated first, inclusions later.
101 --exclude TEXT A regular expression that matches files and
102 directories that should be excluded on
103 recursive searches. An empty value means no
104 paths are excluded. Use forward slashes for
105 directories on all platforms (Windows, too).
106 Exclusions are calculated first, inclusions
107 later. [default: /(\.eggs|\.git|\.hg|\.mypy
108 _cache|\.nox|\.tox|\.venv|_build|buck-
110 -q, --quiet Don't emit non-error messages to stderr.
111 Errors are still emitted, silence those with
113 -v, --verbose Also emit messages to stderr about files
114 that were not changed or were ignored due to
116 --version Show the version and exit.
117 --config PATH Read configuration from PATH.
118 -h, --help Show this message and exit.
121 _Black_ is a well-behaved Unix-style command-line tool:
123 - it does nothing if no sources are passed to it;
124 - it will read from standard input and write to standard output if `-` is used as the
126 - it only outputs messages to users on standard error;
127 - exits with code 0 unless an internal error occurred (or `--check` was used).
129 ### NOTE: This is a beta product
131 _Black_ is already [successfully used](#used-by) by many projects, small and big. It
132 also sports a decent test suite. However, it is still very new. Things will probably be
133 wonky for a while. This is made explicit by the "Beta" trove classifier, as well as by
134 the "b" in the version number. What this means for you is that **until the formatter
135 becomes stable, you should expect some formatting to change in the future**. That being
136 said, no drastic stylistic changes are planned, mostly responses to bug reports.
138 Also, as a temporary safety measure, _Black_ will check that the reformatted code still
139 produces a valid AST that is equivalent to the original. This slows it down. If you're
140 feeling confident, use `--fast`.
142 ## The _Black_ code style
144 _Black_ reformats entire files in place. It is not configurable. It doesn't take
145 previous formatting into account. It doesn't reformat blocks that start with
146 `# fmt: off` and end with `# fmt: on`. `# fmt: on/off` have to be on the same level of
147 indentation. It also recognizes [YAPF](https://github.com/google/yapf)'s block comments
148 to the same effect, as a courtesy for straddling code.
150 ### How _Black_ wraps lines
152 _Black_ ignores previous formatting and applies uniform horizontal and vertical
153 whitespace to your code. The rules for horizontal whitespace can be summarized as: do
154 whatever makes `pycodestyle` happy. The coding style used by _Black_ can be viewed as a
155 strict subset of PEP 8.
157 As for vertical whitespace, _Black_ tries to render one full expression or simple
158 statement per line. If this fits the allotted line length, great.
173 If not, _Black_ will look at the contents of the first outer matching brackets and put
174 that in a separate indented line.
179 ImportantClass.important_method(exc, limit, lookup_lines, capture_locals, extra_argument)
183 ImportantClass.important_method(
184 exc, limit, lookup_lines, capture_locals, extra_argument
188 If that still doesn't fit the bill, it will decompose the internal expression further
189 using the same rule, indenting matching brackets every time. If the contents of the
190 matching brackets pair are comma-separated (like an argument list, or a dict literal,
191 and so on) then _Black_ will first try to keep them on the same line with the matching
192 brackets. If that doesn't work, it will put all of them in separate lines.
197 def very_important_function(template: str, *variables, file: os.PathLike, engine: str, header: bool = True, debug: bool = False):
198 """Applies `variables` to the `template` and writes to `file`."""
199 with open(file, 'w') as f:
204 def very_important_function(
212 """Applies `variables` to the `template` and writes to `file`."""
213 with open(file, "w") as f:
217 You might have noticed that closing brackets are always dedented and that a trailing
218 comma is always added. Such formatting produces smaller diffs; when you add or remove an
219 element, it's always just one line. Also, having the closing bracket dedented provides a
220 clear delimiter between two distinct sections of the code that otherwise share the same
221 indentation level (like the arguments list and the docstring in the example above).
223 If a data structure literal (tuple, list, set, dict) or a line of "from" imports cannot
224 fit in the allotted length, it's always split into one element per line. This minimizes
225 diffs as well as enables readers of code to find which commit introduced a particular
226 entry. This also makes _Black_ compatible with [isort](https://pypi.org/p/isort/) with
227 the following configuration.
230 <summary>A compatible `.isort.cfg`</summary>
235 include_trailing_comma=True
241 The equivalent command line is:
244 $ isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --use-parentheses --line-width=88 [ file.py ]
251 You probably noticed the peculiar default line length. _Black_ defaults to 88 characters
252 per line, which happens to be 10% over 80. This number was found to produce
253 significantly shorter files than sticking with 80 (the most popular), or even 79 (used
254 by the standard library). In general,
255 [90-ish seems like the wise choice](https://youtu.be/wf-BqAjZb8M?t=260).
257 If you're paid by the line of code you write, you can pass `--line-length` with a lower
258 number. _Black_ will try to respect that. However, sometimes it won't be able to without
259 breaking other rules. In those rare cases, auto-formatted code will exceed your allotted
262 You can also increase it, but remember that people with sight disabilities find it
263 harder to work with line lengths exceeding 100 characters. It also adversely affects
264 side-by-side diff review on typical screen resolutions. Long lines also make it harder
265 to present code neatly in documentation or talk slides.
267 If you're using Flake8, you can bump `max-line-length` to 88 and forget about it.
268 Alternatively, use [Bugbear](https://github.com/PyCQA/flake8-bugbear)'s B950 warning
269 instead of E501 and keep the max line length at 80 which you are probably already using.
270 You'd do it like this:
276 select = C,E,F,W,B,B950
277 ignore = E203, E501, W503
280 You'll find _Black_'s own .flake8 config file is configured like this. Explanation of
281 why W503 and E203 are disabled can be found further in this documentation. And if you're
282 curious about the reasoning behind B950,
283 [Bugbear's documentation](https://github.com/PyCQA/flake8-bugbear#opinionated-warnings)
284 explains it. The tl;dr is "it's like highway speed limits, we won't bother you if you
285 overdo it by a few km/h".
289 _Black_ avoids spurious vertical whitespace. This is in the spirit of PEP 8 which says
290 that in-function vertical whitespace should only be used sparingly.
292 _Black_ will allow single empty lines inside functions, and single and double empty
293 lines on module level left by the original editors, except when they're within
294 parenthesized expressions. Since such expressions are always reformatted to fit minimal
295 space, this whitespace is lost.
297 It will also insert proper spacing before and after function definitions. It's one line
298 before and after inner functions and two lines before and after module-level functions
299 and classes. _Black_ will not put empty lines between function/class definitions and
300 standalone comments that immediately precede the given function/class.
302 _Black_ will enforce single empty lines between a class-level docstring and the first
303 following field or method. This conforms to
304 [PEP 257](https://www.python.org/dev/peps/pep-0257/#multi-line-docstrings).
306 _Black_ won't insert empty lines after function docstrings unless that empty line is
307 required due to an inner function starting immediately after.
311 _Black_ will add trailing commas to expressions that are split by comma where each
312 element is on its own line. This includes function signatures.
314 Unnecessary trailing commas are removed if an expression fits in one line. This makes it
315 1% more likely that your line won't exceed the allotted line length limit. Moreover, in
316 this scenario, if you added another argument to your call, you'd probably fit it in the
317 same line anyway. That doesn't make diffs any larger.
319 One exception to removing trailing commas is tuple expressions with just one element. In
320 this case _Black_ won't touch the single trailing comma as this would unexpectedly
321 change the underlying data type. Note that this is also the case when commas are used
322 while indexing. This is a tuple in disguise: `numpy_array[3, ]`.
324 One exception to adding trailing commas is function signatures containing `*`, `*args`,
325 or `**kwargs`. In this case a trailing comma is only safe to use on Python 3.6. _Black_
326 will detect if your file is already 3.6+ only and use trailing commas in this situation.
327 If you wonder how it knows, it looks for f-strings and existing use of trailing commas
328 in function signatures that have stars in them. In other words, if you'd like a trailing
329 comma in this situation and _Black_ didn't recognize it was safe to do so, put it there
330 manually and _Black_ will keep it.
334 _Black_ prefers double quotes (`"` and `"""`) over single quotes (`'` and `'''`). It
335 will replace the latter with the former as long as it does not result in more backslash
338 _Black_ also standardizes string prefixes, making them always lowercase. On top of that,
339 if your code is already Python 3.6+ only or it's using the `unicode_literals` future
340 import, _Black_ will remove `u` from the string prefix as it is meaningless in those
343 The main reason to standardize on a single form of quotes is aesthetics. Having one kind
344 of quotes everywhere reduces reader distraction. It will also enable a future version of
345 _Black_ to merge consecutive string literals that ended up on the same line (see
346 [#26](https://github.com/psf/black/issues/26) for details).
348 Why settle on double quotes? They anticipate apostrophes in English text. They match the
349 docstring standard described in
350 [PEP 257](https://www.python.org/dev/peps/pep-0257/#what-is-a-docstring). An empty
351 string in double quotes (`""`) is impossible to confuse with a one double-quote
352 regardless of fonts and syntax highlighting used. On top of this, double quotes for
353 strings are consistent with C which Python interacts a lot with.
355 On certain keyboard layouts like US English, typing single quotes is a bit easier than
356 double quotes. The latter requires use of the Shift key. My recommendation here is to
357 keep using whatever is faster to type and let _Black_ handle the transformation.
359 If you are adopting _Black_ in a large project with pre-existing string conventions
361 ["single quotes for data, double quotes for human-readable strings"](https://stackoverflow.com/a/56190)),
362 you can pass `--skip-string-normalization` on the command line. This is meant as an
363 adoption helper, avoid using this for new projects.
367 _Black_ standardizes most numeric literals to use lowercase letters for the syntactic
368 parts and uppercase letters for the digits themselves: `0xAB` instead of `0XAB` and
369 `1e10` instead of `1E10`. Python 2 long literals are styled as `2L` instead of `2l` to
370 avoid confusion between `l` and `1`.
372 ### Line breaks & binary operators
374 _Black_ will break a line before a binary operator when splitting a block of code over
375 multiple lines. This is so that _Black_ is compliant with the recent changes in the
376 [PEP 8](https://www.python.org/dev/peps/pep-0008/#should-a-line-break-before-or-after-a-binary-operator)
377 style guide, which emphasizes that this approach improves readability.
379 This behaviour may raise `W503 line break before binary operator` warnings in style
380 guide enforcement tools like Flake8. Since `W503` is not PEP 8 compliant, you should
381 tell Flake8 to ignore these warnings.
386 [recommends](https://www.python.org/dev/peps/pep-0008/#whitespace-in-expressions-and-statements)
387 to treat `:` in slices as a binary operator with the lowest priority, and to leave an
388 equal amount of space on either side, except if a parameter is omitted (e.g.
389 `ham[1 + 1 :]`). It also states that for extended slices, both `:` operators have to
390 have the same amount of spacing, except if a parameter is omitted (`ham[1 + 1 ::]`).
391 _Black_ enforces these rules consistently.
393 This behaviour may raise `E203 whitespace before ':'` warnings in style guide
394 enforcement tools like Flake8. Since `E203` is not PEP 8 compliant, you should tell
395 Flake8 to ignore these warnings.
399 Some parentheses are optional in the Python grammar. Any expression can be wrapped in a
400 pair of parentheses to form an atom. There are a few interesting cases:
404 - `for (...) in (...):`
405 - `assert (...), (...)`
406 - `from X import (...)`
409 - `target: type = (...)`
410 - `some, *un, packing = (...)`
411 - `augmented += (...)`
413 In those cases, parentheses are removed when the entire statement fits in one line, or
414 if the inner expression doesn't have any delimiters to further split on. If there is
415 only a single delimiter and the expression starts or ends with a bracket, the
416 parenthesis can also be successfully omitted since the existing bracket pair will
417 organize the expression neatly anyway. Otherwise, the parentheses are added.
419 Please note that _Black_ does not add or remove any additional nested parentheses that
420 you might want to have for clarity or further code organization. For example those
421 parentheses are not going to be removed:
424 return not (this or that)
425 decision = (maybe.this() and values > 0) or (maybe.that() and values < 0)
430 Some popular APIs, like ORMs, use call chaining. This API style is known as a
431 [fluent interface](https://en.wikipedia.org/wiki/Fluent_interface). _Black_ formats
432 those by treating dots that follow a call or an indexing operation like a very low
433 priority delimiter. It's easier to show the behavior than to explain it. Look at the
437 def example(session):
439 session.query(models.Customer.id)
441 models.Customer.account_id == account_id,
442 models.Customer.email == email_address,
444 .order_by(models.Customer.id.asc())
449 ### Typing stub files
451 PEP 484 describes the syntax for type hints in Python. One of the use cases for typing
452 is providing type annotations for modules which cannot contain them directly (they might
453 be written in C, or they might be third-party, or their implementation may be overly
457 [stub files with the `.pyi` file extension](https://www.python.org/dev/peps/pep-0484/#stub-files)
458 can be used to describe typing information for an external module. Those stub files omit
459 the implementation of classes and functions they describe, instead they only contain the
460 structure of the file (listing globals, functions, and classes with their members). The
461 recommended code style for those files is more terse than PEP 8:
463 - prefer `...` on the same line as the class/function signature;
464 - avoid vertical whitespace between consecutive module-level functions, names, or
465 methods and fields within a single class;
466 - use a single blank line between top-level class definitions, or none if the classes
469 _Black_ enforces the above rules. There are additional guidelines for formatting `.pyi`
470 file that are not enforced yet but might be in a future version of the formatter:
472 - all function bodies should be empty (contain `...` instead of the body);
473 - do not use docstrings;
474 - prefer `...` over `pass`;
475 - for arguments with a default, use `...` instead of the actual default;
476 - avoid using string literals in type annotations, stub files support forward references
477 natively (like Python 3.7 code with `from __future__ import annotations`);
478 - use variable annotations instead of type comments, even for stubs that target older
480 - for arguments that default to `None`, use `Optional[]` explicitly;
481 - use `float` instead of `Union[int, float]`.
485 _Black_ is able to read project-specific default values for its command line options
486 from a `pyproject.toml` file. This is especially useful for specifying custom
487 `--include` and `--exclude` patterns for your project.
489 **Pro-tip**: If you're asking yourself "Do I need to configure anything?" the answer is
490 "No". _Black_ is all about sensible defaults.
492 ### What on Earth is a `pyproject.toml` file?
494 [PEP 518](https://www.python.org/dev/peps/pep-0518/) defines `pyproject.toml` as a
495 configuration file to store build system requirements for Python projects. With the help
496 of tools like [Poetry](https://poetry.eustace.io/) or
497 [Flit](https://flit.readthedocs.io/en/latest/) it can fully replace the need for
498 `setup.py` and `setup.cfg` files.
500 ### Where _Black_ looks for the file
502 By default _Black_ looks for `pyproject.toml` starting from the common base directory of
503 all files and directories passed on the command line. If it's not there, it looks in
504 parent directories. It stops looking when it finds the file, or a `.git` directory, or a
505 `.hg` directory, or the root of the file system, whichever comes first.
507 If you're formatting standard input, _Black_ will look for configuration starting from
508 the current working directory.
510 You can also explicitly specify the path to a particular file that you want with
511 `--config`. In this situation _Black_ will not look for any other file.
513 If you're running with `--verbose`, you will see a blue message if a file was found and
516 Please note `blackd` will not use `pyproject.toml` configuration.
518 ### Configuration format
520 As the file extension suggests, `pyproject.toml` is a
521 [TOML](https://github.com/toml-lang/toml) file. It contains separate sections for
522 different tools. _Black_ is using the `[tool.black]` section. The option keys are the
523 same as long names of options on the command line.
525 Note that you have to use single-quoted strings in TOML for regular expressions. It's
526 the equivalent of r-strings in Python. Multiline strings are treated as verbose regular
527 expressions by Black. Use `[ ]` to denote a significant space character.
530 <summary>Example `pyproject.toml`</summary>
535 target-version = ['py37']
541 \.eggs # exclude a few common directories in the
542 | \.git # root of the project
552 | foo.py # also separately exclude a file named foo.py in
553 # the root of the project
562 Command-line options have defaults that you can see in `--help`. A `pyproject.toml` can
563 override those defaults. Finally, options provided by the user on the command line
566 _Black_ will only ever use one `pyproject.toml` file during an entire run. It doesn't
567 look for multiple files, and doesn't compose configuration from different levels of the
570 ## Editor integration
574 Use [proofit404/blacken](https://github.com/proofit404/blacken) or
575 [Elpy](https://github.com/jorgenschaefer/elpy).
577 ### PyCharm/IntelliJ IDEA
585 2. Locate your `black` installation folder.
587 On macOS / Linux / BSD:
591 /usr/local/bin/black # possible location
598 %LocalAppData%\Programs\Python\Python36-32\Scripts\black.exe # possible location
601 3. Open External tools in PyCharm/IntelliJ IDEA
605 `PyCharm -> Preferences -> Tools -> External Tools`
607 On Windows / Linux / BSD:
609 `File -> Settings -> Tools -> External Tools`
611 4. Click the + icon to add a new external tool with the following values:
614 - Description: Black is the uncompromising Python code formatter.
615 - Program: <install_location_from_step_2>
616 - Arguments: `"$FilePath$"`
618 5. Format the currently opened file by selecting `Tools -> External Tools -> black`.
620 - Alternatively, you can set a keyboard shortcut by navigating to
621 `Preferences or Settings -> Keymap -> External Tools -> External Tools - Black`.
623 6. Optionally, run _Black_ on every file save:
625 1. Make sure you have the
626 [File Watcher](https://plugins.jetbrains.com/plugin/7177-file-watchers) plugin
628 2. Go to `Preferences or Settings -> Tools -> File Watchers` and click `+` to add a
632 - Scope: Project Files
633 - Program: <install_location_from_step_2>
634 - Arguments: `$FilePath$`
635 - Output paths to refresh: `$FilePath$`
636 - Working directory: `$ProjectFileDir$`
638 - Uncheck "Auto-save edited files to trigger the watcher"
642 Wing supports black via the OS Commands tool, as explained in the Wing documentation on
643 [pep8 formatting](https://wingware.com/doc/edit/pep8). The detailed procedure is:
651 2. Make sure it runs from the command line, e.g.
657 3. In Wing IDE, activate the **OS Commands** panel and define the command **black** to
658 execute black on the currently selected file:
660 - Use the Tools -> OS Commands menu selection
661 - click on **+** in **OS Commands** -> New: Command line..
663 - Command Line: black %s
664 - I/O Encoding: Use Default
666 - [x] Raise OS Commands when executed
667 - [x] Auto-save files before execution
670 4. Select a file in the editor and press **F1** , or whatever key binding you selected
671 in step 3, to reformat the file.
675 Commands and shortcuts:
677 - `:Black` to format the entire file (ranges not supported);
678 - `:BlackUpgrade` to upgrade _Black_ inside the virtualenv;
679 - `:BlackVersion` to get the current version of _Black_ inside the virtualenv.
683 - `g:black_fast` (defaults to `0`)
684 - `g:black_linelength` (defaults to `88`)
685 - `g:black_skip_string_normalization` (defaults to `0`)
686 - `g:black_virtualenv` (defaults to `~/.vim/black` or `~/.local/share/nvim/black`)
688 To install with [vim-plug](https://github.com/junegunn/vim-plug):
694 or with [Vundle](https://github.com/VundleVim/Vundle.vim):
700 or you can copy the plugin from
701 [plugin/black.vim](https://github.com/psf/black/tree/master/plugin/black.vim).
704 mkdir -p ~/.vim/pack/python/start/black/plugin
705 curl https://raw.githubusercontent.com/psf/black/master/plugin/black.vim -o ~/.vim/pack/python/start/black/plugin/black.vim
708 Let me know if this requires any changes to work with Vim 8's builtin `packadd`, or
711 This plugin **requires Vim 7.0+ built with Python 3.6+ support**. It needs Python 3.6 to
712 be able to run _Black_ inside the Vim process which is much faster than calling an
715 On first run, the plugin creates its own virtualenv using the right Python version and
716 automatically installs _Black_. You can upgrade it later by calling `:BlackUpgrade` and
719 If you need to do anything special to make your virtualenv work and install _Black_ (for
720 example you want to run a version from master), create a virtualenv manually and point
721 `g:black_virtualenv` to it. The plugin will use it.
723 To run _Black_ on save, add the following line to `.vimrc` or `init.vim`:
726 autocmd BufWritePre *.py execute ':Black'
729 To run _Black_ on a key press (e.g. F9 below), add this:
732 nnoremap <F9> :Black<CR>
735 **How to get Vim with Python 3.6?** On Ubuntu 17.10 Vim comes with Python 3.6 by
736 default. On macOS with Homebrew run: `brew install vim --with-python3`. When building
737 Vim from source, use: `./configure --enable-python3interp=yes`. There's many guides
738 online how to do this.
740 ### Visual Studio Code
743 [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
744 ([instructions](https://code.visualstudio.com/docs/python/editing#_formatting)).
748 Use [sublack plugin](https://github.com/jgirardet/sublack).
750 ### Jupyter Notebook Magic
752 Use [blackcellmagic](https://github.com/csurfer/blackcellmagic).
754 ### Python Language Server
756 If your editor supports the [Language Server Protocol](https://langserver.org/) (Atom,
757 Sublime Text, Visual Studio Code and many more), you can use the
758 [Python Language Server](https://github.com/palantir/python-language-server) with the
759 [pyls-black](https://github.com/rupert/pyls-black) plugin.
763 Use [python-black](https://atom.io/packages/python-black).
767 Add the following hook to your kakrc, then run black with `:format`.
770 hook global WinSetOption filetype=python %{
771 set-option window formatcmd 'black -q -'
777 Other editors will require external contributions.
779 Patches welcome! ✨ 🍰 ✨
781 Any tool that can pipe code through _Black_ using its stdio mode (just
782 [use `-` as the file name](https://www.tldp.org/LDP/abs/html/special-chars.html#DASHREF2)).
783 The formatted code will be returned on stdout (unless `--check` was passed). _Black_
784 will still emit messages on stderr but that shouldn't affect your use case.
786 This can be used for example with PyCharm's or IntelliJ's
787 [File Watchers](https://www.jetbrains.com/help/pycharm/file-watchers.html).
791 `blackd` is a small HTTP server that exposes _Black_'s functionality over a simple
792 protocol. The main benefit of using it is to avoid paying the cost of starting up a new
793 _Black_ process every time you want to blacken a file.
797 `blackd` is not packaged alongside _Black_ by default because it has additional
798 dependencies. You will need to do `pip install black[d]` to install it.
800 You can start the server on the default port, binding only to the local interface by
801 running `blackd`. You will see a single line mentioning the server's version, and the
802 host and port it's listening on. `blackd` will then print an access log similar to most
803 web servers on standard output, merged with any exception traces caused by invalid
806 `blackd` provides even less options than _Black_. You can see them by running
810 Usage: blackd [OPTIONS]
813 --bind-host TEXT Address to bind the server to.
814 --bind-port INTEGER Port to listen on
815 --version Show the version and exit.
816 -h, --help Show this message and exit.
819 There is no official blackd client tool (yet!). You can test that blackd is working
823 blackd --bind-port 9090 & # or let blackd choose a port
824 curl -s -XPOST "localhost:9090" -d "print('valid')"
829 `blackd` only accepts `POST` requests at the `/` path. The body of the request should
830 contain the python source code to be formatted, encoded according to the `charset` field
831 in the `Content-Type` request header. If no `charset` is specified, `blackd` assumes
834 There are a few HTTP headers that control how the source is formatted. These correspond
835 to command line flags for _Black_. There is one exception to this: `X-Protocol-Version`
836 which if present, should have the value `1`, otherwise the request is rejected with
837 `HTTP 501` (Not Implemented).
839 The headers controlling how code is formatted are:
841 If any of these headers are set to invalid values, `blackd` returns a `HTTP 400` error
842 response, mentioning the name of the problematic header in the message body.
844 - `X-Line-Length`: corresponds to the `--line-length` command line flag.
845 - `X-Skip-String-Normalization`: corresponds to the `--skip-string-normalization`
846 command line flag. If present and its value is not the empty string, no string
847 normalization will be performed.
848 - `X-Fast-Or-Safe`: if set to `fast`, `blackd` will act as _Black_ does when passed the
849 `--fast` command line flag.
850 - `X-Python-Variant`: if set to `pyi`, `blackd` will act as _Black_ does when passed the
851 `--pyi` command line flag. Otherwise, its value must correspond to a Python version or
852 a set of comma-separated Python versions, optionally prefixed with `py`. For example,
853 to request code that is compatible with Python 3.5 and 3.6, set the header to
855 - `X-Diff`: corresponds to the `--diff` command line flag. If present, a diff of the
856 formats will be output.
858 If any of these headers are set to invalid values, `blackd` returns a `HTTP 400` error
859 response, mentioning the name of the problematic header in the message body.
861 Apart from the above, `blackd` can produce the following response codes:
863 - `HTTP 204`: If the input is already well-formatted. The response body is empty.
864 - `HTTP 200`: If formatting was needed on the input. The response body contains the
865 blackened Python code, and the `Content-Type` header is set accordingly.
866 - `HTTP 400`: If the input contains a syntax error. Details of the error are returned in
868 - `HTTP 500`: If there was any kind of error while trying to format the input. The
869 response body contains a textual representation of the error.
871 The response headers include a `X-Black-Version` header containing the version of
874 ## Version control integration
876 Use [pre-commit](https://pre-commit.com/). Once you
877 [have it installed](https://pre-commit.com/#install), add this to the
878 `.pre-commit-config.yaml` in your repository:
882 - repo: https://github.com/psf/black
886 language_version: python3.6
889 Then run `pre-commit install` and you're ready to go.
891 Avoid using `args` in the hook. Instead, store necessary configuration in
892 `pyproject.toml` so that editors and command-line usage of Black all behave consistently
893 for your project. See _Black_'s own [pyproject.toml](/pyproject.toml) for an example.
895 If you're already using Python 3.7, switch the `language_version` accordingly. Finally,
896 `stable` is a tag that is pinned to the latest release on PyPI. If you'd rather run on
897 master, this is also an option.
899 ## Ignoring unmodified files
901 _Black_ remembers files it has already formatted, unless the `--diff` flag is used or
902 code is passed via standard input. This information is stored per-user. The exact
903 location of the file depends on the _Black_ version and the system on which _Black_ is
904 run. The file is non-portable. The standard location on common operating systems is:
907 `C:\\Users\<username>\AppData\Local\black\black\Cache\<version>\cache.<line-length>.<file-mode>.pickle`
909 `/Users/<username>/Library/Caches/black/<version>/cache.<line-length>.<file-mode>.pickle`
911 `/home/<username>/.cache/black/<version>/cache.<line-length>.<file-mode>.pickle`
913 `file-mode` is an int flag that determines whether the file was formatted as 3.6+ only,
914 as .pyi, and whether string normalization was omitted.
916 To override the location of these files on macOS or Linux, set the environment variable
917 `XDG_CACHE_HOME` to your preferred location. For example, if you want to put the cache
918 in the directory you're running _Black_ from, set `XDG_CACHE_HOME=.cache`. _Black_ will
919 then write the above files to `.cache/black/<version>/`.
923 The following notable open-source projects trust _Black_ with enforcing a consistent
924 code style: pytest, tox, Pyramid, Django Channels, Hypothesis, attrs, SQLAlchemy,
925 Poetry, PyPA applications (Warehouse, Pipenv, virtualenv), pandas, Pillow, every Datadog
928 Are we missing anyone? Let us know.
933 [writer](https://smile.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=dusty+phillips):
935 > _Black_ is opinionated so you don't have to be.
937 **Hynek Schlawack**, [creator of `attrs`](https://www.attrs.org/), core developer of
940 > An auto-formatter that doesn't suck is all I want for Xmas!
942 **Carl Meyer**, [Django](https://www.djangoproject.com/) core developer:
944 > At least the name is good.
946 **Kenneth Reitz**, creator of [`requests`](http://python-requests.org/) and
947 [`pipenv`](https://docs.pipenv.org/):
949 > This vastly improves the formatting of our code. Thanks a ton!
953 Use the badge in your project's README.md:
956 [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
959 Using the badge in README.rst:
962 .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
963 :target: https://github.com/psf/black
967 [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
973 ## Contributing to _Black_
975 In terms of inspiration, _Black_ is about as configurable as _gofmt_. This is
978 Bug reports and fixes are always welcome! However, before you suggest a new feature or
979 configuration knob, ask yourself why you want it. If it enables better integration with
980 some workflow, fixes an inconsistency, speeds things up, and so on - go for it! On the
981 other hand, if your answer is "because I don't like a particular formatting" then you're
982 not ready to embrace _Black_ yet. Such changes are unlikely to get accepted. You can
983 still try but prepare to be disappointed.
985 More details can be found in [CONTRIBUTING](CONTRIBUTING.md).
991 - added support for PEP 572 assignment expressions (#711)
993 - added support for PEP 570 positional-only arguments (#943)
995 - added support for async generators (#593)
997 - added support for pre-splitting collections by putting an explicit trailing comma
1000 - added `black -c` as a way to format code passed from the command line (#761)
1002 - --safe now works with Python 2 code (#840)
1004 - fixed grammar selection for Python 2-specific code (#765)
1006 - fixed feature detection for trailing commas in function definitions and call sites
1009 - `# fmt: off`/`# fmt: on` comment pairs placed multiple times within the same block of
1010 code now behave correctly (#1005)
1012 - _Black_ no longer crashes on Windows machines with more than 61 cores (#838)
1014 - _Black_ no longer crashes on standalone comments prepended with a backslash (#767)
1016 - _Black_ no longer crashes on `from` ... `import` blocks with comments (#829)
1018 - _Black_ no longer crashes on Python 3.7 on some platform configurations (#494)
1020 - _Black_ no longer fails on comments in from-imports (#671)
1022 - _Black_ no longer fails when the file starts with a backslash (#922)
1024 - _Black_ no longer merges regular comments with type comments (#1027)
1026 - _Black_ no longer splits long lines that contain type comments (#997)
1028 - removed unnecessary parentheses around `yield` expressions (#834)
1030 - added parentheses around long tuples in unpacking assignments (#832)
1032 - added parentheses around complex powers when they are prefixed by a unary operator
1035 - fixed bug that led _Black_ format some code with a line length target of 1 (#762)
1037 - _Black_ no longer introduces quotes in f-string subexpressions on string boundaries
1040 - if _Black_ puts parenthesis around a single expression, it moves comments to the
1041 wrapped expression instead of after the brackets (#872)
1043 - `blackd` now returns the version of _Black_ in the response headers (#1013)
1045 - `blackd` can now output the diff of formats on source code when the `X-Diff` header is
1050 - new option `--target-version` to control which Python versions _Black_-formatted code
1051 should target (#618)
1053 - deprecated `--py36` (use `--target-version=py36` instead) (#724)
1055 - _Black_ no longer normalizes numeric literals to include `_` separators (#696)
1057 - long `del` statements are now split into multiple lines (#698)
1059 - type comments are no longer mangled in function signatures
1061 - improved performance of formatting deeply nested data structures (#509)
1063 - _Black_ now properly formats multiple files in parallel on Windows (#632)
1065 - _Black_ now creates cache files atomically which allows it to be used in parallel
1066 pipelines (like `xargs -P8`) (#673)
1068 - _Black_ now correctly indents comments in files that were previously formatted with
1071 - `blackd` now supports CORS (#622)
1075 - numeric literals are now formatted by _Black_ (#452, #461, #464, #469):
1077 - numeric literals are normalized to include `_` separators on Python 3.6+ code
1079 - added `--skip-numeric-underscore-normalization` to disable the above behavior and
1080 leave numeric underscores as they were in the input
1082 - code with `_` in numeric literals is recognized as Python 3.6+
1084 - most letters in numeric literals are lowercased (e.g., in `1e10`, `0x01`)
1086 - hexadecimal digits are always uppercased (e.g. `0xBADC0DE`)
1088 - added `blackd`, see [its documentation](#blackd) for more info (#349)
1090 - adjacent string literals are now correctly split into multiple lines (#463)
1092 - trailing comma is now added to single imports that don't fit on a line (#250)
1094 - cache is now populated when `--check` is successful for a file which speeds up
1095 consecutive checks of properly formatted unmodified files (#448)
1097 - whitespace at the beginning of the file is now removed (#399)
1099 - fixed mangling [pweave](http://mpastell.com/pweave/) and
1100 [Spyder IDE](https://pythonhosted.org/spyder/) special comments (#532)
1102 - fixed unstable formatting when unpacking big tuples (#267)
1104 - fixed parsing of `__future__` imports with renames (#389)
1106 - fixed scope of `# fmt: off` when directly preceding `yield` and other nodes (#385)
1108 - fixed formatting of lambda expressions with default arguments (#468)
1110 - fixed `async for` statements: _Black_ no longer breaks them into separate lines (#372)
1112 - note: the Vim plugin stopped registering `,=` as a default chord as it turned out to
1113 be a bad idea (#415)
1117 - hotfix: don't freeze when multiple comments directly precede `# fmt: off` (#371)
1121 - typing stub files (`.pyi`) now have blank lines added after constants (#340)
1123 - `# fmt: off` and `# fmt: on` are now much more dependable:
1125 - they now work also within bracket pairs (#329)
1127 - they now correctly work across function/class boundaries (#335)
1129 - they now work when an indentation block starts with empty lines or misaligned
1132 - made Click not fail on invalid environments; note that Click is right but the
1133 likelihood we'll need to access non-ASCII file paths when dealing with Python source
1136 - fixed improper formatting of f-strings with quotes inside interpolated expressions
1139 - fixed unnecessary slowdown when long list literals where found in a file
1141 - fixed unnecessary slowdown on AST nodes with very many siblings
1143 - fixed cannibalizing backslashes during string normalization
1145 - fixed a crash due to symbolic links pointing outside of the project directory (#338)
1149 - added `--config` (#65)
1151 - added `-h` equivalent to `--help` (#316)
1153 - fixed improper unmodified file caching when `-S` was used
1155 - fixed extra space in string unpacking (#305)
1157 - fixed formatting of empty triple quoted strings (#313)
1159 - fixed unnecessary slowdown in comment placement calculation on lines without comments
1163 - hotfix: don't output human-facing information on stdout (#299)
1165 - hotfix: don't output cake emoji on non-zero return code (#300)
1169 - added `--include` and `--exclude` (#270)
1171 - added `--skip-string-normalization` (#118)
1173 - added `--verbose` (#283)
1175 - the header output in `--diff` now actually conforms to the unified diff spec
1177 - fixed long trivial assignments being wrapped in unnecessary parentheses (#273)
1179 - fixed unnecessary parentheses when a line contained multiline strings (#232)
1181 - fixed stdin handling not working correctly if an old version of Click was used (#276)
1183 - _Black_ now preserves line endings when formatting a file in place (#258)
1187 - added `--pyi` (#249)
1189 - added `--py36` (#249)
1191 - Python grammar pickle caches are stored with the formatting caches, making _Black_
1192 work in environments where site-packages is not user-writable (#192)
1194 - _Black_ now enforces a PEP 257 empty line after a class-level docstring (and/or
1195 fields) and the first method
1197 - fixed invalid code produced when standalone comments were present in a trailer that
1198 was omitted from line splitting on a large expression (#237)
1200 - fixed optional parentheses being removed within `# fmt: off` sections (#224)
1202 - fixed invalid code produced when stars in very long imports were incorrectly wrapped
1203 in optional parentheses (#234)
1205 - fixed unstable formatting when inline comments were moved around in a trailer that was
1206 omitted from line splitting on a large expression (#238)
1208 - fixed extra empty line between a class declaration and the first method if no class
1209 docstring or fields are present (#219)
1211 - fixed extra empty line between a function signature and an inner function or inner
1216 - call chains are now formatted according to the
1217 [fluent interfaces](https://en.wikipedia.org/wiki/Fluent_interface) style (#67)
1219 - data structure literals (tuples, lists, dictionaries, and sets) are now also always
1220 exploded like imports when they don't fit in a single line (#152)
1222 - slices are now formatted according to PEP 8 (#178)
1224 - parentheses are now also managed automatically on the right-hand side of assignments
1225 and return statements (#140)
1227 - math operators now use their respective priorities for delimiting multiline
1230 - optional parentheses are now omitted on expressions that start or end with a bracket
1231 and only contain a single operator (#177)
1233 - empty parentheses in a class definition are now removed (#145, #180)
1235 - string prefixes are now standardized to lowercase and `u` is removed on Python 3.6+
1236 only code and Python 2.7+ code with the `unicode_literals` future import (#188, #198,
1239 - typing stub files (`.pyi`) are now formatted in a style that is consistent with PEP
1242 - progress when reformatting many files is now reported incrementally
1244 - fixed trailers (content with brackets) being unnecessarily exploded into their own
1245 lines after a dedented closing bracket (#119)
1247 - fixed an invalid trailing comma sometimes left in imports (#185)
1249 - fixed non-deterministic formatting when multiple pairs of removable parentheses were
1252 - fixed multiline strings being unnecessarily wrapped in optional parentheses in long
1255 - fixed not splitting long from-imports with only a single name
1257 - fixed Python 3.6+ file discovery by also looking at function calls with unpacking.
1258 This fixed non-deterministic formatting if trailing commas where used both in function
1259 signatures with stars and function calls with stars but the former would be
1260 reformatted to a single line.
1262 - fixed crash on dealing with optional parentheses (#193)
1264 - fixed "is", "is not", "in", and "not in" not considered operators for splitting
1267 - fixed crash when dead symlinks where encountered
1271 - don't populate the cache on `--check` (#175)
1275 - added a "cache"; files already reformatted that haven't changed on disk won't be
1276 reformatted again (#109)
1278 - `--check` and `--diff` are no longer mutually exclusive (#149)
1280 - generalized star expression handling, including double stars; this fixes
1281 multiplication making expressions "unsafe" for trailing commas (#132)
1283 - _Black_ no longer enforces putting empty lines behind control flow statements (#90)
1285 - _Black_ now splits imports like "Mode 3 + trailing comma" of isort (#127)
1287 - fixed comment indentation when a standalone comment closes a block (#16, #32)
1289 - fixed standalone comments receiving extra empty lines if immediately preceding a
1290 class, def, or decorator (#56, #154)
1292 - fixed `--diff` not showing entire path (#130)
1294 - fixed parsing of complex expressions after star and double stars in function calls
1297 - fixed invalid splitting on comma in lambda arguments (#133)
1299 - fixed missing splits of ternary expressions (#141)
1303 - fixed parsing of unaligned standalone comments (#99, #112)
1305 - fixed placement of dictionary unpacking inside dictionary literals (#111)
1307 - Vim plugin now works on Windows, too
1309 - fixed unstable formatting when encountering unnecessarily escaped quotes in a string
1314 - added `--quiet` (#78)
1316 - added automatic parentheses management (#4)
1318 - added [pre-commit](https://pre-commit.com) integration (#103, #104)
1320 - fixed reporting on `--check` with multiple files (#101, #102)
1322 - fixed removing backslash escapes from raw strings (#100, #105)
1326 - added `--diff` (#87)
1328 - add line breaks before all delimiters, except in cases like commas, to better comply
1331 - standardize string literals to use double quotes (almost) everywhere (#75)
1333 - fixed handling of standalone comments within nested bracketed expressions; _Black_
1334 will no longer produce super long lines or put all standalone comments at the end of
1335 the expression (#22)
1337 - fixed 18.3a4 regression: don't crash and burn on empty lines with trailing whitespace
1340 - fixed 18.3a4 regression: `# yapf: disable` usage as trailing comment would cause
1341 _Black_ to not emit the rest of the file (#95)
1343 - when CTRL+C is pressed while formatting many files, _Black_ no longer freaks out with
1344 a flurry of asyncio-related exceptions
1346 - only allow up to two empty lines on module level and only single empty lines within
1351 - `# fmt: off` and `# fmt: on` are implemented (#5)
1353 - automatic detection of deprecated Python 2 forms of print statements and exec
1354 statements in the formatted file (#49)
1356 - use proper spaces for complex expressions in default values of typed function
1359 - only return exit code 1 when --check is used (#50)
1361 - don't remove single trailing commas from square bracket indexing (#59)
1363 - don't omit whitespace if the previous factor leaf wasn't a math operator (#55)
1365 - omit extra space in kwarg unpacking if it's the first argument (#46)
1367 - omit extra space in
1368 [Sphinx auto-attribute comments](http://www.sphinx-doc.org/en/stable/ext/autodoc.html#directive-autoattribute)
1373 - don't remove single empty lines outside of bracketed expressions (#19)
1375 - added ability to pipe formatting from stdin to stdin (#25)
1377 - restored ability to format code with legacy usage of `async` as a name (#20, #42)
1379 - even better handling of numpy-style array indexing (#33, again)
1383 - changed positioning of binary operators to occur at beginning of lines instead of at
1385 [a recent change to PEP 8](https://github.com/python/peps/commit/c59c4376ad233a62ca4b3a6060c81368bd21e85b)
1388 - ignore empty bracket pairs while splitting. This avoids very weirdly looking
1389 formattings (#34, #35)
1391 - remove a trailing comma if there is a single argument to a call
1393 - if top level functions were separated by a comment, don't put four empty lines after
1396 - fixed unstable formatting of newlines with imports
1398 - fixed unintentional folding of post scriptum standalone comments into last statement
1399 if it was a simple statement (#18, #28)
1401 - fixed missing space in numpy-style array indexing (#33)
1403 - fixed spurious space after star-based unary expressions (#31)
1409 - only put trailing commas in function signatures and calls if it's safe to do so. If
1410 the file is Python 3.6+ it's always safe, otherwise only safe if there are no `*args`
1411 or `**kwargs` used in the signature or call. (#8)
1413 - fixed invalid spacing of dots in relative imports (#6, #13)
1415 - fixed invalid splitting after comma on unpacked variables in for-loops (#23)
1417 - fixed spurious space in parenthesized set expressions (#7)
1419 - fixed spurious space after opening parentheses and in default arguments (#14, #17)
1421 - fixed spurious space after unary operators when the operand was a complex expression
1426 - first published version, Happy 🍰 Day 2018!
1430 - date-versioned (see: https://calver.org/)
1434 Glued together by [Łukasz Langa](mailto:lukasz@langa.pl).
1436 Maintained with [Carol Willing](mailto:carolcode@willingconsulting.com),
1437 [Carl Meyer](mailto:carl@oddbird.net),
1438 [Jelle Zijlstra](mailto:jelle.zijlstra@gmail.com),
1439 [Mika Naylor](mailto:mail@autophagy.io), and
1440 [Zsolt Dollenstein](mailto:zsol.zsol@gmail.com).
1442 Multiple contributions by:
1444 - [Abdur-Rahmaan Janhangeer](mailto:cryptolabour@gmail.com)
1445 - [Adam Johnson](mailto:me@adamj.eu)
1446 - [Alexander Huynh](mailto:github@grande.coffee)
1447 - [Andrew Thorp](mailto:andrew.thorp.dev@gmail.com)
1448 - [Andrey](mailto:dyuuus@yandex.ru)
1449 - [Andy Freeland](mailto:andy@andyfreeland.net)
1450 - [Anthony Sottile](mailto:asottile@umich.edu)
1451 - [Arjaan Buijk](mailto:arjaan.buijk@gmail.com)
1452 - [Artem Malyshev](mailto:proofit404@gmail.com)
1453 - [Asger Hautop Drewsen](mailto:asgerdrewsen@gmail.com)
1454 - [Augie Fackler](mailto:raf@durin42.com)
1455 - [Aviskar KC](mailto:aviskarkc10@gmail.com)
1456 - [Benjamin Woodruff](mailto:github@benjam.info)
1457 - [Brandt Bucher](mailto:brandtbucher@gmail.com)
1459 - [Christian Heimes](mailto:christian@python.org)
1460 - [Chuck Wooters](mailto:chuck.wooters@microsoft.com)
1461 - [Daniel Hahler](mailto:github@thequod.de)
1462 - [Daniel M. Capella](mailto:polycitizen@gmail.com)
1465 - [Eli Treuherz](mailto:eli@treuherz.com)
1466 - [Florent Thiery](mailto:fthiery@gmail.com)
1469 - [Ivan Katanić](mailto:ivan.katanic@gmail.com)
1470 - [Jason Fried](mailto:me@jasonfried.info)
1471 - [jgirardet](mailto:ijkl@netc.fr)
1472 - [Joe Antonakakis](mailto:jma353@cornell.edu)
1473 - [Jon Dufresne](mailto:jon.dufresne@gmail.com)
1474 - [Jonas Obrist](mailto:ojiidotch@gmail.com)
1475 - [Josh Bode](mailto:joshbode@fastmail.com)
1476 - [Juan Luis Cano Rodríguez](mailto:hello@juanlu.space)
1477 - [Katie McLaughlin](mailto:katie@glasnt.com)
1479 - [Linus Groh](mailto:mail@linusgroh.de)
1480 - [Luka Sterbic](mailto:luka.sterbic@gmail.com)
1482 - [Matt VanEseltine](mailto:vaneseltine@gmail.com)
1483 - [Michael Flaxman](mailto:michael.flaxman@gmail.com)
1484 - [Michael J. Sullivan](mailto:sully@msully.net)
1485 - [Michael McClimon](mailto:michael@mcclimon.org)
1486 - [Miguel Gaiowski](mailto:miggaiowski@gmail.com)
1487 - [Mike](mailto:roshi@fedoraproject.org)
1488 - [Min ho Kim](mailto:minho42@gmail.com)
1489 - [Miroslav Shubernetskiy](mailto:miroslav@miki725.com)
1490 - [Neraste](mailto:neraste.herr10@gmail.com)
1491 - [Ofek Lev](mailto:ofekmeister@gmail.com)
1492 - [Osaetin Daniel](mailto:osaetindaniel@gmail.com)
1493 - [Pablo Galindo](mailto:Pablogsal@gmail.com)
1494 - [Peter Bengtsson](mailto:mail@peterbe.com)
1496 - [Rishikesh Jha](mailto:rishijha424@gmail.com)
1497 - [Stavros Korokithakis](mailto:hi@stavros.io)
1498 - [Stephen Rosen](mailto:sirosen@globus.org)
1499 - [Sunil Kapil](mailto:snlkapil@gmail.com)
1500 - [Thom Lu](mailto:thomas.c.lu@gmail.com)
1501 - [Tom Christie](mailto:tom@tomchristie.com)
1502 - [Tzu-ping Chung](mailto:uranusjr@gmail.com)
1503 - [Utsav Shah](mailto:ukshah2@illinois.edu)
1505 - [Vishwas B Sharma](mailto:sharma.vishwas88@gmail.com)
1506 - [Yngve Høiseth](mailto:yngve@hoiseth.net)
1507 - [Yurii Karabas](mailto:1998uriyyo@gmail.com)