Skip to content

Commit eee4c6a

Browse files
authored
Flesh out formatting tests
1 parent 961c753 commit eee4c6a

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/test_plan.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,16 +155,22 @@ Please also test for general accuracy on the most "interesting" code you can fin
155155
Sample file:
156156
```python
157157
# There should be _some_ change after running `Format Document`.
158+
import os,sys;
158159
def foo():pass
159160
```
160161

161162
- [ ] Prompted to install a formatter if none installed and `Format Document` is run
162163
- [ ] Installing `autopep8` works
163164
- [ ] Installing `black` works
164165
- [ ] Installing `yapf` works
165-
- [ ] autopep8 works
166-
- [ ] black works
167-
- [ ] yapf works
166+
- [ ] Formatters work with default settings (i.e. `"python.formatting.provider"` is specified but not matching `*Path`or `*Args` settings)
167+
- [ ] autopep8
168+
- [ ] black
169+
- [ ] yapf
170+
- [ ] Formatters work when appropriate `*Path` and `*Args` settings are specified (use absolute paths; use `~` if possible)
171+
- [ ] autopep8
172+
- [ ] black
173+
- [ ] yapf
168174
- [ ] `"editor.formatOnType": true` works and has expected results
169175

170176
#### [Refactoring](https://code.visualstudio.com/docs/python/editing#_refactoring)

0 commit comments

Comments
 (0)