Skip to content

Commit 5fcfc60

Browse files
committed
feature: reimplement
1 parent eb9fac8 commit 5fcfc60

File tree

997 files changed

+283451
-587320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

997 files changed

+283451
-587320
lines changed

.devcontainer/Dockerfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
FROM python:3.11.0-bullseye
2+
3+
RUN apt -y update && apt upgrade -qqy && apt -y install \
4+
curl \
5+
gcc \
6+
git \
7+
fish \
8+
patchelf
9+
10+
ARG USERNAME=dev
11+
ARG USER_UID=1000
12+
ARG USER_GID=$USER_UID
13+
14+
RUN groupadd --gid $USER_GID $USERNAME \
15+
&& useradd --uid $USER_UID --gid $USER_GID -m $USERNAME \
16+
&& apt-get update \
17+
&& apt-get install -y sudo \
18+
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
19+
&& chmod 0440 /etc/sudoers.d/$USERNAME
20+
21+
RUN chsh -s /usr/bin/fish $USERNAME
22+
23+
USER $USERNAME
24+
RUN pip install -U pip && pip install uv

.devcontainer/devcontainer.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "dev",
3+
"dockerFile": "Dockerfile",
4+
"remoteUser": "dev",
5+
"postCreateCommand": "/usr/bin/fish ./.devcontainer/postCreateCommands.fish",
6+
"customizations": {
7+
"vscode": {
8+
"extensions": [
9+
"ms-azuretools.vscode-docker",
10+
"ms-python.python",
11+
"ms-python.vscode-pylance"
12+
],
13+
"settings": {
14+
"python.linting.flake8Enabled": true,
15+
"python.formatting.provider": "black",
16+
"[python]": {
17+
"editor.formatOnSave": true,
18+
"editor.codeActionsOnSave": {
19+
"source.organizeImports": true
20+
}
21+
}
22+
}
23+
}
24+
}
25+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/fish
2+
echo 'set -x PATH $PATH $HOME/.local/bin' >> $HOME/.config/fish/config.fish

.gitattributes

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-or-problem-report.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/custom.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)