Commit Graph

76 Commits

Author SHA1 Message Date
Łukasz Langa
c071af761e Consistent empty lines in Change Log 2018-04-11 23:36:50 -07:00
Łukasz Langa
51635ef68c Advertise Windows support in Vim plugin 2018-04-11 23:29:57 -07:00
Łukasz Langa
19d69b34e5 Fix placement of dictionary unpacking inside dict literals
Fixes #111
2018-04-11 23:22:22 -07:00
Łukasz Langa
9138a75b75 Fix parsing of unaligned standalone comments
Fixes #99
Fixes #112
2018-04-11 23:22:22 -07:00
Łukasz Langa
cb5aadad74 Automatic parentheses management
Fixes #4
2018-04-11 01:36:18 -07:00
Łukasz Langa
e8ba352777 team += zsol 2018-04-09 15:09:45 -07:00
Łukasz Langa
6f6762dba0 Console formatting nits 2018-04-09 15:09:22 -07:00
Steven M. Vascellaro
ecc294741e README: Add instructions for PyCharm (#81)
Instructions to add `black` to "External Tools" in PyCharm.

Adapted from https://kirankoduru.github.io/python/pylint-with-pycharm.html
2018-04-09 12:00:37 -07:00
Mika⠙
00cadd43ee Document that W503 is not compliant with PEP 8 (#114) 2018-04-06 08:02:11 -07:00
Łukasz Langa
60a8333857 team += autophagy 2018-04-05 14:27:27 -07:00
Łukasz Langa
b7f4ace0d1 acks += asottile 2018-04-04 15:11:48 -07:00
Łukasz Langa
f20e1f61f8 Update change log 2018-04-04 15:10:58 -07:00
Anthony Sottile
12a095f038 Update language-version => language_version (#106) 2018-04-04 15:09:34 -07:00
Łukasz Langa
f8e9544c93
Add integration for pre-commit.com (#104)
Fixes #103
2018-04-04 13:19:30 -07:00
Łukasz Langa
0f99987c0a acks += ikatanic 2018-04-04 09:57:12 -07:00
Łukasz Langa
21c32d80b6 Add --quiet
Fixes #78
2018-04-02 23:17:39 -07:00
Łukasz Langa
65c52a655f 18.4a0 2018-04-01 00:30:45 -07:00
Łukasz Langa
a7ff469869 acks += zsol 2018-04-01 00:14:30 -07:00
Łukasz Langa
2f260514f6 Ignore # fmt: off as inline comment
Black cannot currently support this form due to its generator-based nature.
This is mostly a problem for existing `# yapf: disable` usage as trailing
comment.

Fixes #95
2018-04-01 00:08:09 -07:00
Łukasz Langa
fcaaf955be Clarify why Black prefers double quotes 2018-03-31 20:56:29 -07:00
Łukasz Langa
a20a3eeb0f Support --diff for both files and stdin
Fixes #87
2018-03-31 15:46:09 -07:00
Zsolt Dollenstein
a42aef7806 Describe how string literals are handled (#96) 2018-03-31 14:42:48 -07:00
Mika⠙
3455389e48 Lines now break before all delimiters (#94)
The default behaviour is that now all lines break *before* delimiters,
instead of afterwards. The special cases for this are commas and
behaviour around args.

Resolves #73
2018-03-31 11:52:11 -07:00
Łukasz Langa
4dfec562ed Document asyncio fixes 2018-03-31 01:02:05 -07:00
Łukasz Langa
fa159bb357 Mention fix for #22 in changelog 2018-03-29 21:20:50 -07:00
Łukasz Langa
10bb45c35e First stab at the Vim plugin! 2018-03-27 02:31:51 -07:00
Łukasz Langa
e5f8251704 Allow up to two empty lines on module level and single empty lines otherwise
Fixes #74
2018-03-26 22:55:56 -07:00
Łukasz Langa
1f445a01c8 It's obviously not just me, yo. Thanks y'all 🖤 2018-03-26 21:29:49 -07:00
Łukasz Langa
fc869039eb Don't crash and burn on empty lines with trailing whitespace
Fixes #80
2018-03-26 18:41:25 -07:00
Łukasz Langa
611737f9cc Big documentation deduplication
Most is not generated from README.md so we no longer have to remember to update
two Change Logs, and so on!

If we decide to diverge from the README in Sphinx, that's fine, too. We will
just create dedicated documents.
2018-03-26 18:39:02 -07:00
Artem Malyshev
5c6a0dd03f Add Emacs text editor integration to the README. (#79) 2018-03-26 13:41:31 -07:00
Łukasz Langa
4b8823e563 Self-host PyPI-related badges 2018-03-26 02:15:13 -07:00
Łukasz Langa
74f8c1316c Custom MIT license badge 2018-03-26 01:53:29 -07:00
Łukasz Langa
b38a3b94bd Any logo you like 2018-03-26 01:27:15 -07:00
Hugo
70a9e5618a Consistently style the name (#76) 2018-03-26 01:00:31 -07:00
Łukasz Langa
c5fd578279 18.3a4 2018-03-26 00:57:02 -07:00
Łukasz Langa
42519f8b32 Coverage reporting 2018-03-26 00:49:21 -07:00
Łukasz Langa
1f18cd2ba5 ReadTheDocs badge 2018-03-24 18:08:54 -07:00
Łukasz Langa
0095701ff9 Not actually using the Model T logo after all 2018-03-24 18:05:37 -07:00
Łukasz Langa
9e31754284 Documentation fixes for ReadTheDocs 2018-03-24 17:15:48 -07:00
Łukasz Langa
0677a53937 Implement # fmt: off and # fmt: on
Fixes #5
2018-03-23 17:16:08 -07:00
Łukasz Langa
475179a53a Omit extra space in Sphinx auto-attribute comments
This feature of Sphinx is described in:
http://www.sphinx-doc.org/en/stable/ext/autodoc.html#directive-autoattribute

Fixes #68
2018-03-23 08:56:55 -07:00
Łukasz Langa
cf6f577928 Properle space complex expressions in default values of typed arguments
Fixes #60
2018-03-22 23:52:21 -07:00
Łukasz Langa
6316e293ac Automatic detection of deprecated Python 2 forms of print and exec
Note: if those are handled, you can't use --safe because this check is using
Python 3.6+ builtin AST.

Fixes #49
2018-03-22 23:19:23 -07:00
Łukasz Langa
8de552eb4f Only return exit code 1 when --check is used
Also, output less confusing messages in --check.

Fixes #50
2018-03-22 17:33:44 -07:00
Łukasz Langa
584d51a042 Mention fix for #59 2018-03-22 17:15:08 -07:00
Łukasz Langa
c9f8983936 Badges. BADGES. BAAADDDGGGEEESSS!!! 2018-03-21 21:46:37 -07:00
Łukasz Langa
df7aacb43e Omit extra space in kwarg unpacking if it's an argument
Fixes #46
2018-03-21 18:35:25 -07:00
Łukasz Langa
92b377556e Don't omit whitespace when the factor is not a math operator
Fixes #55
2018-03-21 18:34:16 -07:00
Łukasz Langa
79b720ca9f Mention how stdio handling works
Fixes #57
2018-03-21 18:00:32 -07:00