Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

defaults:
run:
working-directory: backend
working-directory: backends/fastapi

steps:
- name: Checkout code
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -149,12 +146,11 @@ jobs:
fi
echo ''
echo '<!-- lint-check-comment-marker -->'
} > ../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
2 changes: 1 addition & 1 deletion backends/fastapi/app/core/rate_limit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
ⒸAngelaMos | 2025
ⒸAngelaMos | 2026
rate_limit.py
"""

Expand Down
2 changes: 1 addition & 1 deletion frontends/react-native-ios/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{
"backgroundColor": "#0a0a0a",
"image": "./assets/splash-icon.png",
"resizeMode": "cover"
"imageWidth": 600
}
]
],
Expand Down
2 changes: 1 addition & 1 deletion frontends/react-scss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
Binary file modified frontends/react-scss/public/assets/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontends/react-scss/public/assets/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontends/react-scss/public/assets/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontends/react-scss/public/assets/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontends/react-scss/public/assets/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontends/react-scss/public/assets/favicon.ico
Binary file not shown.
6 changes: 3 additions & 3 deletions stacks/fastapi-react/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
<link
rel="icon"
type="image/x-icon"
href="/assets/favicon.ico"
href="/media/favicon.ico"
/>
<link
rel="apple-touch-icon"
type="image/png"
href="/assets/apple-touch-icon.png"
href="/media/apple-touch-icon.png"
/>
<link
rel="manifest"
href="/assets/site.webmanifest"
href="/media/site.webmanifest"
/>
<meta
name="viewport"
Expand Down
2 changes: 1 addition & 1 deletion stacks/fastapi-react/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
2 changes: 1 addition & 1 deletion stacks/go-react/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down