From afd7ad81041315fb916c88c76fa71bf2fe091eb9 Mon Sep 17 00:00:00 2001 From: geegor Date: Fri, 20 Feb 2026 20:27:53 -0600 Subject: [PATCH] Fri Feb 20 08:27:53 PM CST 2026 --- .gitignore | 10 ++++++++++ .python-version | 1 + README.md | 0 justfile | 13 +++++++++++++ main.py | 6 ++++++ pyproject.toml | 7 +++++++ 6 files changed, 37 insertions(+) create mode 100644 .gitignore create mode 100644 .python-version create mode 100644 README.md create mode 100644 justfile create mode 100644 main.py create mode 100644 pyproject.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..505a3b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +# Python-generated files +__pycache__/ +*.py[oc] +build/ +dist/ +wheels/ +*.egg-info + +# Virtual environments +.venv diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..e4fba21 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.12 diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/justfile b/justfile new file mode 100644 index 0000000..6ecea03 --- /dev/null +++ b/justfile @@ -0,0 +1,13 @@ +default: gitCommit + +rootTest := if shell("id -u") == "0" {error("Cannot run as root")} else {""} + +gitCommit: + {{rootTest}} + git -P diff -U0 + # date_msg:=$(date) + git add . + if ! git diff-index --quiet HEAD; then git commit -m "{{shell("date")}}" ; fi + +uvrun: gitCommit + uv run main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..138d199 --- /dev/null +++ b/main.py @@ -0,0 +1,6 @@ +def main(): + print("Hello from sdr-test!") + + +if __name__ == "__main__": + main() diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..62f0532 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,7 @@ +[project] +name = "sdr-test" +version = "0.1.0" +description = "Add your description here" +readme = "README.md" +requires-python = ">=3.12" +dependencies = []