From 083aefc9767c276117c4970d8765cf564c8a24f0 Mon Sep 17 00:00:00 2001 From: Kiyoon Kim Date: Wed, 28 Aug 2024 10:40:29 +0900 Subject: [PATCH] build: ts 0.23 --- README.md | 9 +++++++++ deps/requirements.in | 5 ++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 386a30e..e2cd50a 100644 --- a/README.md +++ b/README.md @@ -191,6 +191,15 @@ python-import ~ - ERROR python-import cli (0.1.0+41.g9513418.dirty) and nvim plugin version (0.1.0+42.g9f74e1d.dirty) mismatch. ``` +## 💻 `python-import` CLI + +The `python-import` CLI is a simple Python script that counts the number of import statements used in the project. + +``` +$ python-import count /path/to/project np +00004: import numpy as np +``` + ## TODO - [ ] Search class/function/variable definitions from project - [ ] Add more tests diff --git a/deps/requirements.in b/deps/requirements.in index 9964292..8e27d56 100644 --- a/deps/requirements.in +++ b/deps/requirements.in @@ -1,4 +1,3 @@ typer>=0.12.4 -tree-sitter>=0.22.0 -tree-sitter-python; sys_platform != "darwin" or platform_machine != 'arm64' -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' +tree-sitter>=0.23.0 +tree-sitter-python>=0.23.0