Ł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
cbf010e0a2
The site is cleaner without the 'Related' cruft.
2018-03-26 00:42:29 -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
fddf5d44d5
Link to ReadTheDocs
2018-03-24 18:03:50 -07:00
Łukasz Langa
8cf6bdb5b7
Compress the logos better
2018-03-24 17:58:47 -07:00
Łukasz Langa
be563a4748
More documentation fixes for ReadTheDocs
2018-03-24 17:54:13 -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
8c565d8684
blib2to3: Never put prefixes on INDENT leaves either
2018-03-23 17:15:47 -07:00
Łukasz Langa
7e1c5b2ba6
Introduce DebugVisitor.show() + tests
2018-03-23 16:08:05 -07:00
Carol Willing
c98a6f134f
add sphinx docs skeleton ( #71 )
2018-03-23 14:27:04 -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
7bd6f3cb2f
Ignore typing error around Node/Leaf
2018-03-22 23:22:46 -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
7914a5b0a2
Mention delimiter_split() in CannotSplit docstring
2018-03-22 17:15:28 -07:00
Łukasz Langa
584d51a042
Mention fix for #59
2018-03-22 17:15:08 -07:00
Łukasz Langa
a970a205bc
Don't remove the single trailing comma from square bracket indexing
...
Fixes #59
2018-03-22 16:33:50 -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
c7c8c4f501
Pin attrs to >=17.4.0 for @dataclass use
...
Fixes #54
2018-03-21 18:01:07 -07:00
Łukasz Langa
79b720ca9f
Mention how stdio handling works
...
Fixes #57
2018-03-21 18:00:32 -07:00
Łukasz Langa
afff418fa1
Extra newlines in code examples
2018-03-21 17:14:29 -07:00
Łukasz Langa
4199f141d4
Twine 1.11.0
2018-03-21 17:06:19 -07:00
Łukasz Langa
1b696555e1
18.3a3
2018-03-20 19:05:51 -07:00
Łukasz Langa
5fa38d4c3b
Fix tests on 3.7
2018-03-20 19:04:49 -07:00
Łukasz Langa
fd3400d44c
Mention joslarson.black-vscode
...
Fixes #45
2018-03-20 18:57:33 -07:00
Łukasz Langa
b1a7600b0a
Treat comments less magically
2018-03-20 18:55:19 -07:00
Łukasz Langa
591bedc2be
Support skipping AST printing on test failure
2018-03-20 18:55:04 -07:00
Łukasz Langa
d1e0d79e38
Don't write back stdin to stdout when --check is passed
2018-03-20 18:54:55 -07:00
Łukasz Langa
5bc40707af
Fix numpy-style array indexing for real
...
Fixes #33
2018-03-20 18:54:33 -07:00
Łukasz Langa
e911c79809
Don't remove single empty lines outside of bracketed expressions
...
Fixes #19
2018-03-20 18:54:19 -07:00
Łukasz Langa
d9c6b99073
Restore ability to format code with legacy usage of async
as a name
...
Fixes #20
Fixes #42
2018-03-20 18:54:01 -07:00
Łukasz Langa
155aa71db0
Update README with stdin information
2018-03-20 18:53:26 -07:00
treuherz
10d8976a79
Add piping from stdin to stdout with a - ( #25 )
...
Being able to format code by piping it through the formatter makes it much easier to integrate with tools like google/vim-codefmt or Chiel92/vim-autoformat.
2018-03-19 11:07:10 -07:00
Łukasz Langa
2fa31ff314
More support for numpy tuple indexing
2018-03-17 02:39:53 -07:00
Łukasz Langa
94f50c1461
Update formatting example
2018-03-17 02:13:11 -07:00
Łukasz Langa
9d78a57187
18.3a2
2018-03-17 01:26:30 -07:00
Łukasz Langa
64aae0e57d
Native README.md support on PyPI \o/
...
See: https://dustingram.com/articles/2018/03/16/markdown-descriptions-on-pypi
2018-03-17 01:26:30 -07:00
Łukasz Langa
0c6672890c
Set a 3.6+ python-tag for the wheel
...
Fixes #37
2018-03-17 01:16:30 -07:00
Łukasz Langa
68c71b621f
Don't fold postscriptum standalone comment into last statement
...
This happened when the last statement was a simple statement.
Fixes #18
Fixes #28
2018-03-17 00:59:28 -07:00
Łukasz Langa
6c3ce53b60
Consolidate empty line handling in EmptyLineTracker
...
Previously, extra newlines left on imports were handled sort of by accident.
Now it's all handled uniformly in one place.
2018-03-17 00:40:21 -07:00
Łukasz Langa
b9c06a0d23
Don't put four empty lines between top-level functions split by a comment
2018-03-16 22:14:43 -07:00
Łukasz Langa
7ad9445caf
Describe fix for #21 in README
2018-03-16 21:55:41 -07:00