forked from jgirardet/sublack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.txt
143 lines (126 loc) · 4.06 KB
/
install.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
_____ __ __ ____ _ ____ __ __ _
/ ___/| T T| \ | T / T / ]| l/ ]
( \_ | | || o )| | Y o | / / | ' /
\__ T| | || T| l___ | |/ / | \
/ \ || : || O || T| _ / \_ | Y
\ |l || || || | \ || . |
\___j \__,_jl_____jl_____jl__j__j\____jl__j\_j
Installation
-------------
Install Black. Minimal version : 19.3b
pip install black # Requires python 3.6
and
pip install black[d] # for blackd support
## NEW 2.3.0 needs black 19.3b ######
Changelog
-----------
comming:
fix scroll #52
fix getting good pyproject #57
2.4.0:
Confirmation dialog to `format all` is now by default.
Add folding support
Fix windows popen usage.
2.3.3:
Fix tests
2.3.2:
Fix target version for black and blackd
2.3.1:
Fix target version for black and blackd
2.3.0:
remove skeep numeric normlization
fix a test
add target_version flag
fix black_on_save_fast
2.2.1:
disable black_on_save for excluded file in pyproject
fix pyproject search in parent folder
2.2.0:
use python-toml dependency
add option confirm_format_all
2.1.2:
fix popen/Path issue on OSX #35
fix checker start/load_ressource #34 thanks to martinj peters.
2.1.1:
fix python find for checker start
2.1.0:
add a cache system to bypass black check for already formatted file.
remove include/exclude : useless
add pre-commit support
add get_python3_executable to launch checker fix #35
2.0:
add command Black_format_all to format project
add blackd support
add blackd run/stop from sublime
add checker to auto-stop blackd at sublime exit
add option include/exclude
add option py36
add option black_skip_numeric_underscore_normalization
add logging
pyproject.toml now overrides other settings
refactor code
fix scroll after "black_file"
fix various tests
quick check black_on_save
1.12.0:
code cleanup (Thanks to Herr Kaste)
add visible for blackcommand (Thanks to Herr Kaste)
add ToggleBlackOnSave par view command (thanks to Herr Kaste)
1.11.1:
- fix broken pyproject
1.11.0:
- add pyproject support
- add "black_autouse_pyproject" option.
- add SublimeLinter-addon-black-for-flake to readme
1.10.0:
- add .pyi support (Thanks to Herr Kaste)
1.9.0:
- Settings rewrite
- add authors section in readme
- add contributing section in readme
1.8.2:
- set syntax diff for black_diff
- fix messages
1.8.0:
- fix on_presave (`#14 <https://github.com/jgirardet/sublack/pull/14>`_, thanks to `Jacobi Petrucciani <https://github.com/jpetrucciani >`_)
- add --skip-string-normalization
1.7.0:
- black minimal version : 18.6.b1
- show black error in statusbar
- fix new_line char on windows
1.6.0:
- Change keymaps from `f` to `b` (like black oO) due to conflict with Anaconda.
- Change installation instruction to use Packagecontrol.
1.5.0:
- All settings are now prefixed with `black_`
- use on_pre_save_async
- and various fix (`#7061 <https://github.com/wbond/package_control_channel/pull/7061>`_, thanks to `Thom1729 <https://github.com/Thom1729 >`_)
1.4.1:
- add tests
- Improve Settings menu entry and add Key Bindings menu entry(`#9 <https://github.com/jgirardet/sublack/pull/9>`_, thanks to `catch22 <https://github.com/catch22>`_)
1.4.0:
- add black_diff command
- add black_diff keymap
- add fast setting
- refactor code
- do nothing if already formated and show "already formated" in statusbar
1.3.4:
- Format sublack with Black (`#8 <https://github.com/jgirardet/sublack/pull/8>`_, thanks to `mschneiderwind <https://github.com/mschneiderwind>`_)
1.3.3:
- Fix encoding if not given by SublimeText.
1.3.2:
- BugFix : Click library Bug with locale under OSX
1.3.1:
- update README
1.3.0:
- use '-' argument to format inline document wihout saving it
- consequently post-save became pre-save
- line_length typo in settings
- add log
1.2.0:
- add error handling (thanks to `nicokist <https://github.com/nicokist>`_)
1.1.0:
- add line_length option
1.0.0:
- make plugin
- add on_save option