From 7c175c87bd5fc270043a91f6d8ad7c4c4dad2c82 Mon Sep 17 00:00:00 2001 From: Daniel Heras Quesada Date: Mon, 24 Aug 2026 22:29:50 +0200 Subject: [PATCH] first commit --- Makefile | 21 ++++++++++++++++++ README.md | 0 requirements.txt | 1 + src/calendar/day_1.py | 2 ++ .../test_day_1.cpython-314-pytest-9.1.1.pyc | Bin 0 -> 1415 bytes src/calendar/tests/test_day_1.py | 5 +++++ src/main.py | 10 +++++++++ 7 files changed, 39 insertions(+) create mode 100644 Makefile create mode 100644 README.md create mode 100644 requirements.txt create mode 100644 src/calendar/day_1.py create mode 100644 src/calendar/tests/__pycache__/test_day_1.cpython-314-pytest-9.1.1.pyc create mode 100644 src/calendar/tests/test_day_1.py create mode 100644 src/main.py diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1800445 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +DATE := $(shell date +%_d) + +install: + echo "Installing dependencies" + pip install --upgrade pip + pip install -r requirements.txt + +save: + pip freeze > requirements.txt + +run: + python src/main.py $(DAY) + +today: + python src/main.py $(DATE) + +test: + python -m pytest -v + +setup: + python -m venv venv diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..9af19a6 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +ruff==0.16.4 diff --git a/src/calendar/day_1.py b/src/calendar/day_1.py new file mode 100644 index 0000000..56fc26e --- /dev/null +++ b/src/calendar/day_1.py @@ -0,0 +1,2 @@ +def run(): + print("Test") diff --git a/src/calendar/tests/__pycache__/test_day_1.cpython-314-pytest-9.1.1.pyc b/src/calendar/tests/__pycache__/test_day_1.cpython-314-pytest-9.1.1.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7e7c2ba52d842856e9a286e8d7b406c70c9e845e GIT binary patch literal 1415 zcmah|TTc@~6rS1MTd1H9c)?IYjBJ!Hv_&9T(QpYSO30ej7s6!eE>N@GU1qjwF(f4V zP@@U2{00Aww_?`nuKpA^GnQ+N1Wy)kJT)v;R?GTL`jI5{jA2ALEYSqai=*a zGXc)6$@s5SF3Wg-MZhJQrC$X`uIw=jAp}MMP0B1!h-p}aqz}gB^g*udb7y2Gr+6ZW z@$`MC=^D%>8s&qes+lIChC{1%-O;GQ`yfoV8a30cS&YX`8yJjVCT!Pkn7T(LJEpy* znZ(lS22T;DZ5yHj&pz;4soB;tr8ec4$hJ-EnoEqAj;UFi3lTX%V`3s1v5nvQRJT*? zcJ6dL)4t=Eob}J?J5!S^0X1{};*XSFyKX4@o>kM8CA-?F8R9u{r_9LrXz+Z2;6mGL8?EWK`5732_f1st17ACNU><92dba`m zQ#cZmlROz-9nAv3uMq#T^Zuye0`k;&L2E8tTpQwv0HfmP