Skip to content

Commit 083aefc

Browse files
committed
build: ts 0.23
1 parent 294f9af commit 083aefc

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,15 @@ python-import ~
191191
- ERROR python-import cli (0.1.0+41.g9513418.dirty) and nvim plugin version (0.1.0+42.g9f74e1d.dirty) mismatch.
192192
```
193193

194+
## 💻 `python-import` CLI
195+
196+
The `python-import` CLI is a simple Python script that counts the number of import statements used in the project.
197+
198+
```
199+
$ python-import count /path/to/project np
200+
00004: import numpy as np
201+
```
202+
194203
## TODO
195204
- [ ] Search class/function/variable definitions from project
196205
- [ ] Add more tests

deps/requirements.in

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
typer>=0.12.4
2-
tree-sitter>=0.22.0
3-
tree-sitter-python; sys_platform != "darwin" or platform_machine != 'arm64'
4-
tree-sitter-python @ https://github.com/kiyoon/tree-sitter-python/releases/download/temp/tree_sitter_python-0.21.0-cp38-abi3-macosx_11_0_arm64.whl ; sys_platform == "darwin" and platform_machine == 'arm64'
2+
tree-sitter>=0.23.0
3+
tree-sitter-python>=0.23.0

0 commit comments

Comments
 (0)