Skip to content

Commit acae95e

Browse files
committed
Update project name
1 parent e5f414d commit acae95e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+87
-87
lines changed

.github/workflows/pull_request.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
if: github.actor != 'dependabot[bot]'
1515
runs-on: ubuntu-latest
1616
outputs:
17-
python-archetype-docker-tag: ${{ steps.python-archetype-docker-tag.outputs.python-archetype-docker-tag }}
17+
python-seed-docker-tag: ${{ steps.python-seed-docker-tag.outputs.python-seed-docker-tag }}
1818
env:
1919
COMMON__ENVIRONMENT: Development
2020
steps:
@@ -52,36 +52,36 @@ jobs:
5252
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
5353

5454
- name: Set docker tag
55-
id: python-archetype-docker-tag
56-
run: echo "python-archetype-docker-tag=myregistry/python-archetype:${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
55+
id: python-seed-docker-tag
56+
run: echo "python-seed-docker-tag=myregistry/python-seed:${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
5757

5858
- name: Build and push
5959
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
6060
with:
61-
file: src/python_archetype/api/Dockerfile
62-
tags: ${{ steps.python-archetype-docker-tag.outputs.python-archetype-docker-tag }}
61+
file: src/python_seed/api/Dockerfile
62+
tags: ${{ steps.python-seed-docker-tag.outputs.python-seed-docker-tag }}
6363
push: false
6464

6565
deploy-dev:
6666
needs: continuous-integration
6767
uses: ./.github/workflows/_deploy.yaml
6868
with:
6969
environment: dev
70-
docker_tag: ${{ needs.continuous-integration.outputs.python-archetype-docker-tag }}
70+
docker_tag: ${{ needs.continuous-integration.outputs.python-seed-docker-tag }}
7171
secrets: inherit
7272

7373
deploy-stg:
7474
needs: [continuous-integration, deploy-dev]
7575
uses: ./.github/workflows/_deploy.yaml
7676
with:
7777
environment: stg
78-
docker_tag: ${{ needs.continuous-integration.outputs.python-archetype-docker-tag }}
78+
docker_tag: ${{ needs.continuous-integration.outputs.python-seed-docker-tag }}
7979
secrets: inherit
8080

8181
deploy-pro:
8282
needs: [continuous-integration, deploy-stg]
8383
uses: ./.github/workflows/_deploy.yaml
8484
with:
8585
environment: pro
86-
docker_tag: ${{ needs.continuous-integration.outputs.python-archetype-docker-tag }}
86+
docker_tag: ${{ needs.continuous-integration.outputs.python-seed-docker-tag }}
8787
secrets: inherit

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"module": "fastapi",
99
"args": [
1010
"dev",
11-
"src/python_archetype/api/main.py"
11+
"src/python_seed/api/main.py"
1212
],
1313
"console": "integratedTerminal",
1414
"justMyCode": false,

README.md

Lines changed: 1 addition & 1 deletion

notebooks/notebook.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"source": [
99
"from decimal import Decimal\n",
1010
"\n",
11-
"from python_archetype.domain.entities.product import Product\n",
11+
"from python_seed.domain.entities.product import Product\n",
1212
"\n",
1313
"Product(name=\"Sample Product\", price=Decimal(\"9.99\"), is_discontinued=False)"
1414
]

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "python-archetype"
2+
name = "python-seed"
33
version = "0.1.0"
44
requires-python = ">=3.12"
55
dependencies = [
@@ -59,5 +59,5 @@ markers = ["unit: Unit tests", "integration: Integration tests"]
5959

6060
[tool.poe.tasks]
6161
check-code.shell = "ruff check && ruff format --diff && pyright"
62-
start-api-dev = "fastapi dev src/python_archetype/api/main.py"
63-
start-api-pro.shell = "workers=$(nproc) && fastapi run --workers $workers src/python_archetype/api/main.py"
62+
start-api-dev = "fastapi dev src/python_seed/api/main.py"
63+
start-api-pro.shell = "workers=$(nproc) && fastapi run --workers $workers src/python_seed/api/main.py"

scripts/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from decimal import Decimal
22

3-
from python_archetype.domain.entities.product import Product
3+
from python_seed.domain.entities.product import Product
44

55

66
def main() -> None:

0 commit comments

Comments
 (0)