From cdc57352409ff58744879e0fecf1c79292decc59 Mon Sep 17 00:00:00 2001 From: Aaro Koivukangas Date: Wed, 14 Jan 2026 18:30:25 +0200 Subject: [PATCH] reverting more previous changes --- .dockerignore | 5 +++-- .gitignore | 6 ++++-- python/.python-version => .python-version | 0 python/Dockerfile => Dockerfile | 0 python/README.md => README.md | 0 python/check.sh => check.sh | 0 python/compiler.sh => compiler.sh | 0 {src => compiler}/main.cpp | 0 python/mypy.ini => mypy.ini | 0 python/poetry.lock => poetry.lock | 0 python/pyproject.toml => pyproject.toml | 0 {python/src => python-src}/compiler/__init__.py | 0 {python/src => python-src}/compiler/__main__.py | 0 python/.dockerignore | 4 ---- python/.gitignore | 3 --- python/test-gadget.py => test-gadget.py | 0 {python/tests => tests}/__init__.py | 0 {python/tests => tests}/dummy_test.py | 0 18 files changed, 7 insertions(+), 11 deletions(-) rename python/.python-version => .python-version (100%) rename python/Dockerfile => Dockerfile (100%) rename python/README.md => README.md (100%) rename python/check.sh => check.sh (100%) rename python/compiler.sh => compiler.sh (100%) rename {src => compiler}/main.cpp (100%) rename python/mypy.ini => mypy.ini (100%) rename python/poetry.lock => poetry.lock (100%) rename python/pyproject.toml => pyproject.toml (100%) rename {python/src => python-src}/compiler/__init__.py (100%) rename {python/src => python-src}/compiler/__main__.py (100%) delete mode 100644 python/.dockerignore delete mode 100644 python/.gitignore rename python/test-gadget.py => test-gadget.py (100%) rename {python/tests => tests}/__init__.py (100%) rename {python/tests => tests}/dummy_test.py (100%) diff --git a/.dockerignore b/.dockerignore index bc645f2..f3b3a09 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,4 @@ -build .test-gadget -python +.*_cache +*.pyc +__pycache__ diff --git a/.gitignore b/.gitignore index 9ebe917..a77d904 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ -.test-gadget -build +*.pyc +__pycache__ +/.mypy_cache +.test-gadget/ diff --git a/python/.python-version b/.python-version similarity index 100% rename from python/.python-version rename to .python-version diff --git a/python/Dockerfile b/Dockerfile similarity index 100% rename from python/Dockerfile rename to Dockerfile diff --git a/python/README.md b/README.md similarity index 100% rename from python/README.md rename to README.md diff --git a/python/check.sh b/check.sh similarity index 100% rename from python/check.sh rename to check.sh diff --git a/python/compiler.sh b/compiler.sh similarity index 100% rename from python/compiler.sh rename to compiler.sh diff --git a/src/main.cpp b/compiler/main.cpp similarity index 100% rename from src/main.cpp rename to compiler/main.cpp diff --git a/python/mypy.ini b/mypy.ini similarity index 100% rename from python/mypy.ini rename to mypy.ini diff --git a/python/poetry.lock b/poetry.lock similarity index 100% rename from python/poetry.lock rename to poetry.lock diff --git a/python/pyproject.toml b/pyproject.toml similarity index 100% rename from python/pyproject.toml rename to pyproject.toml diff --git a/python/src/compiler/__init__.py b/python-src/compiler/__init__.py similarity index 100% rename from python/src/compiler/__init__.py rename to python-src/compiler/__init__.py diff --git a/python/src/compiler/__main__.py b/python-src/compiler/__main__.py similarity index 100% rename from python/src/compiler/__main__.py rename to python-src/compiler/__main__.py diff --git a/python/.dockerignore b/python/.dockerignore deleted file mode 100644 index f3b3a09..0000000 --- a/python/.dockerignore +++ /dev/null @@ -1,4 +0,0 @@ -.test-gadget -.*_cache -*.pyc -__pycache__ diff --git a/python/.gitignore b/python/.gitignore deleted file mode 100644 index 340081b..0000000 --- a/python/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.pyc -__pycache__ -/.mypy_cache diff --git a/python/test-gadget.py b/test-gadget.py similarity index 100% rename from python/test-gadget.py rename to test-gadget.py diff --git a/python/tests/__init__.py b/tests/__init__.py similarity index 100% rename from python/tests/__init__.py rename to tests/__init__.py diff --git a/python/tests/dummy_test.py b/tests/dummy_test.py similarity index 100% rename from python/tests/dummy_test.py rename to tests/dummy_test.py