From 2198b468155daed2adcda941c21ce500e96111cf Mon Sep 17 00:00:00 2001 From: Aaron Saikovski Date: Fri, 3 Jan 2025 11:26:33 +1100 Subject: [PATCH] fixed --- .dockerignore | 3 +-- LICENSE | 2 +- Taskfile.yml | 27 ++++++++++++--------------- src/pystarter/app.py | 2 +- 4 files changed, 15 insertions(+), 19 deletions(-) diff --git a/.dockerignore b/.dockerignore index 0b1e1e7..bab73ac 100644 --- a/.dockerignore +++ b/.dockerignore @@ -23,5 +23,4 @@ **/obj **/secrets.dev.yaml **/values.dev.yaml -LICENSE -README.md + diff --git a/LICENSE b/LICENSE index 1f9f824..565e5e5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Aaron Saikovski +Copyright (c) 2025 Aaron Saikovski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Taskfile.yml b/Taskfile.yml index 2793cdb..1fc9afa 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -1,6 +1,6 @@ # MIT License -# # Copyright (c) 2024 Aaron Saikovski +# Copyright (c) 2025 Aaron Saikovski # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -27,7 +27,7 @@ version: "3" #ENV VARS env: PROJECT_NAME: "pystarter" - + PYTHON_VERSION: "3.13" #">=3.13,<3.13" ############################################################################### @@ -43,7 +43,7 @@ tasks: create: desc: "Inits the python project using UV and creates and activates a new virtual environment." cmds: - - uv init + - uv init --author-from auto --no-readme --color auto --python $PYTHON_VERSION - uv venv - task deps - task activate @@ -82,15 +82,13 @@ tasks: clean: desc: "Cleans the environment, Overwrites the pyproject.toml file" cmds: - - cmd /c "rmdir /s /q .venv || exit 0" - - cmd /c "rmdir /s /q dist || exit 0" - - cmd /c "rmdir /s /q .ruff_cache || exit 0" - - cmd /c "rmdir /s /q .pytest_cache || exit 0" - - cmd /c "del /q .python-version || exit 0" - - cmd /c "del /q uv.lock || exit 0" - - cmd /c "del /q pyproject.toml || exit 0" - - + - cmd /c "rmdir /s /q .venv || exit 0" + - cmd /c "rmdir /s /q dist || exit 0" + - cmd /c "rmdir /s /q .ruff_cache || exit 0" + - cmd /c "rmdir /s /q .pytest_cache || exit 0" + - cmd /c "del /q .python-version || exit 0" + - cmd /c "del /q uv.lock || exit 0" + - cmd /c "del /q pyproject.toml || exit 0" ############################################################################# @@ -120,8 +118,7 @@ tasks: - uv tool run isort . #- uv tool run black . - uv tool run ruff check . --fix - - uv tool run mypy --check-untyped-defs . - + - uv tool run mypy --check-untyped-defs . ########################################################################### @@ -158,4 +155,4 @@ tasks: cmds: - docker run $PROJECT_NAME:latest - ############################################################################### \ No newline at end of file + ############################################################################### diff --git a/src/pystarter/app.py b/src/pystarter/app.py index f7b1819..46b571a 100644 --- a/src/pystarter/app.py +++ b/src/pystarter/app.py @@ -2,7 +2,7 @@ # MIT License -# # Copyright (c) 2024 Aaron Saikovski +# Copyright (c) 2025 Aaron Saikovski # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal