Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronSaikovski committed Jan 3, 2025
1 parent 64f67f8 commit 2198b46
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 19 deletions.
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
LICENSE
README.md

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
27 changes: 12 additions & 15 deletions Taskfile.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -27,7 +27,7 @@ version: "3"
#ENV VARS
env:
PROJECT_NAME: "pystarter"

PYTHON_VERSION: "3.13" #">=3.13,<3.13"

###############################################################################

Expand All @@ -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
Expand Down Expand Up @@ -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"

#############################################################################

Expand Down Expand Up @@ -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 .

###########################################################################

Expand Down Expand Up @@ -158,4 +155,4 @@ tasks:
cmds:
- docker run $PROJECT_NAME:latest

###############################################################################
###############################################################################
2 changes: 1 addition & 1 deletion src/pystarter/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2198b46

Please sign in to comment.