Skip to content

Commit 26d0958

Browse files
removed: unused deps
1 parent ee78cc2 commit 26d0958

File tree

4 files changed

+17
-81
lines changed

4 files changed

+17
-81
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
2929
- name: Install deps
3030
run: |
31-
uv pip install --system --requirements python_coderunner/pyproject.toml
31+
uv pip install --requirements python_coderunner/pyproject.toml --system --group dev
3232
3333
- name: Run pre-commit
3434
run: |
@@ -53,7 +53,7 @@ jobs:
5353
5454
- name: Install deps
5555
run: |
56-
uv pip install --system --requirements python_coderunner/pyproject.toml
56+
uv pip install --requirements python_coderunner/pyproject.toml --system --group dev
5757
5858
- name: Run tests
5959
run: |

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ https://github.com/user-attachments/assets/63109233-1e5d-4d54-b890-30eb07dab826
3939

4040
## Installation
4141
Install the Vim plugin with your favorite plugin manager, e.g. vim-plug:
42-
```vim
43-
Plug 'ZaharChernenko/vim-code-runner'
42+
```vim
43+
Plug 'ZaharChernenko/vim-code-runner'
4444
```
4545

4646
## Usage
@@ -81,7 +81,7 @@ Hash table with mapping glob patterns into commands, given that the hash table i
8181
let g:coderunner_by_glob = {
8282
\ '**/*.cpp': 'bash -c "cd \"$dir\" && g++ -o cpp_output -std=c++2a *.cpp && ./cpp_output"',
8383
\ '**/*.py': 'bash -c "cd \"$dir\" && python3 \"$fullFileName\""',
84-
\ }
84+
\ }
8585
```
8686
### `g:coderunner_executor`
8787
Any vim command that can execute a string is suitable, default `ter`, default behaviour:
@@ -128,7 +128,7 @@ Example of the work can be viewed in the [tests](https://github.com/ZaharChernen
128128
### Setup environment
129129
```shell
130130
cd python_coderunner
131-
uv sync
131+
uv sync --group dev
132132
source .venv/bin/activate
133133
pre-commit install
134134
```
@@ -254,7 +254,7 @@ class TBasicCommandDispatcherStrategySelector {
254254
+ dispatch_by_file_ext(file_path_abs: str) Optional[ICommandBuilder]
255255
+ dispatch_by_glob(file_path_abs: str) Optional[ICommandBuilder]
256256
+ dispatch_by_shebang(file_path_abs: str) Optional[ICommandBuilder]
257-
+ dispatch(file_path_abs: str) Optional[ICommandBuilder]
257+
+ dispatch(file_path_abs: str) Optional[ICommandBuilder]
258258
}
259259
260260
@@ -326,4 +326,4 @@ class IFileInfoExtractor {
326326
+ get_drive_letter(file_path_abs: str) str
327327
+ get_shebang(file_path_abs: str) Optional[str]
328328
}
329-
```
329+
```

python_coderunner/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
name = "vim-code-runner"
33
version = "0.1.0"
44
requires-python = ">=3.13"
5-
dependencies = [
5+
6+
[dependency-groups]
7+
dev = [
68
"isort>=4.3.21",
79
"mypy>=0.910",
810
"pre-commit>=1.21.0",
911
"pylint>=2.6.2",
1012
"pytest>=6.1.2,<8.0.0",
1113
"pytest-lazy-fixture>=0.6.3",
1214
"pytest-mock>=3.5.1",
13-
"pyyaml>=5.4.1",
14-
"requests>=2.27.1",
1515
"ruff>=0.12.0",
1616
]
1717

python_coderunner/uv.lock

Lines changed: 6 additions & 70 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)