Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
chaseastewart committed Aug 16, 2024
1 parent 5c17eec commit 9ee1e2b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY : env update-lock install cov init update
.PHONY : env update-lock install test cov type-check linting-check init update build
.DEFAULT_GOAL := init

env :
Expand All @@ -10,8 +10,19 @@ update-lock :
install :
poetry install --no-interaction

test :
poetry run pytest

cov :
poetry run pytest --cov=fhir_converter --cov-report=html

type-check :
poetry run mypy fhir_converter

linting-check :
poetry run flake8 fhir_converter --count --select=E9,F63,F7,F82 --show-source --statistics
poetry run flake8 fhir_converter --count --ignore=E203,E721 --exit-zero --max-complexity=10 --max-line-length=120 --statistics

init: env install
update : update-lock install
update : update-lock install
build : linting-check type-check cov
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,15 @@ frozendict = "2.3.10"
importlib_resources = "6.1.1"
psutil = "5.9.7"
isodate = "0.6.1"
lxml = "5.3.0"

[tool.poetry.group.dev.dependencies]
pytest = "7.4.4"
pytest-mock = "3.12.0"
pytest-cov = "4.1.0"
types-xmltodict = "0.13.0.3"
types-psutil = "5.9.5.17"
types-lxml = "2024.8.7"
flake8 = "7.0.0"
mypy = "1.8.0"
smokeshow = "0.4.0"
Expand Down

0 comments on commit 9ee1e2b

Please sign in to comment.