Skip to content

Commit 7aaef0b

Browse files
authored
Merge pull request #217 from Cloud-Code-AI/213-update-pr-desc-to-be-returned-as-a-json-rather-than-formatted-text
fix: updated desc parser
2 parents 5c6967b + fc89eff commit 7aaef0b

File tree

4 files changed

+126
-16
lines changed

4 files changed

+126
-16
lines changed

.github/workflows/ pypi-publish-cli.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323

2424
- name: Build and publish
2525
run: |
26+
poetry install --with prod --no-dev
2627
poetry build
2728
poetry publish --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}
2829
working-directory: ./cli

cli/poetry.lock

Lines changed: 117 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/pyproject.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ readme = "README.md"
77

88
[tool.poetry.dependencies]
99
python = "^3.8.1"
10-
kaizen-cloudcode = {path = "..", develop = true}
1110
click = "^8.1.3"
1211

12+
[tool.poetry.group.dev.dependencies]
13+
kaizen-cloudcode = {path = "..", develop = true, optional = true}
14+
15+
[tool.poetry.group.prod.dependencies]
16+
kaizen-cloudcode = "^0.2.5"
17+
1318
[tool.poetry.scripts]
1419
kaizen-cli = "kaizen_cli.cli:cli"
1520

1621
[build-system]
1722
requires = ["poetry-core"]
18-
build-backend = "poetry.core.masonry.api"
23+
build-backend = "poetry.core.masonry.api"

kaizen/helpers/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import json
22
import re
33

4-
EXCLUDED_FILETYPES = ["json", "css", "xml"]
4+
EXCLUDED_FILETYPES = ["json"]
55

66

77
def extract_json(text):

0 commit comments

Comments
 (0)