mirror of
https://github.com/Paillat-dev/pycord-reactive-views.git
synced 2026-01-02 01:06:18 +00:00
Initial commit
This commit is contained in:
12
.devcontainer/Dockerfile
Normal file
12
.devcontainer/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM mcr.microsoft.com/devcontainers/python:3
|
||||
|
||||
RUN python -m pip install --upgrade pip \
|
||||
&& python -m pip install 'flit>=3.8.0'
|
||||
|
||||
ENV FLIT_ROOT_INSTALL=1
|
||||
|
||||
COPY pyproject.toml .
|
||||
RUN touch README.md \
|
||||
&& mkdir -p src/python_package \
|
||||
&& python -m flit install --only-deps --deps develop \
|
||||
&& rm -r pyproject.toml README.md src
|
||||
44
.devcontainer/devcontainer.json
Normal file
44
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,44 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
||||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.222.0/containers/python-3-miniconda
|
||||
{
|
||||
"name": "Python Environment",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"context": ".."
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"editorconfig.editorconfig",
|
||||
"github.vscode-pull-request-github",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"ms-python.python",
|
||||
"ms-python.vscode-pylance",
|
||||
"ms-python.pylint",
|
||||
"ms-python.isort",
|
||||
"ms-python.flake8",
|
||||
"ms-python.black-formatter",
|
||||
"ms-vsliveshare.vsliveshare",
|
||||
"ryanluker.vscode-coverage-gutters",
|
||||
"bungcip.better-toml",
|
||||
"GitHub.copilot"
|
||||
],
|
||||
"settings": {
|
||||
"python.defaultInterpreterPath": "/usr/local/bin/python",
|
||||
"black-formatter.path": [
|
||||
"/usr/local/py-utils/bin/black"
|
||||
],
|
||||
"pylint.path": [
|
||||
"/usr/local/py-utils/bin/pylint"
|
||||
],
|
||||
"flake8.path": [
|
||||
"/usr/local/py-utils/bin/flake8"
|
||||
],
|
||||
"isort.path": [
|
||||
"/usr/local/py-utils/bin/isort"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"onCreateCommand": "pre-commit install-hooks"
|
||||
}
|
||||
Reference in New Issue
Block a user