Skip to content

Commit d2172ac

Browse files
author
longendu
committed
1. add IDX config; 2. adopt ruff
1 parent d7d4ea7 commit d2172ac

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

.idx/dev.nix

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{pkgs, ...}: {
2+
channel = "stable-24.11";
3+
packages = with pkgs; [
4+
neovim
5+
ripgrep
6+
rm-improved
7+
bat
8+
];
9+
env = {};
10+
idx = {
11+
# check extensions on https://open-vsx.org/
12+
extensions = [
13+
"asvetliakov.vscode-neovim"
14+
];
15+
# Enable previews and customize configuration
16+
previews = {};
17+
};
18+
}

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"IDX.aI.enableInlineCompletion": true,
3+
"IDX.aI.enableCodebaseIndexing": true
4+
}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apt-get update -y \
88
python3-all-dev python3-setuptools build-essential python3-wheel python3-apt \
99
#&& pip3 install -U --break-system-packages pip \
1010
&& pip3 install --break-system-packages \
11-
pytype pylint black[jupyter] isort pytest ipython \
11+
pytype ruff pytest ipython \
1212
wajig \
1313
&& ln -svf /usr/bin/python3 /usr/bin/python \
1414
&& ln -svf /usr/bin/pip3 /usr/bin/pip \

0 commit comments

Comments
 (0)