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
Eli Treuherz
7f3fb65346
Change my email in the README ( #483 )
...
Would prefer my personal email here. I realise it's still in the git log but c'est la vie.
2018-08-28 09:56:55 +01:00
Nikolaus Waxweiler
7613a49197
ISSUE_TEMPLATE.md: Add mention of online formatter ( #481 )
...
People can try out https://black.now.sh/?version=master to test against master. That should make issue reporting easier.
See https://github.com/jpadilla/black-playground/issues/6#issuecomment-416088863 . Thanks @jpadilla!
2018-08-27 10:10:45 +01:00
Zsolt Dollenstein
66a6be642c
fix lint errors
2018-08-26 21:27:33 +01:00
Zsolt Dollenstein
401836d02e
add test case for preserving newlines from stdin
2018-08-26 21:19:22 +01:00
Jelle Zijlstra
a37abdcbc5
change some numeric behavior ( #469 )
2018-08-23 11:55:29 -07:00
Zsolt Dollenstein
c67feaf04f
add changelog entry for #468
2018-08-23 12:55:04 +01:00
Jelle Zijlstra
b53cb94743
fix bracket match bug ( #470 )
...
* fix bracket match bug
* add missing test file
2018-08-23 12:52:07 +01:00
Jelle Zijlstra
8b340e2102
wrap atoms in invisible parens to split adjacent strings ( #463 )
2018-08-21 21:10:59 -07:00
Jelle Zijlstra
d4f0521754
fix misformatting of floats with leading zeros ( #464 )
2018-08-20 08:19:25 -07:00
Zsolt Dollenstein
883689366c
Support parsing of async generators in non-async functions ( #165 )
...
This is a new syntax added in python3.7, so black can't verify that reformatting will not change the ast unless black itself is run with 3.7. We'll need to change the error message black gives in this case. @ambv any ideas?
Fixes #125 .
2018-08-20 14:47:58 +01:00
Jelle Zijlstra
b719d85ccc
autodetect Python 3.6 on the basis of underscores ( #461 )
2018-08-19 21:02:06 -07:00
ceh
66b82ced50
Fix minor typos ( #443 )
2018-08-19 13:10:06 +01:00