Skip to content

Commit ab8f7cd

Browse files
author
Corentin
committed
small rework with news boilerplate
1 parent 350f0f0 commit ab8f7cd

File tree

13 files changed

+1017
-655
lines changed

13 files changed

+1017
-655
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
name: mkdocs
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
permissions:
8+
contents: write
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-python@v4
15+
with:
16+
python-version: 3.x
17+
- run: pip install mkdocs-material
18+
- run: mkdocs gh-deploy --force

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,5 @@ docker/run.sh
177177
*.tar.gz
178178
IMPatienT
179179
!data/images/demo_patient
180-
.idea
180+
.idea
181+
.ruff_cache

.vscode/settings.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,8 @@
99
"[html]": {
1010
"editor.defaultFormatter": "vscode.html-language-features"
1111
},
12-
"python.linting.pylintEnabled": true,
1312
"python.linting.enabled": true,
1413
"python.formatting.provider": "black",
15-
"python.linting.pylintArgs": [
16-
"--load-plugins",
17-
"pylint_flask_sqlalchemy",
18-
"pylint_flask",
19-
"--extension-pkg-whitelist=cv2"
20-
],
2114
"python.testing.pytestArgs": ["tests"],
2215
"python.testing.unittestEnabled": false,
2316
"python.testing.pytestEnabled": true,

Makefile

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
black:
2+
black app
3+
black tests
4+
5+
black-diff:
6+
black app --diff
7+
black tests --diff
8+
9+
build:
10+
poetry build
11+
12+
install:
13+
poetry install
14+
pre-commit install
15+
16+
mkserve:
17+
mkdocs serve
18+
19+
mypy:
20+
mypy app/ --ignore-missing-imports
21+
22+
pre-commit: black mypy ruff test
23+
24+
publish:
25+
poetry publish
26+
27+
publish-release: pre-commit build publish
28+
29+
ruff:
30+
ruff app tests
31+
32+
test:
33+
pytest tests
34+
35+
_update:
36+
poetry update
37+
38+
update-all: _update publish-release
39+
40+
update-all-diff:
41+
poetry update --dry-run | grep -i updat
42+

docs/api/impatient.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# IMPatienT

docs/examples/example.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# IMPatienT

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# IMPatienT

docs/quickstart/advanced.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# IMPatienT

docs/quickstart/faq.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# IMPatienT

docs/quickstart/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# IMPatienT

0 commit comments

Comments
 (0)