Utsav Shah
024c9cab55
Add support for special comments in multiline functions ( #642 )
2019-01-05 11:20:12 -08:00
Kenyon Ralph
283a5d53a8
README.md: fix mailto link ( #660 )
2019-01-05 10:46:07 -08:00
Tsuyoshi Hombashi
3b72ed0d48
Improve an error message when failed to load pyproject.toml ( #653 )
2018-12-31 05:03:31 -08:00
Peter Stensmyr
fe24a15b84
Fix multiprocessing support for Windows binary ( #632 )
...
* Fix multiprocessing support for Windows binary
The black and blackd binaries generated for Windows builds would fail on
reformatting multiple files due to a Windows-specific
multiprocessing issue. Fix by calling freeze_support() as
described in Python docs.
2018-12-14 15:01:50 +00:00
Tushar Chandra
0b40a7badf
Add CORS support to blackd ( #627 )
...
See issue #622 . Use aiohttp-cors to allow cross-origin requests to blackd,
and add a dependency on it to the pipfile.
2018-12-10 08:15:57 +00:00
Jim Brännlund
55121195ce
Add .eggs to default exclusions ( #629 )
2018-11-29 14:27:08 -08:00
Jim Brännlund
4809e365d4
Silence expected stderr ( #621 )
...
* Silence expected stderr output during test
* Change based on PR comment
2018-11-29 21:43:22 +00:00
Scott Stevenson
48022801fb
Reflect renaming of IPython notebook to Jupyter ( #616 )
2018-11-22 22:08:20 -08:00
Timo
fa8be4ed82
Add url to pep 257 in readme ( #615 )
2018-11-22 22:07:08 -08:00
Jelle Zijlstra
8d58827376
Refactor Travis ( #614 )
...
Fixes #305
- Run separate jobs for mypy, self-formatting, flake8, and test runs.
- Don't run flake8 in 3.8 because it is broken (and we can't really expect flake8 to always keep up with 3.8 development).
- Fix unused variable in test
2018-11-20 08:42:43 -08:00
hauntsaninja
e4e59f87a8
Improves performance on large commented logical lines ( #606 )
...
Fixes #509
2018-11-13 15:04:27 -08:00
hauntsaninja
5bc62a4a82
Fix two types to be Optional ( #607 )
2018-11-13 15:02:27 -08:00
Jelle Zijlstra
fbf59b60d7
remove unused variable ( #604 )
2018-11-13 21:23:56 +00:00
Calum Lind
158f796ef3
Update isort config to use_parentheses instead of combine_as_imports ( #547 )
...
The `combine_as_imports=True` modifies isort style as a side-effect and was not the intended purpose of the suggested change in #250 . The problem was that isort was actually replacing the parens with backslash and using `combine_as_imports=True` happened to also produce the same result.
The actual setting should be `use_parentheses` as this tells isort to use parenthesis for line continuation instead of \ for lines over the allotted line length limit and matches precisely what black is outputting.
2018-11-08 11:54:05 +01:00
jgirardet
32eed7d188
set entry to black ( #553 )
2018-10-29 11:17:37 +01:00
Chuck Wooters
5c2dd96a69
patch main to ensure click_patch() gets called ( #572 )
2018-10-29 11:10:32 +01:00
Felix Kohlgrüber
99c97c3d7f
delete unused code ( #588 )
2018-10-29 11:09:06 +01:00
Tony Narlock
2cb3c2a050
Typo ( #561 )
2018-10-29 11:07:50 +01:00
Zsolt Dollenstein
52da1f08da
use blackrelease github user for uploading release artifacts
2018-10-27 17:53:04 +01:00
Hugo
85eeea1283
Link to Bugbear's documentation ( #577 )
2018-10-19 07:58:33 +02:00
jgirardet
44e9cd4a03
Explicit # fmt: on/off indentation level ( #554 )
2018-10-09 13:11:47 -07:00
jgirardet
f1ac6fe109
add --skip-numeric-underscore-normalization in readme ( #537 )
2018-09-27 15:47:51 -07:00
Łukasz Langa
ed9b31b139
Require attrs >= 18.1.0 to work around ctypes failure in Vim
...
Fixes #116 , #539
2018-09-27 07:49:04 -07:00
Łukasz Langa
61feadc0f8
v18.9b0
2018-09-26 13:05:49 -07:00
Cong
913915d1b4
Deploy windows binary ( #422 )
2018-09-26 20:23:16 +01:00
Łukasz Langa
7145fa325c
Remove whitespace at the beginning of the file
...
Fixes #399
2018-09-26 12:18:45 -07:00
Cong
649c3c7a05
Deploy linux binary ( #362 ) ( #410 )
2018-09-26 20:07:35 +01:00
Łukasz Langa
c6c8ef76a4
Fix mangling pweave and Spyder IDE special comments
...
Fixes #532 .
2018-09-26 09:42:42 -07:00
Łukasz Langa
9372dc8510
Make CHANGELOG more accurate
2018-09-26 09:20:52 -07:00
Łukasz Langa
a4b5c085a3
Move should_explode handling to bracket_split_build_line
2018-09-26 08:53:56 -07:00
Łukasz Langa
1610fd6bc5
Add trailing comma for single as
imports, too
2018-09-26 08:26:35 -07:00
Łukasz Langa
0c5c537431
Refactor left_hand_split and right_hand_split to deduplicate line building logic
2018-09-26 07:41:34 -07:00
jgirardet
0171a5e524
add blackd ignore pyproject ( #536 )
2018-09-26 13:47:08 +01:00
Zsolt Dollenstein
25d24a10a4
Add trailing comma when a single import doesn't fit on a line. ( #504 )
...
Fixes #250 .
2018-09-26 13:26:50 +01:00
Zsolt Dollenstein
5f9eb9e4f7
Add underscores to numeric literals with more than six digits ( #529 )
2018-09-26 12:32:11 +01:00
Tim Swast
2d99573b34
Add .nox directories to default exclude ( #525 )
...
[Nox](https://nox.readthedocs.io/ ) is similar to Tox. It creates a .nox directory that contains virtualenv for testing with different Python versions.
2018-09-25 16:25:58 +01:00
Zsolt Dollenstein
bbf38400ce
Uppercase digits in hex literals ( #530 )
2018-09-25 16:01:56 +01:00
Łukasz Langa
cb67a32242
Improve Poetry support
2018-09-18 16:50:20 -07:00
Sébastien Eustace
2f0a1852a9
Update Poetry section in pyproject.toml ( #490 )
2018-09-18 15:27:41 -07:00
Łukasz Langa
41368138bb
Fix documentation build
2018-09-18 12:04:30 -07:00
Łukasz Langa
9db8d4b2d7
Move things around in change log for the latest version to sort in rough notability order
2018-09-17 10:15:16 -07:00
Zsolt Dollenstein
a82f186787
blackd: a HTTP server for blackening ( #460 )
2018-09-17 10:02:25 -07:00
Zsolt Dollenstein
80500748a7
fix unstable formatting when unpacking big tuples ( #514 )
...
* fix unstable formatting when unpacking big tuples
* add changelog entry
2018-09-17 12:03:21 +01:00
mikehoyio
6f5e1277e9
Update atom plugin link to point to the python-black plugin ( #505 )
2018-09-10 10:19:55 +01:00
Zsolt Dollenstein
08f1cdd00b
Make sure async for
is not broken up to separate lines ( #503 )
...
Fixes #372 .
2018-09-08 10:34:08 +01:00
Jon Dufresne
25795c9ff5
Add trove classifier for Python 3.7 support ( #486 )
...
Testing added in 3bdd423891
.
2018-08-28 13:00:57 +01:00
Jon Dufresne
6027cca10d
Prefer https:// links where available ( #485 )
2018-08-28 13:00:05 +01:00
Jon Dufresne
8e90e46204
Add build & dist directories to .gitignore ( #487 )
...
Generated when running the command "python3 setup.py bdist_wheel".
2018-08-28 12:59:00 +01:00
Jon Dufresne
975ca9cefc
Include license file in the generated wheel package ( #484 )
...
The wheel package format supports including the license file. This is
done using the [metadata] section in the setup.cfg file. For additional
information on this feature, see:
https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
Helps project comply with its own license:
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
2018-08-28 12:58:21 +01:00
Jon Dufresne
e069017178
Update pypi.python.org URL to pypi.org ( #488 )
...
For details on the new PyPI, see the blog post:
https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
2018-08-28 12:52:32 +01:00