From 870e2e60f2a740876a493508a84a0801039c6b62 Mon Sep 17 00:00:00 2001 From: Luis Martinez Date: Thu, 2 Oct 2025 17:01:51 -0500 Subject: [PATCH 1/2] Fix PEP8 --- src/platzi_news/core/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/platzi_news/core/models.py b/src/platzi_news/core/models.py index e1b2b8a..712557e 100644 --- a/src/platzi_news/core/models.py +++ b/src/platzi_news/core/models.py @@ -10,5 +10,3 @@ class Article: title: str description: str url: str - - """lorem ipsum lorem ipsumlorem ipsumlorem ipsumlorem ipsumlorem ipsumlorem ipsumlorem ipsumlorem ipsumlorem ipsum""" From 030c665530c40b81404622ba24eecc1d8c7fe252 Mon Sep 17 00:00:00 2001 From: Luis Martinez Date: Thu, 2 Oct 2025 17:17:59 -0500 Subject: [PATCH 2/2] Agregar env en pytest --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4c06bb7..48c8503 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ on: branches: [ main, develop ] pull_request: branches: [ main ] - + jobs: uv: name: python @@ -27,4 +27,8 @@ jobs: run: uv run mypy src - name: pytest + env: + GUARDIAN_API_KEY: "this-is-not-a-api-key" + NEWSAPI_API_KEY: "this-is-not-a-api-key" + OPENAI_API_KEY: "this-is-not-a-api-key" run: uv run pytest -n auto