-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d76816d
commit 0a4984f
Showing
25 changed files
with
6,009 additions
and
379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.PHONY : env update-lock install test cov type-check linting-check docs publish init update build publish | ||
.DEFAULT_GOAL := init | ||
|
||
PY_VERSION = 3.12 | ||
|
||
env : | ||
poetry env use $(PY_VERSION) | ||
poetry run python --version | ||
|
||
update-lock : | ||
poetry lock --no-update | ||
|
||
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 | ||
|
||
docs : | ||
poetry run lazydocs --output-path="./docs/docstrings" --overview-file="README.md" --src-base-url="https://github.com/chaseastewart/fhir-converter/blob/master/" fhir_converter | ||
poetry run mkdocs build --site-dir ./site | ||
|
||
init: env install | ||
update : update-lock install | ||
build : init linting-check type-check cov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.