File tree Expand file tree Collapse file tree 4 files changed +17
-12
lines changed
Expand file tree Collapse file tree 4 files changed +17
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {
2+ "recommendations" : [
3+ " ms-python.black-formatter"
4+ ]
5+ }
Original file line number Diff line number Diff line change 33 "files.trimFinalNewlines" : true ,
44 "files.trimTrailingWhitespace" : true ,
55 "files.associations" : {
6- ".pylintrc" : " ini" ,
7- ".style.yapf" : " ini"
6+ ".pylintrc" : " ini"
87 },
98 "python.testing.unittestEnabled" : false ,
109 "python.testing.nosetestsEnabled" : false ,
1110 "python.testing.pytestEnabled" : true ,
1211 "python.linting.pylintUseMinimalCheckers" : false ,
1312 "[python]" : {
14- "editor.rulers" : [
15- 80
16- ],
13+ "editor.rulers" : [80 ],
1714 "editor.tabSize" : 2 ,
15+ "editor.defaultFormatter" : " ms-python.black-formatter" ,
16+ "editor.formatOnSave" : true ,
1817 "editor.detectIndentation" : false
1918 },
20- "python.formatting.provider" : " yapf" ,
19+ "python.formatting.provider" : " none" ,
20+ "black-formatter.path" : [" pyink" ],
2121 "files.watcherExclude" : {
2222 "**/.git/**" : true
2323 },
Original file line number Diff line number Diff line change @@ -38,13 +38,18 @@ dev = [
3838 " pytest" ,
3939 " pytest-xdist" ,
4040 " pylint>=2.6.0" ,
41- " yapf " ,
41+ " pyink " ,
4242 # Lazy deps
4343 " chex" ,
4444 " jax[cpu]" ,
4545 " tf-nightly" ,
4646]
4747
48+ [tool .pyink ]
49+ # Formatting configuration to follow Google style-guide
50+ pyink-indentation = 2
51+ pyink-use-majority-quotes = true
52+
4853[build-system ]
4954requires = [" flit_core >=3.5,<4" ]
5055build-backend = " flit_core.buildapi"
You can’t perform that action at this time.
0 commit comments