Commit Graph

232 Commits

Author SHA1 Message Date
Jelle Zijlstra
f5b14b1afd
split long del statements into multiple lines (#698)
Fixes #693
2019-02-22 22:00:40 -08:00
programmer04
2ae5ce1e6e Fix example with well formated code (add missing comma) (#720) 2019-02-20 11:11:14 -08:00
sponsfreixes
118b612059 Improve examples to use 88 chars line length (#677) (#714)
The examples were wrapping at less than 88 characters, which is not the
default for black.
2019-02-15 22:18:58 -08:00
Greg Gandenberger
a1fd7b26e7 Add PyCharm setup step (#680) 2019-02-13 17:41:58 -08:00
Zsolt Dollenstein
250ba7f04b Remove numeric underscore normalization (#696) 2019-02-06 19:16:49 -08:00
Jelle Zijlstra
36d3c516d3
Add --target-version option to allow users to choose targeted Python versions (#618) 2019-02-06 18:43:50 -08:00
Jakub Kadlubiec
ae8ea510e3 Properly close the code block in README (#695) 2019-02-06 08:05:40 -08:00
Nathan Goldbaum
9d749280bb show how to exclude individual files in the exclude example (#663)
* show how to exclude individual files in the exclude example

* include comments in the regex
2019-02-05 10:50:59 -08:00
Kenyon Ralph
283a5d53a8 README.md: fix mailto link (#660) 2019-01-05 10:46:07 -08:00
Jim Brännlund
55121195ce Add .eggs to default exclusions (#629) 2018-11-29 14:27:08 -08: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
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
Chuck Wooters
5c2dd96a69 patch main to ensure click_patch() gets called (#572) 2018-10-29 11:10:32 +01:00
Tony Narlock
2cb3c2a050 Typo (#561) 2018-10-29 11:07:50 +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
7145fa325c
Remove whitespace at the beginning of the file
Fixes #399
2018-09-26 12:18:45 -07: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
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
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
6027cca10d Prefer https:// links where available (#485) 2018-08-28 13:00:05 +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
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
8b340e2102
wrap atoms in invisible parens to split adjacent strings (#463) 2018-08-21 21:10:59 -07:00
Jelle Zijlstra
b719d85ccc
autodetect Python 3.6 on the basis of underscores (#461) 2018-08-19 21:02:06 -07:00
Łukasz Langa
0c77c58722 committers += jelle 2018-08-18 14:01:57 -07:00
Łukasz Langa
0bf683a659 PyPI downloads badge 2018-08-17 10:59:32 -07:00
Łukasz Langa
b7e216f554 Update README with missing change log, etc. 2018-08-17 10:13:19 -07:00
David Hotham
3fb4516872 Remove mappings from Vim plugin. (#417)
They clashed with standard mappings.  Simplest just to let users define
their own.

Fixes #415
2018-08-17 16:45:47 +01:00
Benjamin Wohlwend
450983e333 added instructions for PyCharm File Watcher setup (#418)
* added instructions for PyCharm File Watcher setup

With these steps, PyCharm will run black on every file save.

* Update README.md
2018-08-17 16:44:55 +01:00
José Padilla
1e56d02cad Add playground link (#437) 2018-08-17 16:36:57 +01:00
hauntsaninja
9c8caecdd6 Use atom-black plugin for Atom integration (#456) 2018-08-17 16:25:47 +01:00
Zsolt Dollenstein
e94a41f92a Look at actual parenthesis when generating ignored leafs.
Fixes #385
2018-07-22 15:30:02 +01:00
Zsolt Dollenstein
3316dce22d add change log entry 2018-07-02 18:02:13 +01:00
David Szotten
579a8f9344 Suggest BufWritePre instead of BufWritePost for vi (#376)
closes #321
2018-06-23 00:56:05 -07:00
Łukasz Langa
d93e726806 Don't freeze when multiple comments directly precede # fmt: off
Fixes #371
2018-06-21 14:03:01 -07:00
Łukasz Langa
2dfa69bb7f Stop Click from crashing Black on invalid environments
Fixes #277
2018-06-19 22:55:57 -07:00