Skip to content

Commit ddd2cac

Browse files
committed
Checkpoint
1 parent fab1811 commit ddd2cac

File tree

3 files changed

+43
-10
lines changed

3 files changed

+43
-10
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,7 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi
32-
uv pip install flake8 pytest
33-
34-
- name: Lint with flake8
35-
run: |
36-
# stop the build if there are Python syntax errors or undefined names
37-
uv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
38-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
39-
uv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
32+
uv pip install pytest
4033
4134
- name: Install the package
4235
run: |

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ validate_jsondoc = "jsondoc.bin.validate_jsondoc:main"
2222
convert_jsondoc = "jsondoc.bin.convert_jsondoc:main"
2323

2424
[dependency-groups]
25-
dev = ["datamodel-code-generator>=0.25.9,<0.26"]
25+
dev = [
26+
"datamodel-code-generator>=0.25.9,<0.26",
27+
"pytest>=8.3.5",
28+
]
2629

2730
[tool.hatch.build.targets.sdist]
2831
include = ["jsondoc"]

uv.lock

Lines changed: 38 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)