From f43059992a51d897efd7ad2a08600b1c06beb3b7 Mon Sep 17 00:00:00 2001 From: Austin Gregg-Smith Date: Thu, 19 Sep 2024 12:44:38 +0100 Subject: [PATCH] remove obsolete files --- .devcontainer/Dockerfile | 14 -------------- .devcontainer/devcontainer.json | 27 --------------------------- example/example.py | 4 ---- python_template/__init__.py | 0 python_template/basic_class.py | 6 ------ 5 files changed, 51 deletions(-) delete mode 100644 .devcontainer/Dockerfile delete mode 100644 .devcontainer/devcontainer.json delete mode 100644 example/example.py delete mode 100644 python_template/__init__.py delete mode 100644 python_template/basic_class.py diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index 36f3069..0000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -FROM mcr.microsoft.com/devcontainers/python:0-3.10 - -RUN apt-get update && apt install git-lfs - -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_template \ - && python -m flit install --only-deps --deps develop \ - && rm -r pyproject.toml README.md src diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index c0e4e7f..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "python_template", - "build": { - "dockerfile": "Dockerfile", - "context": ".." - }, - // "onCreateCommand": "pre-commit install --hook-type commit-msg", - "postCreateCommand": "flit install --symlink;", - "customizations": { - "vscode": { - "extensions": [ - "ms-python.python", - "ms-python.vscode-pylance", - "ms-python.pylint", - "ms-python.black-formatter", - "njpwerner.autodocstring", - "charliermarsh.ruff", - "mhutchie.git-graph", - "eamodio.gitlens", - "tamasfe.even-better-toml", - "Codium.codium", - "ms-azuretools.vscode-docker", - "ryanluker.vscode-coverage-gutters" - ] - } - }, -} \ No newline at end of file diff --git a/example/example.py b/example/example.py deleted file mode 100644 index 56f6541..0000000 --- a/example/example.py +++ /dev/null @@ -1,4 +0,0 @@ -from python_template.basic_class import BasicClass - -bc = BasicClass() -print(bc.int_var) diff --git a/python_template/__init__.py b/python_template/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/python_template/basic_class.py b/python_template/basic_class.py deleted file mode 100644 index e118a8e..0000000 --- a/python_template/basic_class.py +++ /dev/null @@ -1,6 +0,0 @@ -from dataclasses import dataclass - - -@dataclass -class BasicClass: - int_var: int = 0