diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 539acc3..45292c7 100755 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: defaults: run: - working-directory: backend + working-directory: backends/fastapi steps: - name: Checkout code @@ -30,24 +30,21 @@ jobs: with: python-version: '3.12' - - name: Cache pip dependencies - uses: actions/cache@v4 + - name: Install uv + uses: astral-sh/setup-uv@v5 with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('backend/pyproject.toml') }} - restore-keys: | - ${{ runner.os }}-pip- + enable-cache: true + cache-dependency-glob: "backends/fastapi/pyproject.toml" - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install -e ".[dev]" + uv sync --all-extras - name: Run pylint id: pylint run: | echo "Running pylint..." - if pylint app > pylint-output.txt 2>&1; then + if uv run pylint app > pylint-output.txt 2>&1; then echo "PYLINT_PASSED=true" >> $GITHUB_ENV echo "No pylint errors found!" else @@ -61,7 +58,7 @@ jobs: id: ruff run: | echo "Running ruff check..." - if ruff check app > ruff-output.txt 2>&1; then + if uv run ruff check app > ruff-output.txt 2>&1; then echo "RUFF_PASSED=true" >> $GITHUB_ENV echo "No ruff errors found!" else @@ -76,7 +73,7 @@ jobs: run: | echo "Running mypy..." cd app - if mypy . > ../mypy-output.txt 2>&1; then + if uv run mypy . > ../mypy-output.txt 2>&1; then echo "MYPY_PASSED=true" >> $GITHUB_ENV echo "No mypy errors found" else @@ -149,12 +146,11 @@ jobs: fi echo '' echo '' - } > ../lint-report.md + } > lint-report.md - name: Post PR Comment if: github.event_name == 'pull_request' uses: peter-evans/create-or-update-comment@v4 with: issue-number: ${{ github.event.pull_request.number }} - body-path: lint-report.md - comment-marker: lint-check-comment-marker + body-path: backends/fastapi/lint-report.md diff --git a/backends/fastapi/app/core/rate_limit.py b/backends/fastapi/app/core/rate_limit.py index 34efe55..dabb29c 100644 --- a/backends/fastapi/app/core/rate_limit.py +++ b/backends/fastapi/app/core/rate_limit.py @@ -1,5 +1,5 @@ """ -â’¸AngelaMos | 2025 +â’¸AngelaMos | 2026 rate_limit.py """ diff --git a/frontends/react-native-ios/app.json b/frontends/react-native-ios/app.json index 054e63a..c078827 100644 --- a/frontends/react-native-ios/app.json +++ b/frontends/react-native-ios/app.json @@ -29,7 +29,7 @@ { "backgroundColor": "#0a0a0a", "image": "./assets/splash-icon.png", - "resizeMode": "cover" + "imageWidth": 600 } ] ], diff --git a/frontends/react-scss/package.json b/frontends/react-scss/package.json index ea7b2b6..5fc205a 100644 --- a/frontends/react-scss/package.json +++ b/frontends/react-scss/package.json @@ -10,7 +10,7 @@ "lint": "biome check .", "lint:fix": "biome check --write .", "format": "biome format --write .", - "typecheck": "tsc --noEmit", + "typecheck": "tsc -b", "lint:scss": "stylelint '**/*.scss'", "lint:scss:fix": "stylelint '**/*.scss' --fix" }, diff --git a/frontends/react-scss/public/assets/android-chrome-192x192.png b/frontends/react-scss/public/assets/android-chrome-192x192.png index 01d0a08..6a31898 100644 Binary files a/frontends/react-scss/public/assets/android-chrome-192x192.png and b/frontends/react-scss/public/assets/android-chrome-192x192.png differ diff --git a/frontends/react-scss/public/assets/android-chrome-512x512.png b/frontends/react-scss/public/assets/android-chrome-512x512.png index 3ea8cdf..e79bc03 100644 Binary files a/frontends/react-scss/public/assets/android-chrome-512x512.png and b/frontends/react-scss/public/assets/android-chrome-512x512.png differ diff --git a/frontends/react-scss/public/assets/apple-touch-icon.png b/frontends/react-scss/public/assets/apple-touch-icon.png index ec126db..be0c040 100644 Binary files a/frontends/react-scss/public/assets/apple-touch-icon.png and b/frontends/react-scss/public/assets/apple-touch-icon.png differ diff --git a/frontends/react-scss/public/assets/favicon-16x16.png b/frontends/react-scss/public/assets/favicon-16x16.png index 75b6290..32c2cf9 100644 Binary files a/frontends/react-scss/public/assets/favicon-16x16.png and b/frontends/react-scss/public/assets/favicon-16x16.png differ diff --git a/frontends/react-scss/public/assets/favicon-32x32.png b/frontends/react-scss/public/assets/favicon-32x32.png index 338e90d..87c75f4 100644 Binary files a/frontends/react-scss/public/assets/favicon-32x32.png and b/frontends/react-scss/public/assets/favicon-32x32.png differ diff --git a/frontends/react-scss/public/assets/favicon.ico b/frontends/react-scss/public/assets/favicon.ico index cf61746..6c43eea 100644 Binary files a/frontends/react-scss/public/assets/favicon.ico and b/frontends/react-scss/public/assets/favicon.ico differ diff --git a/stacks/fastapi-react/.pre-commit-config.yaml b/stacks/fastapi-react/.pre-commit-config.example.yaml similarity index 100% rename from stacks/fastapi-react/.pre-commit-config.yaml rename to stacks/fastapi-react/.pre-commit-config.example.yaml diff --git a/stacks/fastapi-react/frontend/index.html b/stacks/fastapi-react/frontend/index.html index 15ea7f8..7f253ff 100644 --- a/stacks/fastapi-react/frontend/index.html +++ b/stacks/fastapi-react/frontend/index.html @@ -9,16 +9,16 @@