Skip to content

Commit f912e36

Browse files
committed
Address feedback
1 parent 6f042ae commit f912e36

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

.github/workflows/python.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ jobs:
2323
- name: Lint with ruff
2424
run: |
2525
uv run ruff check .
26-
- name: Check formatting with black
26+
- name: Check formatting with ruff
2727
run: |
28-
uv run black . --check --verbose
28+
uv run ruff format . --check

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repos:
66
- id: end-of-file-fixer
77
- id: trailing-whitespace
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.1.0
9+
rev: v0.14.7
1010
hooks:
1111
# Run the linter.
1212
- id: ruff

infra/core/host/container-registry.bicep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ param name string
22
param location string = resourceGroup().location
33
param tags object = {}
44

5+
// It would be better security-wise if this was false, but that is not yet working with the VNet+azd integration
56
param adminUserEnabled bool = true
67
param anonymousPullEnabled bool = false
78
param dataEndpointEnabled bool = false

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ module containerAppsNSG 'br/public:avm/res/network/network-security-group:0.5.1'
162162
name: '${prefix}-container-apps-nsg'
163163
location: location
164164
tags: tags
165-
securityRules: usePrivateIngress
165+
securityRules: !usePrivateIngress
166166
? [
167167
{
168168
name: 'AllowHttpsInbound'

servers/basic_mcp_stdio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async def add_expense(
5757
if not file_exists:
5858
writer.writerow(["date", "amount", "category", "description", "payment_method"])
5959

60-
writer.writerow([date_iso, amount, category.value, description, payment_method.name])
60+
writer.writerow([date_iso, amount, category.value, description, payment_method.value])
6161

6262
return f"Successfully added expense: ${amount} for {description} on {date_iso}"
6363

0 commit comments

Comments
 (0)