Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Build the site with RenderEngine
working-directory: site
run: python __init__.py
run: render-engine build __init__:site

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:

- name: Build the site with RenderEngine
working-directory: site
run: python __init__.py
run: render-engine build __init__:site
19 changes: 13 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3.10

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -11,33 +14,35 @@ repos:
files: requirements.*.in

- repo: https://github.com/psf/black
rev: 22.10.0
rev: 23.1.0
hooks:
- id: black
name: Format Python
language_version: python3.10

- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
name: Format Python imports
args:
- --profile=black

- repo: https://github.com/jazzband/pip-tools
rev: 6.9.0
rev: 6.12.3
hooks:
- id: pip-compile
name: Compile site requirements
files: requirements.(in|txt)
args:
- --resolver=backtracking

- id: pip-compile
name: Compile automation requirements
files: requirements.*.(in|txt)
args:
- requirements-automate.in
- --output-file=requirements-automate.txt
- --resolver=backtracking

- id: pip-compile
alias: pip-compile-upgrade
Expand All @@ -46,6 +51,7 @@ repos:
stages: [manual]
args:
- --upgrade
- --resolver=backtracking

- id: pip-compile
alias: pip-compile-upgrade
Expand All @@ -56,9 +62,10 @@ repos:
- requirements-automate.in
- --upgrade
- --output-file=requirements-automate.txt
- --resolver=backtracking

- repo: https://github.com/Riverside-Healthcare/djlint
rev: v1.19.3
rev: v1.19.16
hooks:
- id: djlint-jinja
name: Autoformat jinja files
Expand Down
2 changes: 1 addition & 1 deletion requirements-automate.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# These are the requirements to run the automation tasks

-r requirements.txt
gh-issues
gh-issues==0.0.3.dev16
typer
79 changes: 58 additions & 21 deletions requirements-automate.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --output-file=requirements-automate.txt requirements-automate.in
# pip-compile --output-file=requirements-automate.txt --resolver=backtracking requirements-automate.in
#
anyio==3.6.2
# via httpcore
Expand All @@ -11,14 +11,28 @@ certifi==2022.12.7
# httpcore
# httpx
click==8.1.3
# via typer
# via
# -r requirements.txt
# typer
dtyper==2.1.0
# via
# -r requirements.txt
# render-engine
gh-issues==0.0.3.dev16
# via -r requirements-automate.in
gitdb==4.0.10
# via
# -r requirements.txt
# gitpython
gitpython==3.1.31
# via
# -r requirements.txt
# render-engine
h11==0.14.0
# via httpcore
httpcore==0.16.3
# via httpx
httpx==0.23.1
httpx==0.23.3
# via gh-issues
idna==3.4
# via
Expand All @@ -28,56 +42,75 @@ jinja2==3.1.2
# via
# -r requirements.txt
# render-engine
markdown-it-py==2.1.0
# via gh-issues
markdown2==2.4.6
markdown-it-py==2.2.0
# via
# -r requirements.txt
# gh-issues
# rich
markdown2==2.4.8
# via
# -r requirements.txt
# render-engine
markupsafe==2.1.1
markupsafe==2.1.2
# via
# -r requirements.txt
# jinja2
mdurl==0.1.2
# via markdown-it-py
more-itertools==9.0.0
# via
# -r requirements.txt
# markdown-it-py
more-itertools==9.1.0
# via
# -r requirements.txt
# render-engine
pendulum==2.1.2
pluggy==1.0.0
# via
# -r requirements.txt
# render-engine
pygments==2.14.0
# via
# -r requirements.txt
# rich
pytailwindcss==0.1.4
# via -r requirements.txt
python-dateutil==2.8.2
# via
# -r requirements.txt
# pendulum
python-frontmatter==1.0.0
# render-engine-tailwindcss
python-dateutil==2.8.2
# via
# -r requirements.txt
# render-engine
python-slugify==7.0.0
python-frontmatter==1.0.0
# via
# -r requirements.txt
# render-engine
pytzdata==2020.1
python-slugify==8.0.1
# via
# -r requirements.txt
# pendulum
# render-engine
pyyaml==6.0
# via
# -r requirements.txt
# python-frontmatter
render-engine==2022.12.5
render-engine==2023.3.1b14
# via
# -r requirements.txt
# render-engine-tailwindcss
render-engine-tailwindcss==2023.1.1
# via -r requirements.txt
rfc3986[idna2008]==1.5.0
# via httpx
rich==13.3.2
# via
# -r requirements.txt
# render-engine
six==1.16.0
# via
# -r requirements.txt
# python-dateutil
smmap==5.0.0
# via
# -r requirements.txt
# gitdb
sniffio==1.3.0
# via
# anyio
Expand All @@ -88,4 +121,8 @@ text-unidecode==1.3
# -r requirements.txt
# python-slugify
typer==0.7.0
# via -r requirements-automate.in
# via
# -r requirements-automate.in
# -r requirements.txt
# dtyper
# render-engine
4 changes: 2 additions & 2 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# These are the packages needed to build the website

pytailwindcss
render-engine
render-engine-tailwindcss
render_engine==2023.3.1b14
50 changes: 37 additions & 13 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,34 +1,58 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile
# pip-compile --resolver=backtracking
#
click==8.1.3
# via typer
dtyper==2.1.0
# via render-engine
gitdb==4.0.10
# via gitpython
gitpython==3.1.31
# via render-engine
jinja2==3.1.2
# via render-engine
markdown2==2.4.6
markdown-it-py==2.2.0
# via rich
markdown2==2.4.8
# via render-engine
markupsafe==2.1.1
markupsafe==2.1.2
# via jinja2
more-itertools==9.0.0
mdurl==0.1.2
# via markdown-it-py
more-itertools==9.1.0
# via render-engine
pendulum==2.1.2
pluggy==1.0.0
# via render-engine
pygments==2.14.0
# via rich
pytailwindcss==0.1.4
# via -r requirements.in
# via render-engine-tailwindcss
python-dateutil==2.8.2
# via pendulum
# via render-engine
python-frontmatter==1.0.0
# via render-engine
python-slugify==7.0.0
python-slugify==8.0.1
# via render-engine
pytzdata==2020.1
# via pendulum
pyyaml==6.0
# via python-frontmatter
render-engine==2022.12.5
render-engine==2023.3.1b14
# via
# -r requirements.in
# render-engine-tailwindcss
render-engine-tailwindcss==2023.1.1
# via -r requirements.in
rich==13.3.2
# via render-engine
six==1.16.0
# via python-dateutil
smmap==5.0.0
# via gitdb
text-unidecode==1.3
# via python-slugify
typer==0.7.0
# via
# dtyper
# render-engine
Loading