1
0
mirror of https://github.com/venthur/blag.git synced 2025-11-25 12:42:41 +00:00

Compare commits

..

191 Commits

Author SHA1 Message Date
Bastian Venthur
60bd86ec22 finalized benchmark 2025-01-22 15:17:28 +01:00
Bastian Venthur
69b729a471 Merge branch 'performance' into rebuild_needed_only 2025-01-22 14:46:42 +01:00
Bastian Venthur
f09e841200 Merge branch 'master' into rebuild_needed_only 2025-01-22 14:46:29 +01:00
Bastian Venthur
c94f9793b0 improved performance test 2025-01-22 14:46:14 +01:00
Bastian Venthur
5cddb62603 Merge branch 'master' into performance 2025-01-22 14:14:46 +01:00
Bastian Venthur
85e57a7ef2 added py313 to github actions test suite 2025-01-03 10:46:22 +01:00
dependabot[bot]
ef18685cef Bump the all group across 1 directory with 10 updates
Bumps the all group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.39` | `9.5.49` |
| [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) | `0.26.1` | `0.27.0` |
| [twine](https://github.com/pypa/twine) | `5.1.1` | `6.0.1` |
| [wheel](https://github.com/pypa/wheel) | `0.44.0` | `0.45.1` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.3.3` | `8.3.4` |
| [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `5.0.0` | `6.0.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.6.9` | `0.8.4` |
| [mypy](https://github.com/python/mypy) | `1.11.2` | `1.14.0` |
| [types-markdown](https://github.com/python/typeshed) | `3.7.0.20240822` | `3.7.0.20241204` |
| [jinja2](https://github.com/pallets/jinja) | `3.1.4` | `3.1.5` |



Updates `mkdocs-material` from 9.5.39 to 9.5.49
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.39...9.5.49)

Updates `mkdocstrings[python]` from 0.26.1 to 0.27.0
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.26.1...0.27.0)

Updates `twine` from 5.1.1 to 6.0.1
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/twine/compare/v5.1.1...6.0.1)

Updates `wheel` from 0.44.0 to 0.45.1
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.44.0...0.45.1)

Updates `pytest` from 8.3.3 to 8.3.4
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4)

Updates `pytest-cov` from 5.0.0 to 6.0.0
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0)

Updates `ruff` from 0.6.9 to 0.8.4
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.9...0.8.4)

Updates `mypy` from 1.11.2 to 1.14.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.11.2...v1.14.0)

Updates `types-markdown` from 3.7.0.20240822 to 3.7.0.20241204
- [Commits](https://github.com/python/typeshed/commits)

Updates `jinja2` from 3.1.4 to 3.1.5
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: mkdocstrings[python]
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: twine
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: wheel
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: pytest-cov
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: types-markdown
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: jinja2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 14:19:20 +00:00
Bastian Venthur
6b699f58ad simplified color scheme selection 2024-11-18 09:22:21 +01:00
Bastian Venthur
a3da95ea19 added benchmark 2024-10-29 12:13:05 +01:00
Bastian Venthur
c4f3c09730 WIP 2024-10-29 10:16:48 +01:00
Bastian Venthur
5943dab690 wip 2024-10-29 10:16:48 +01:00
Bastian Venthur
e631b17fb1 bumped version prepared upload 2024-10-13 20:13:10 +02:00
Bastian Venthur
07be96aa7c bumped changelog 2024-10-13 20:11:58 +02:00
Bastian Venthur
0d03733b4f ignoe FileNotFound Error that sometimes happens when getting mtime of directories
Fixes: #231
2024-10-11 11:09:32 +02:00
Bastian Venthur
8fed4894ee Merge remote-tracking branch 'origin/dependabot/pip/all-571baf080f' 2024-10-10 16:20:18 +02:00
Bastian Venthur
12db99f20a remove ruff's target-version 2024-10-10 16:18:52 +02:00
dependabot[bot]
086832986b Bump the all group with 2 updates
Bumps the all group with 2 updates: [build](https://github.com/pypa/build) and [ruff](https://github.com/astral-sh/ruff).


Updates `build` from 1.2.2 to 1.2.2.post1
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/1.2.2...1.2.2.post1)

Updates `ruff` from 0.6.8 to 0.6.9
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.8...0.6.9)

---
updated-dependencies:
- dependency-name: build
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 14:22:20 +00:00
Bastian Venthur
8112d9fb30 Merge pull request #253 from venthur/dependabot/pip/all-e1f04c1223
Bump the all group across 1 directory with 9 updates
2024-10-07 12:31:39 +02:00
dependabot[bot]
e977383ae0 Bump the all group across 1 directory with 9 updates
Bumps the all group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [build](https://github.com/pypa/build) | `1.2.1` | `1.2.2` |
| [mkdocs](https://github.com/mkdocs/mkdocs) | `1.6.0` | `1.6.1` |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.31` | `9.5.39` |
| [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) | `0.25.2` | `0.26.1` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.3.2` | `8.3.3` |
| [ruff](https://github.com/astral-sh/ruff) | `0.6.0` | `0.6.8` |
| [mypy](https://github.com/python/mypy) | `1.11.1` | `1.11.2` |
| [types-markdown](https://github.com/python/typeshed) | `3.6.0.20240316` | `3.7.0.20240822` |
| [markdown](https://github.com/Python-Markdown/markdown) | `3.6` | `3.7` |



Updates `build` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/1.2.1...1.2.2)

Updates `mkdocs` from 1.6.0 to 1.6.1
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.6.0...1.6.1)

Updates `mkdocs-material` from 9.5.31 to 9.5.39
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.31...9.5.39)

Updates `mkdocstrings[python]` from 0.25.2 to 0.26.1
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.25.2...0.26.1)

Updates `pytest` from 8.3.2 to 8.3.3
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.3)

Updates `ruff` from 0.6.0 to 0.6.8
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.6.0...0.6.8)

Updates `mypy` from 1.11.1 to 1.11.2
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.11.1...v1.11.2)

Updates `types-markdown` from 3.6.0.20240316 to 3.7.0.20240822
- [Commits](https://github.com/python/typeshed/commits)

Updates `markdown` from 3.6 to 3.7
- [Release notes](https://github.com/Python-Markdown/markdown/releases)
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.6...3.7)

---
updated-dependencies:
- dependency-name: build
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: mkdocs
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: mkdocstrings[python]
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: types-markdown
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: markdown
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 14:43:59 +00:00
Bastian Venthur
0c606c7673 Added changelog to docs 2024-08-26 10:04:57 +02:00
Bastian Venthur
c8a0587d78 Merge pull request #245 from venthur/dependabot/pip/all-40c5988f12
Bump the all group with 6 updates
2024-08-16 09:58:38 +02:00
dependabot[bot]
be079e8699 Bump the all group with 6 updates
Bumps the all group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.28` | `9.5.31` |
| [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) | `0.25.1` | `0.25.2` |
| [wheel](https://github.com/pypa/wheel) | `0.43.0` | `0.44.0` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.2.2` | `8.3.2` |
| [ruff](https://github.com/astral-sh/ruff) | `0.5.1` | `0.6.0` |
| [mypy](https://github.com/python/mypy) | `1.10.1` | `1.11.1` |


Updates `mkdocs-material` from 9.5.28 to 9.5.31
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.28...9.5.31)

Updates `mkdocstrings[python]` from 0.25.1 to 0.25.2
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.25.1...0.25.2)

Updates `wheel` from 0.43.0 to 0.44.0
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.43.0...0.44.0)

Updates `pytest` from 8.2.2 to 8.3.2
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.2...8.3.2)

Updates `ruff` from 0.5.1 to 0.6.0
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.1...0.6.0)

Updates `mypy` from 1.10.1 to 1.11.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.10.1...v1.11.1)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: mkdocstrings[python]
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: wheel
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 07:49:28 +00:00
Bastian Venthur
60b7679c14 group dependabot mrs 2024-08-16 09:47:33 +02:00
Bastian Venthur
5a68d15849 bumped version 2024-07-06 15:34:57 +02:00
Bastian Venthur
de8444cc5d sorted dependencies 2024-07-06 15:32:37 +02:00
Bastian Venthur
28b4f5fb4e changed debian section from python to web 2024-07-06 15:22:48 +02:00
Bastian Venthur
c8a26885e7 simplified html docs dir for blag-doc package (Debian) 2024-07-06 15:21:26 +02:00
Bastian Venthur
5922f70567 disable google fonts 2024-07-06 15:20:10 +02:00
Bastian Venthur
6dd1eee238 added serve-docs and manpage 2024-07-06 15:18:45 +02:00
Bastian Venthur
c3a189f88b updated requirements 2024-07-06 14:30:11 +02:00
Bastian Venthur
89f4ad0d2a Merge pull request #220 from venthur/dependabot/pip/wheel-0.43.0
Bump wheel from 0.42.0 to 0.43.0
2024-07-06 14:11:36 +02:00
Bastian Venthur
a083399d9c Merge pull request #221 from venthur/dependabot/pip/build-1.2.1
Bump build from 1.0.3 to 1.2.1
2024-07-06 14:11:16 +02:00
Bastian Venthur
ba306b7fd5 Merge pull request #219 from venthur/dependabot/pip/types-markdown-3.6.0.20240316
Bump types-markdown from 3.5.0.20240129 to 3.6.0.20240316
2024-07-06 14:10:49 +02:00
Bastian Venthur
bc1b2da020 Merge pull request #222 from venthur/dependabot/pip/markdown-3.6
Bump markdown from 3.5.2 to 3.6
2024-07-06 14:10:35 +02:00
dependabot[bot]
59ead49f2f Bump markdown from 3.5.2 to 3.6
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.5.2 to 3.6.
- [Release notes](https://github.com/Python-Markdown/markdown/releases)
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.5.2...3.6)

---
updated-dependencies:
- dependency-name: markdown
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 12:40:58 +00:00
Bastian Venthur
9ecb9da696 Merge pull request #224 from venthur/dependabot/pip/jinja2-3.1.4
Bump jinja2 from 3.1.3 to 3.1.4
2024-05-21 14:39:09 +02:00
dependabot[bot]
34cf2e5ebb Bump jinja2 from 3.1.3 to 3.1.4
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 21:00:48 +00:00
dependabot[bot]
89812ee97a Bump build from 1.0.3 to 1.2.1
Bumps [build](https://github.com/pypa/build) from 1.0.3 to 1.2.1.
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/1.0.3...1.2.1)

---
updated-dependencies:
- dependency-name: build
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 14:13:37 +00:00
dependabot[bot]
e9eb0971cf Bump wheel from 0.42.0 to 0.43.0
Bumps [wheel](https://github.com/pypa/wheel) from 0.42.0 to 0.43.0.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.42.0...0.43.0)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 14:13:34 +00:00
dependabot[bot]
77d193d45e Bump types-markdown from 3.5.0.20240129 to 3.6.0.20240316
Bumps [types-markdown](https://github.com/python/typeshed) from 3.5.0.20240129 to 3.6.0.20240316.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-markdown
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 14:13:31 +00:00
Bastian Venthur
fd23c1f5e6 fixed min python requirement in docs 2024-04-24 22:38:47 +02:00
Bastian Venthur
8e88546249 bumped version 2024-04-24 22:27:08 +02:00
Bastian Venthur
f9ba289288 Merge pull request #217 from venthur/fix_devserver
fixed devserver
2024-04-24 22:23:04 +02:00
Bastian Venthur
acbbeecfe6 Merge branch 'master' into fix_devserver 2024-04-24 22:20:45 +02:00
Bastian Venthur
ad120d70e6 Merge pull request #216 from venthur/drop_py38_and_py39
dropped support for python 3.8 and 3.9
2024-04-24 22:19:00 +02:00
Bastian Venthur
902e9b94c4 removed py3.13 from github ci, it is not supported yet 2024-04-24 22:14:39 +02:00
Bastian Venthur
de8542b90b dropped support for python 3.8 and 3.9 2024-04-24 22:10:48 +02:00
Bastian Venthur
0236dbf782 fixed devserver
so it does crash on build failure anymore. also made tests a bit faster
by adding a wait parameter to the autoreload method.
2024-04-24 21:47:59 +02:00
Bastian Venthur
4d4630867d Merge remote-tracking branch 'origin/dependabot/pip/mkdocstrings-python--0.24.3' 2024-04-24 21:44:40 +02:00
Bastian Venthur
e0968f039f Merge remote-tracking branch 'origin/dependabot/pip/mkdocs-material-9.5.18' 2024-04-24 21:37:43 +02:00
Bastian Venthur
8b9452af8d Merge remote-tracking branch 'origin/dependabot/pip/pytest-8.1.1' 2024-04-24 21:20:00 +02:00
Bastian Venthur
f51609c51d Merge remote-tracking branch 'origin/dependabot/pip/twine-5.0.0' 2024-04-24 21:17:52 +02:00
dependabot[bot]
de47d8648e Bump mkdocs-material from 9.5.7 to 9.5.18
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.7 to 9.5.18.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.7...9.5.18)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 14:09:26 +00:00
dependabot[bot]
9bac7c6030 Bump ruff from 0.2.00 to 0.4.1
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.2.00 to 0.4.1.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.2.0...v0.4.1)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 14:09:16 +00:00
dependabot[bot]
b811ed7dc7 Bump mkdocstrings[python] from 0.24.0 to 0.24.3
Bumps [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) from 0.24.0 to 0.24.3.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.24.0...0.24.3)

---
updated-dependencies:
- dependency-name: mkdocstrings[python]
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 14:42:06 +00:00
dependabot[bot]
5513bad809 Bump pytest from 8.0.0 to 8.1.1
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.0 to 8.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.0.0...8.1.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 14:19:52 +00:00
dependabot[bot]
896cbc445e Bump twine from 4.0.2 to 5.0.0
Bumps [twine](https://github.com/pypa/twine) from 4.0.2 to 5.0.0.
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/twine/compare/4.0.2...5.0.0)

---
updated-dependencies:
- dependency-name: twine
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 14:14:18 +00:00
Bastian Venthur
ad02f70923 Merge pull request #185 from venthur/dependabot/pip/mkdocs-material-9.5.7
Bump mkdocs-material from 9.5.6 to 9.5.7
2024-02-11 13:25:33 +01:00
Bastian Venthur
6ea11907ad Merge pull request #186 from venthur/dependabot/pip/pytest-8.0.0
Bump pytest from 7.4.3 to 8.0.0
2024-02-11 13:25:14 +01:00
dependabot[bot]
074305d0f5 Bump pytest from 7.4.3 to 8.0.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.3 to 8.0.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.3...8.0.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 14:10:43 +00:00
dependabot[bot]
20e750bd99 Bump mkdocs-material from 9.5.6 to 9.5.7
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.6 to 9.5.7.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.6...9.5.7)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 14:10:35 +00:00
Bastian Venthur
8bf7b74dcc updated ruff 2024-02-02 10:16:22 +01:00
Bastian Venthur
f78a1c0696 Merge remote-tracking branch 'origin/dependabot/pip/mkdocs-material-9.5.6' 2024-01-30 15:31:56 +01:00
Bastian Venthur
68dafe0e19 Merge remote-tracking branch 'origin/dependabot/pip/ruff-0.1.14' 2024-01-30 15:31:10 +01:00
Bastian Venthur
3334518e92 updated pygment 2024-01-30 15:30:23 +01:00
Bastian Venthur
a3f2c58d5e Merge remote-tracking branch 'origin/dependabot/pip/pygments-2.17.2' 2024-01-30 15:28:37 +01:00
Bastian Venthur
b236856b92 Merge remote-tracking branch 'origin/dependabot/pip/types-markdown-3.5.0.20240129' 2024-01-30 15:28:00 +01:00
dependabot[bot]
908917c271 Bump mkdocs-material from 9.5.5 to 9.5.6
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.5.5 to 9.5.6.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.5...9.5.6)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 14:25:28 +00:00
dependabot[bot]
bf7eb0bb75 Bump types-markdown from 3.5.0.20240106 to 3.5.0.20240129
Bumps [types-markdown](https://github.com/python/typeshed) from 3.5.0.20240106 to 3.5.0.20240129.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-markdown
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 14:25:22 +00:00
dependabot[bot]
39d260c8ce Bump markdown from 3.5.1 to 3.5.2
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/Python-Markdown/markdown/releases)
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.5.1...3.5.2)

---
updated-dependencies:
- dependency-name: markdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 14:25:20 +00:00
dependabot[bot]
c2260d7901 Bump pygments from 2.16.1 to 2.17.2
Bumps [pygments](https://github.com/pygments/pygments) from 2.16.1 to 2.17.2.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.16.1...2.17.2)

---
updated-dependencies:
- dependency-name: pygments
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 14:25:16 +00:00
dependabot[bot]
df0fa21f3f Bump ruff from 0.1.7 to 0.1.14
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.7 to 0.1.14.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.7...v0.1.14)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 14:25:13 +00:00
Bastian Venthur
d479c9d89c Merge pull request #179 from venthur/dependabot/pip/mkdocs-material-9.5.5
Bump mkdocs-material from 9.4.8 to 9.5.5
2024-01-27 20:34:08 +01:00
Bastian Venthur
cd135709d0 Merge pull request #176 from venthur/dependabot/pip/types-markdown-3.5.0.20240106
Bump types-markdown from 3.5.0.1 to 3.5.0.20240106
2024-01-27 20:33:37 +01:00
dependabot[bot]
944bd3a7a0 Bump mkdocs-material from 9.4.8 to 9.5.5
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.4.8 to 9.5.5.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.4.8...9.5.5)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 19:29:17 +00:00
Bastian Venthur
7dbccd92e4 Merge pull request #177 from venthur/dependabot/pip/jinja2-3.1.3
Bump jinja2 from 3.1.2 to 3.1.3
2024-01-27 20:28:26 +01:00
dependabot[bot]
1a019cd2d0 Bump types-markdown from 3.5.0.1 to 3.5.0.20240106
Bumps [types-markdown](https://github.com/python/typeshed) from 3.5.0.1 to 3.5.0.20240106.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-markdown
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 19:28:24 +00:00
Bastian Venthur
c9cb0ea55b Merge pull request #166 from venthur/dependabot/pip/mkdocstrings-python--0.24.0
Bump mkdocstrings[python] from 0.23.0 to 0.24.0
2024-01-27 20:27:49 +01:00
Bastian Venthur
95db1f4431 Merge pull request #175 from venthur/dependabot/pip/mypy-1.8.0
Bump mypy from 1.6.1 to 1.8.0
2024-01-27 20:27:17 +01:00
Bastian Venthur
3ee192400a Merge pull request #173 from venthur/dependabot/pip/wheel-0.42.0
Bump wheel from 0.41.3 to 0.42.0
2024-01-27 20:27:00 +01:00
dependabot[bot]
4cc4992be9 Bump jinja2 from 3.1.2 to 3.1.3
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.2...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 19:53:41 +00:00
dependabot[bot]
364cc1dfb0 Bump mypy from 1.6.1 to 1.8.0
Bumps [mypy](https://github.com/python/mypy) from 1.6.1 to 1.8.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.6.1...v1.8.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-25 14:01:55 +00:00
dependabot[bot]
2b87eaabe0 Bump wheel from 0.41.3 to 0.42.0
Bumps [wheel](https://github.com/pypa/wheel) from 0.41.3 to 0.42.0.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.41.3...0.42.0)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 14:49:15 +00:00
Bastian Venthur
a75f723836 Merge pull request #170 from venthur/dependabot/pip/ruff-0.1.7
Bump ruff from 0.1.5 to 0.1.7
2023-12-15 12:02:55 +01:00
Bastian Venthur
62a52ca73c Merge pull request #171 from venthur/dependabot/github_actions/actions/setup-python-5
Bump actions/setup-python from 4 to 5
2023-12-15 12:01:32 +01:00
dependabot[bot]
6d1fa4518e Bump actions/setup-python from 4 to 5
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 14:33:18 +00:00
dependabot[bot]
22efa5d207 Bump ruff from 0.1.5 to 0.1.7
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.5 to 0.1.7.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.5...v0.1.7)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 14:14:35 +00:00
dependabot[bot]
e0f3e04ff6 Bump mkdocstrings[python] from 0.23.0 to 0.24.0
Bumps [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.23.0...0.24.0)

---
updated-dependencies:
- dependency-name: mkdocstrings[python]
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 14:45:51 +00:00
Bastian Venthur
71c866c9b3 Merge branch 'master' into rebuild_needed_only 2023-11-12 17:16:46 +01:00
Bastian Venthur
55e2f41b88 correct release 2023-11-11 11:01:28 +01:00
Bastian Venthur
8c61614295 fixed suggests to blag-doc, bumped version 2023-11-11 10:59:07 +01:00
Bastian Venthur
c364087eab Merge pull request #158 from venthur/dependabot/pip/mkdocs-material-9.4.8
Bump mkdocs-material from 9.4.6 to 9.4.8
2023-11-11 10:58:02 +01:00
Bastian Venthur
a06947d762 Merge pull request #161 from venthur/dependabot/pip/ruff-0.1.5
Bump ruff from 0.1.3 to 0.1.5
2023-11-11 10:57:49 +01:00
dependabot[bot]
12a7fb9568 Bump ruff from 0.1.3 to 0.1.5
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.3 to 0.1.5.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.3...v0.1.5)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 09:55:13 +00:00
dependabot[bot]
caf6217221 Bump mkdocs-material from 9.4.6 to 9.4.8
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.4.6 to 9.4.8.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.4.6...9.4.8)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-11 09:55:02 +00:00
Bastian Venthur
744dadb1a5 Merge pull request #159 from venthur/dependabot/pip/types-markdown-3.5.0.1
Bump types-markdown from 3.5.0.0 to 3.5.0.1
2023-11-11 10:54:41 +01:00
Bastian Venthur
7defacd3f6 Merge pull request #153 from venthur/dependabot/pip/wheel-0.41.3
Bump wheel from 0.41.2 to 0.41.3
2023-11-11 10:54:23 +01:00
Bastian Venthur
c1d741a56c Merge pull request #157 from venthur/dependabot/pip/markdown-3.5.1
Bump markdown from 3.5 to 3.5.1
2023-11-11 10:53:59 +01:00
dependabot[bot]
056ddbdbcb Bump types-markdown from 3.5.0.0 to 3.5.0.1
Bumps [types-markdown](https://github.com/python/typeshed) from 3.5.0.0 to 3.5.0.1.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-markdown
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 14:42:44 +00:00
dependabot[bot]
9b0bd2814a Bump markdown from 3.5 to 3.5.1
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.5 to 3.5.1.
- [Release notes](https://github.com/Python-Markdown/markdown/releases)
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.5...3.5.1)

---
updated-dependencies:
- dependency-name: markdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 14:42:36 +00:00
Bastian Venthur
9378bb5103 removed watchfile, bumped version 2023-11-05 17:15:15 +01:00
dependabot[bot]
8f287c5b8d Bump wheel from 0.41.2 to 0.41.3
Bumps [wheel](https://github.com/pypa/wheel) from 0.41.2 to 0.41.3.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.41.2...0.41.3)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-05 16:03:50 +00:00
Bastian Venthur
77954f13ef Merge pull request #156 from venthur/dependabot/pip/pytest-7.4.3
Bump pytest from 7.4.2 to 7.4.3
2023-11-05 17:03:36 +01:00
Bastian Venthur
4b5ca7a414 Merge pull request #155 from venthur/dependabot/pip/ruff-0.1.3
Bump ruff from 0.1.1 to 0.1.3
2023-11-05 17:03:10 +01:00
dependabot[bot]
6ec70ba61b Bump pytest from 7.4.2 to 7.4.3
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.2 to 7.4.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.2...7.4.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 14:07:08 +00:00
dependabot[bot]
082f1e0473 Bump ruff from 0.1.1 to 0.1.3
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.1 to 0.1.3.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.1...v0.1.3)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 14:07:01 +00:00
Bastian Venthur
b64563757c Merge pull request #152 from venthur/3.12
added python 3.12 to test suite
2023-10-30 08:54:02 +01:00
Bastian Venthur
dfcbaec6f9 added python 3.12 to test suite 2023-10-30 08:51:23 +01:00
Bastian Venthur
5314a7d260 fixed requirements in pyproject.toml still pointing to sphinx 2023-10-30 08:48:52 +01:00
Bastian Venthur
f507693f05 Merge pull request #150 from venthur/dependabot/pip/mypy-1.6.1
Bump mypy from 1.6.0 to 1.6.1
2023-10-27 11:20:06 +02:00
dependabot[bot]
86356a5e1d Bump mypy from 1.6.0 to 1.6.1
Bumps [mypy](https://github.com/python/mypy) from 1.6.0 to 1.6.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 09:17:43 +00:00
Bastian Venthur
36be7fcc07 Merge pull request #146 from venthur/dependabot/pip/types-markdown-3.5.0.0
Bump types-markdown from 3.4.2.10 to 3.5.0.0
2023-10-27 11:17:02 +02:00
Bastian Venthur
869ca2a95e Merge pull request #143 from venthur/dependabot/pip/markdown-3.5
Bump markdown from 3.4.4 to 3.5
2023-10-27 11:16:49 +02:00
dependabot[bot]
9734386397 Bump markdown from 3.4.4 to 3.5
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.4.4 to 3.5.
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.4.4...3.5)

---
updated-dependencies:
- dependency-name: markdown
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 09:00:54 +00:00
dependabot[bot]
d66b2955a5 Bump types-markdown from 3.4.2.10 to 3.5.0.0
Bumps [types-markdown](https://github.com/python/typeshed) from 3.4.2.10 to 3.5.0.0.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-markdown
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 09:00:52 +00:00
Bastian Venthur
b889bb5b85 Merge pull request #151 from venthur/dependabot/pip/ruff-0.1.1
Bump ruff from 0.1.0 to 0.1.1
2023-10-27 11:00:11 +02:00
dependabot[bot]
2a6c7d0b0e Bump ruff from 0.1.0 to 0.1.1
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.0...v0.1.1)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 14:48:40 +00:00
Bastian Venthur
95546b7dab Merge pull request #149 from venthur/dependabot/pip/ruff-0.1.0
Bump ruff from 0.0.291 to 0.1.0
2023-10-19 09:24:33 +02:00
dependabot[bot]
d6e049bebb Bump ruff from 0.0.291 to 0.1.0
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.291 to 0.1.0.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.291...v0.1.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 10:00:09 +00:00
Bastian Venthur
e13a2cb50b Merge pull request #147 from venthur/dependabot/pip/mypy-1.6.0
Bump mypy from 1.5.1 to 1.6.0
2023-10-18 11:59:06 +02:00
Bastian Venthur
ed33fdb542 Merge pull request #148 from venthur/dependabot/pip/mkdocs-material-9.4.6
Bump mkdocs-material from 9.4.3 to 9.4.6
2023-10-18 11:58:53 +02:00
dependabot[bot]
7d7723219b Bump mkdocs-material from 9.4.3 to 9.4.6
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.4.3 to 9.4.6.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.4.3...9.4.6)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 14:59:18 +00:00
dependabot[bot]
a550d7b194 Bump mypy from 1.5.1 to 1.6.0
Bumps [mypy](https://github.com/python/mypy) from 1.5.1 to 1.6.0.
- [Commits](https://github.com/python/mypy/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 14:59:10 +00:00
Bastian Venthur
096d86e339 Merge pull request #142 from venthur/dependabot/pip/mkdocs-material-9.4.3
Bump mkdocs-material from 9.3.1 to 9.4.3
2023-10-03 16:03:11 +03:00
dependabot[bot]
81a64019ee Bump mkdocs-material from 9.3.1 to 9.4.3
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.3.1 to 9.4.3.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.3.1...9.4.3)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 14:22:23 +00:00
Bastian Venthur
b3ad97add7 Merge pull request #140 from venthur/dependabot/pip/ruff-0.0.291
Bump ruff from 0.0.290 to 0.0.291
2023-09-27 09:36:39 +03:00
Bastian Venthur
b0b0f6fbbf Merge pull request #139 from venthur/dependabot/pip/mkdocs-1.5.3
Bump mkdocs from 1.5.2 to 1.5.3
2023-09-27 09:36:24 +03:00
dependabot[bot]
a416095cd0 Bump ruff from 0.0.290 to 0.0.291
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.290 to 0.0.291.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.0.290...v0.0.291)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 14:59:52 +00:00
dependabot[bot]
65e5fd8728 Bump mkdocs from 1.5.2 to 1.5.3
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.5.2...1.5.3)

---
updated-dependencies:
- dependency-name: mkdocs
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 14:59:33 +00:00
Bastian Venthur
557077e646 Merge pull request #138 from venthur/ruff
switch from flake8 to ruff
2023-09-20 15:37:06 +02:00
Bastian Venthur
f2900fdb4b run ruff check explicitely 2023-09-20 15:16:58 +02:00
Bastian Venthur
a7c221f345 updated changelog 2023-09-20 15:10:21 +02:00
Bastian Venthur
c92130559c add missing docstrings 2023-09-20 15:09:28 +02:00
Bastian Venthur
4f3516fb19 fixed src 2023-09-20 13:03:55 +02:00
Bastian Venthur
ead8c518c3 replaced flake8 with ruff 2023-09-20 12:58:50 +02:00
Bastian Venthur
6431ffae8c Merge pull request #133 from venthur/dependabot/pip/mkdocstrings-python--0.23.0
Bump mkdocstrings[python] from 0.22.0 to 0.23.0
2023-09-18 08:31:05 +02:00
dependabot[bot]
33b5c282f9 Bump mkdocstrings[python] from 0.22.0 to 0.23.0
Bumps [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.22.0...0.23.0)

---
updated-dependencies:
- dependency-name: mkdocstrings[python]
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 06:15:35 +00:00
Bastian Venthur
3b12986dc9 Merge pull request #128 from venthur/dependabot/pip/wheel-0.41.2
Bump wheel from 0.41.1 to 0.41.2
2023-09-18 08:15:06 +02:00
Bastian Venthur
91c6126e4f Merge pull request #137 from venthur/dependabot/pip/mkdocs-material-9.3.1
Bump mkdocs-material from 9.1.21 to 9.3.1
2023-09-18 08:14:45 +02:00
dependabot[bot]
ca5405f7aa Bump wheel from 0.41.1 to 0.41.2
Bumps [wheel](https://github.com/pypa/wheel) from 0.41.1 to 0.41.2.
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.41.1...0.41.2)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 19:12:21 +00:00
dependabot[bot]
f0e6cd2144 Bump mkdocs-material from 9.1.21 to 9.3.1
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.21 to 9.3.1.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.1.21...9.3.1)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 19:12:10 +00:00
Bastian Venthur
81febfbbd1 Merge pull request #134 from venthur/dependabot/pip/pytest-7.4.2
Bump pytest from 7.4.0 to 7.4.2
2023-09-15 21:11:27 +02:00
Bastian Venthur
e8af1d0380 Merge pull request #135 from venthur/dependabot/pip/build-1.0.3
Bump build from 0.10.0 to 1.0.3
2023-09-15 21:08:31 +02:00
Bastian Venthur
c9f7242f02 Merge pull request #129 from venthur/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2023-09-15 21:05:45 +02:00
dependabot[bot]
ceb6de574f Bump build from 0.10.0 to 1.0.3
Bumps [build](https://github.com/pypa/build) from 0.10.0 to 1.0.3.
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/0.10.0...1.0.3)

---
updated-dependencies:
- dependency-name: build
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 14:16:49 +00:00
dependabot[bot]
4382dff703 Bump pytest from 7.4.0 to 7.4.2
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.0 to 7.4.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.0...7.4.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 14:16:45 +00:00
dependabot[bot]
cfe7f36868 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 14:08:55 +00:00
Bastian Venthur
c45fb44c9f added watchfile 2023-08-27 15:28:50 +02:00
Bastian Venthur
f09b30d069 bump version 2023-08-27 15:28:39 +02:00
Bastian Venthur
d836025594 Merge pull request #126 from venthur/dependabot/pip/mypy-1.5.1
Bump mypy from 1.5.0 to 1.5.1
2023-08-23 08:29:41 +02:00
dependabot[bot]
ea345c6464 Bump mypy from 1.5.0 to 1.5.1
Bumps [mypy](https://github.com/python/mypy) from 1.5.0 to 1.5.1.
- [Commits](https://github.com/python/mypy/compare/v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 14:35:52 +00:00
Bastian Venthur
31b2a6d592 Merge pull request #119 from venthur/dependabot/pip/mkdocs-material-9.1.21
Bump mkdocs-material from 9.1.18 to 9.1.21
2023-08-15 10:14:55 +02:00
dependabot[bot]
ad41be706d Bump mkdocs-material from 9.1.18 to 9.1.21
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.18 to 9.1.21.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.1.18...9.1.21)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 08:03:29 +00:00
Bastian Venthur
04b022276c Merge pull request #125 from venthur/dependabot/pip/pygments-2.16.1
Bump pygments from 2.15.1 to 2.16.1
2023-08-15 10:03:17 +02:00
Bastian Venthur
9c1f93d075 Merge pull request #124 from venthur/dependabot/pip/mkdocs-1.5.2
Bump mkdocs from 1.4.3 to 1.5.2
2023-08-15 10:03:06 +02:00
Bastian Venthur
0276f6b328 Merge pull request #123 from venthur/dependabot/pip/mypy-1.5.0
Bump mypy from 1.4.1 to 1.5.0
2023-08-15 10:02:51 +02:00
dependabot[bot]
a3637621d7 Bump pygments from 2.15.1 to 2.16.1
Bumps [pygments](https://github.com/pygments/pygments) from 2.15.1 to 2.16.1.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.15.1...2.16.1)

---
updated-dependencies:
- dependency-name: pygments
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 14:49:37 +00:00
dependabot[bot]
392181e728 Bump mkdocs from 1.4.3 to 1.5.2
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.4.3 to 1.5.2.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.4.3...1.5.2)

---
updated-dependencies:
- dependency-name: mkdocs
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 14:49:30 +00:00
dependabot[bot]
b44c303d7a Bump mypy from 1.4.1 to 1.5.0
Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.5.0.
- [Commits](https://github.com/python/mypy/compare/v1.4.1...v1.5.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 14:49:26 +00:00
Bastian Venthur
90f8296a62 Merge pull request #122 from venthur/dependabot/pip/wheel-0.41.1
Bump wheel from 0.40.0 to 0.41.1
2023-08-09 10:31:46 +02:00
dependabot[bot]
298a828ecd Bump wheel from 0.40.0 to 0.41.1
Bumps [wheel](https://github.com/pypa/wheel) from 0.40.0 to 0.41.1.
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.40.0...0.41.1)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 19:14:22 +00:00
Bastian Venthur
9acbc77fea Merge pull request #116 from venthur/dependabot/pip/types-markdown-3.4.2.10
Bump types-markdown from 3.4.2.9 to 3.4.2.10
2023-08-07 21:13:50 +02:00
Bastian Venthur
90437f05ab Merge pull request #121 from venthur/dependabot/pip/flake8-6.1.0
Bump flake8 from 6.0.0 to 6.1.0
2023-08-07 21:13:14 +02:00
Bastian Venthur
33ae0e4482 Merge pull request #120 from venthur/dependabot/pip/markdown-3.4.4
Bump markdown from 3.4.3 to 3.4.4
2023-08-07 21:12:24 +02:00
dependabot[bot]
37c5a4eca6 Bump flake8 from 6.0.0 to 6.1.0
Bumps [flake8](https://github.com/pycqa/flake8) from 6.0.0 to 6.1.0.
- [Commits](https://github.com/pycqa/flake8/compare/6.0.0...6.1.0)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 14:15:07 +00:00
dependabot[bot]
7b14d7dcbd Bump markdown from 3.4.3 to 3.4.4
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.4.3 to 3.4.4.
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/change_log/release-2.6.md)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.4.3...3.4.4)

---
updated-dependencies:
- dependency-name: markdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 14:14:54 +00:00
dependabot[bot]
35d5ab93cd Bump types-markdown from 3.4.2.9 to 3.4.2.10
Bumps [types-markdown](https://github.com/python/typeshed) from 3.4.2.9 to 3.4.2.10.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-markdown
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 14:18:37 +00:00
Bastian Venthur
8ba56b6b27 Merge pull request #115 from venthur/dependabot/pip/pytest-7.4.0
Bump pytest from 7.3.2 to 7.4.0
2023-07-20 08:17:01 +02:00
dependabot[bot]
df84fbb96a Bump pytest from 7.3.2 to 7.4.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.2 to 7.4.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.3.2...7.4.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 14:35:36 +00:00
Bastian Venthur
609b49b6f2 updated changelog 2023-07-13 14:01:02 +02:00
Bastian Venthur
34d33d380c Merge pull request #109 from venthur/dependabot/pip/mkdocstrings-python--0.22.0
Bump mkdocstrings[python] from 0.20.0 to 0.22.0
2023-07-13 13:12:40 +02:00
Bastian Venthur
c1b16e9a82 Merge pull request #110 from venthur/dependabot/pip/mypy-1.4.1
Bump mypy from 1.2.0 to 1.4.1
2023-07-13 13:12:27 +02:00
dependabot[bot]
db1d81713c Bump mkdocstrings[python] from 0.20.0 to 0.22.0
Bumps [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) from 0.20.0 to 0.22.0.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.20.0...0.22.0)

---
updated-dependencies:
- dependency-name: mkdocstrings[python]
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 10:20:57 +00:00
Bastian Venthur
ee3d289ea0 Merge pull request #113 from venthur/dependabot/pip/mkdocs-material-9.1.18
Bump mkdocs-material from 9.1.15 to 9.1.18
2023-07-13 12:20:34 +02:00
dependabot[bot]
75b926de67 Bump mypy from 1.2.0 to 1.4.1
Bumps [mypy](https://github.com/python/mypy) from 1.2.0 to 1.4.1.
- [Commits](https://github.com/python/mypy/compare/v1.2.0...v1.4.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 10:20:22 +00:00
Bastian Venthur
0b7e898f3a Merge pull request #105 from venthur/dependabot/pip/feedgenerator-2.1.0
Bump feedgenerator from 2.0.0 to 2.1.0
2023-07-13 12:20:13 +02:00
Bastian Venthur
acce7d1c32 Merge pull request #107 from venthur/dependabot/pip/pytest-cov-4.1.0
Bump pytest-cov from 4.0.0 to 4.1.0
2023-07-13 12:19:21 +02:00
dependabot[bot]
e4786eca74 Bump mkdocs-material from 9.1.15 to 9.1.18
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.15 to 9.1.18.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.1.15...9.1.18)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 10:13:49 +00:00
Bastian Venthur
62f36cdd05 Merge pull request #114 from venthur/namespace_package
treat templates, static, and content as namespace packages
2023-07-13 12:10:51 +02:00
Bastian Venthur
111957883e updated changelog 2023-07-13 12:07:50 +02:00
Bastian Venthur
a1cfe01373 added MANIFEST.in 2023-07-13 10:21:54 +02:00
Bastian Venthur
3cfd756ac1 added data dirs to MANIFEST.in 2023-07-13 10:21:35 +02:00
Bastian Venthur
32fff6dabb treat templates, static, and content as namespace packages 2023-07-13 09:52:30 +02:00
Bastian Venthur
86826c0c03 list default template as package explicitily 2023-06-24 13:27:11 +02:00
Bastian Venthur
f646c89152 img's have max-width: 100% to avoid overflowing of big images 2023-06-24 13:25:17 +02:00
dependabot[bot]
1db80df0ce Bump pytest-cov from 4.0.0 to 4.1.0
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.0.0 to 4.1.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:57:56 +00:00
dependabot[bot]
2c15b2c2dd Bump feedgenerator from 2.0.0 to 2.1.0
Bumps [feedgenerator](https://github.com/getpelican/feedgenerator) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/getpelican/feedgenerator/releases)
- [Changelog](https://github.com/getpelican/feedgenerator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getpelican/feedgenerator/compare/2.0.0...2.1.0)

---
updated-dependencies:
- dependency-name: feedgenerator
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:57:50 +00:00
Bastian Venthur
44d5c4d694 corrected screenshot path 2023-06-17 15:29:46 +02:00
Bastian Venthur
1ebae15cda added screenshot 2023-06-17 15:24:00 +02:00
Bastian Venthur
c87a300c71 Merge branch 'master' into rebuild_needed_only 2022-08-07 21:50:15 +02:00
Bastian Venthur
a939e6503c rebuild only files that need re-building
we compare the mtimes of src and dst
2022-08-06 21:56:41 +02:00
38 changed files with 428 additions and 157 deletions

View File

@@ -1,2 +0,0 @@
[flake8]
exclude = venv,build,docs

View File

@@ -4,6 +4,10 @@ updates:
directory: "/"
schedule:
interval: "weekly"
groups:
all:
patterns:
- "*"
- package-ecosystem: "github-actions"
directory: "/"

View File

@@ -17,18 +17,14 @@ jobs:
- macos-latest
- windows-latest
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
exclude:
# 3.8 on windows fails due to some pip issue
- os: windows-latest
python-version: "3.8"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
@@ -41,8 +37,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
@@ -55,8 +51,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
@@ -70,8 +66,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"

View File

@@ -1,5 +1,58 @@
# Changelog
## [unreleased]
* Added Python 3.13 to github actions
## [2.3.2] -- 2024-10-13
* Ignore FileNotFoundError when trying to get the last modified time of files
in directories. This happens for example with temporary emacs files.
* Added changelog to docs
* removed ruff's target-version from pyproject.toml, this value defaults to the
projects requires-python
## [2.3.1] -- 2024-07-06
* added manpage
* added makefile target for generating blog's manpage
* added makefile target for serving blags docs locally
* mkdocs: disabled loading of google fonts, using locally installed system
fonts instead
* Debian: simplified html docs directory for blag-doc package
* Debian: changed section from Python to Web
* updated dependencies
## [2.3.0] -- 2024-04-24
* fixed devsever so it does not crash anymore when the (re-)build fails
* dropped support for Python 3.8 and 3.9
* updated dependencies
## [2.2.1] -- 2023-11-11
* fixed `suggests` to blag-doc
## [2.2.0] -- 2023-11-05
* switched from flake8 to ruff
* added missing docstrings
* fixed dev requirements in pyproject, still pointing to sphinx
* added Python3.12 to test suite
* removed debian/watch
## [2.1.0] -- 2023-08-27
* default theme: `img` have now `max-width: 100%` by default to avoid very
large images overflowing
* packaging: explicitly list `templates`, `static` and `content` as packages
instead of relying on package-data for setuptools. additionally, created a
MANIFEST.in to add the contents of these directories here as well. the
automatic finding of namespace packages and packaga-data, currently does not
work as advertised in setuptools' docs
* updated dependencies
* created debian/watch
## [2.0.0] - 2023-06-16
### Breaking

3
MANIFEST.in Normal file
View File

@@ -0,0 +1,3 @@
recursive-include blag/content *
recursive-include blag/static *
recursive-include blag/templates *

View File

@@ -33,7 +33,7 @@ mypy: $(VENV)
.PHONY: lint
lint: $(VENV)
$(BIN)/flake8
$(BIN)/ruff check .
.PHONY: build
build: $(VENV)
@@ -57,6 +57,18 @@ update-pygmentize: $(VENV)
docs: $(VENV)
$(BIN)/mkdocs build
.PHONY: serve-docs
serve-docs: $(VENV)
$(BIN)/mkdocs serve
.PHONY: manpage
manpage: $(VENV)
help2man $(BIN)/blag --no-info -n "blog-aware, static site generator" -o debian/blag.1
.PHONY: benchmark
benchmark: $(VENV)
$(BIN)/pytest --no-cov -capture=no -rA tests/benchmark.py
.PHONY: clean
clean:
rm -rf build dist *.egg-info

View File

@@ -16,14 +16,15 @@ blag is named after [the blag of the webcomic xkcd][blagxkcd].
## Features
* Write content in [Markdown][]
* Good looking default theme
* Good looking default theme:
![Blag Screenshot](blag/static/blag.png)
* Theming support using [Jinja2][] templates
* Generation of Atom feeds for blog content
* Fenced code blocks and syntax highlighting using [Pygments][]
* Integrated devserver
* Available on [PyPI][]
blag runs on Linux, Mac and Windows and requires Python >= 3.8
blag runs on Linux, Mac and Windows and requires Python >= 3.10
[markdown]: https://daringfireball.net/projects/markdown/
[jinja2]: https://palletsprojects.com/p/jinja/

View File

@@ -1,11 +1,6 @@
#!/usr/bin/env python3
"""blag's core methods.
"""
# remove when we don't support py38 anymore
from __future__ import annotations
"""blag's core methods."""
import argparse
import configparser
@@ -32,7 +27,7 @@ logging.basicConfig(
def main(arguments: list[str] | None = None) -> None:
"""Main entrypoint for the CLI.
"""Run the CLI.
This method parses the CLI arguments and executes the respective
commands.
@@ -328,7 +323,19 @@ def process_markdown(
for src, dst in convertibles:
logger.debug(f"Processing {src}")
with open(f"{input_dir}/{src}", "r") as fh:
# see first if the dst actually needs re-building. for that we compare
# the mtimes and assume mtime_dst > mtime_src means that it needs not
# to be rebuilt
if os.path.exists(f"{output_dir}/{dst}"):
mtime_src = os.stat(f"{input_dir}/{src}").st_mtime
mtime_dst = os.stat(f"{output_dir}/{dst}").st_mtime
if mtime_dst >= mtime_src:
logger.debug(
"Skipping, as target exists and is newer than source."
)
continue
with open(f"{input_dir}/{src}") as fh:
body = fh.read()
content, meta = convert_markdown(md, body)

View File

@@ -7,3 +7,5 @@ Tags: blag
## Second Post
This page serves no purpose :)
![Blag Screenshot](blag.png)

View File

@@ -6,9 +6,6 @@ site if necessary.
"""
# remove when we don't support py38 anymore
from __future__ import annotations
import argparse
import logging
import multiprocessing
@@ -45,14 +42,19 @@ def get_last_modified(dirs: list[str]) -> float:
for dir in dirs:
for root, dirs, files in os.walk(dir):
for f in files:
mtime = os.stat(os.path.join(root, f)).st_mtime
try:
mtime = os.stat(os.path.join(root, f)).st_mtime
except FileNotFoundError:
# ignore files that have been deleted since the os.walk
# call (for example temporary emacs files)
continue
if mtime > last_mtime:
last_mtime = mtime
return last_mtime
def autoreload(args: argparse.Namespace) -> NoReturn:
def autoreload(args: argparse.Namespace, wait: int=1) -> NoReturn:
"""Start the autoreloader.
This method monitors the given directories for changes (i.e. the
@@ -66,6 +68,9 @@ def autoreload(args: argparse.Namespace) -> NoReturn:
----------
args
contains the input-, template- and static dir
wait
number of seconds the devsever waits before checking for updated
content
"""
dirs = [args.input_dir, args.template_dir, args.static_dir]
@@ -74,12 +79,18 @@ def autoreload(args: argparse.Namespace) -> NoReturn:
# loop to avoid serving stale contents
last_mtime = 0.0
while True:
mtime = get_last_modified(dirs)
if mtime > last_mtime:
last_mtime = mtime
logger.info("Change detected, rebuilding...")
blag.build(args)
time.sleep(1)
# make sure the devsever does not crash when the build fails with an
# exception
try:
mtime = get_last_modified(dirs)
if mtime > last_mtime:
last_mtime = mtime
logger.info("Change detected, rebuilding...")
blag.build(args)
time.sleep(wait)
except Exception:
logger.exception("Error occurred during rebuild:")
logger.info("Devserver did not crash, you may continue editing.")
def serve(args: argparse.Namespace) -> None:

View File

@@ -5,9 +5,6 @@ processing.
"""
# remove when we don't support py38 anymore
from __future__ import annotations
import logging
from datetime import datetime
from urllib.parse import urlsplit, urlunsplit
@@ -94,9 +91,10 @@ def convert_markdown(
class MarkdownLinkTreeprocessor(Treeprocessor):
"""Converts relative links to .md files to .html"""
"""Converts relative links to .md files to .html."""
def run(self, root: Element) -> Element:
"""Process the ElementTree."""
for element in root.iter():
if element.tag == "a":
url = element.get("href")
@@ -109,6 +107,7 @@ class MarkdownLinkTreeprocessor(Treeprocessor):
return root
def convert(self, url: str) -> str:
"""Convert relative .md-links to .html-links."""
scheme, netloc, path, query, fragment = urlsplit(url)
logger.debug(
f"{url}: {scheme=} {netloc=} {path=} {query=} {fragment=}"
@@ -126,6 +125,7 @@ class MarkdownLinkExtension(Extension):
"""markdown.extension that converts relative .md- to .html-links."""
def extendMarkdown(self, md: Markdown) -> None:
"""Register the MarkdownLinkTreeprocessor."""
md.treeprocessors.register(
MarkdownLinkTreeprocessor(md),
"mdlink",

View File

@@ -1,9 +1,4 @@
"""Helper methods for blag's quickstart command.
"""
# remove when we don't support py38 anymore
from __future__ import annotations
"""Helper methods for blag's quickstart command."""
import argparse
import configparser

BIN
blag/static/blag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

@@ -4,35 +4,36 @@ span.linenos { color: inherit; background-color: transparent; padding-left: 5px;
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.hll { background-color: #49483e }
.c { color: #75715e } /* Comment */
.err { color: #960050; background-color: #1e0010 } /* Error */
.c { color: #959077 } /* Comment */
.err { color: #ed007e; background-color: #1e0010 } /* Error */
.esc { color: #f8f8f2 } /* Escape */
.g { color: #f8f8f2 } /* Generic */
.k { color: #66d9ef } /* Keyword */
.l { color: #ae81ff } /* Literal */
.n { color: #f8f8f2 } /* Name */
.o { color: #f92672 } /* Operator */
.o { color: #ff4689 } /* Operator */
.x { color: #f8f8f2 } /* Other */
.p { color: #f8f8f2 } /* Punctuation */
.ch { color: #75715e } /* Comment.Hashbang */
.cm { color: #75715e } /* Comment.Multiline */
.cp { color: #75715e } /* Comment.Preproc */
.cpf { color: #75715e } /* Comment.PreprocFile */
.c1 { color: #75715e } /* Comment.Single */
.cs { color: #75715e } /* Comment.Special */
.gd { color: #f92672 } /* Generic.Deleted */
.ch { color: #959077 } /* Comment.Hashbang */
.cm { color: #959077 } /* Comment.Multiline */
.cp { color: #959077 } /* Comment.Preproc */
.cpf { color: #959077 } /* Comment.PreprocFile */
.c1 { color: #959077 } /* Comment.Single */
.cs { color: #959077 } /* Comment.Special */
.gd { color: #ff4689 } /* Generic.Deleted */
.ge { color: #f8f8f2; font-style: italic } /* Generic.Emph */
.ges { color: #f8f8f2; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.gr { color: #f8f8f2 } /* Generic.Error */
.gh { color: #f8f8f2 } /* Generic.Heading */
.gi { color: #a6e22e } /* Generic.Inserted */
.go { color: #66d9ef } /* Generic.Output */
.gp { color: #f92672; font-weight: bold } /* Generic.Prompt */
.gp { color: #ff4689; font-weight: bold } /* Generic.Prompt */
.gs { color: #f8f8f2; font-weight: bold } /* Generic.Strong */
.gu { color: #75715e } /* Generic.Subheading */
.gu { color: #959077 } /* Generic.Subheading */
.gt { color: #f8f8f2 } /* Generic.Traceback */
.kc { color: #66d9ef } /* Keyword.Constant */
.kd { color: #66d9ef } /* Keyword.Declaration */
.kn { color: #f92672 } /* Keyword.Namespace */
.kn { color: #ff4689 } /* Keyword.Namespace */
.kp { color: #66d9ef } /* Keyword.Pseudo */
.kr { color: #66d9ef } /* Keyword.Reserved */
.kt { color: #66d9ef } /* Keyword.Type */
@@ -51,9 +52,9 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.nn { color: #f8f8f2 } /* Name.Namespace */
.nx { color: #a6e22e } /* Name.Other */
.py { color: #f8f8f2 } /* Name.Property */
.nt { color: #f92672 } /* Name.Tag */
.nt { color: #ff4689 } /* Name.Tag */
.nv { color: #f8f8f2 } /* Name.Variable */
.ow { color: #f92672 } /* Operator.Word */
.ow { color: #ff4689 } /* Operator.Word */
.pm { color: #f8f8f2 } /* Punctuation.Marker */
.w { color: #f8f8f2 } /* Text.Whitespace */
.mb { color: #ae81ff } /* Literal.Number.Bin */

View File

@@ -16,6 +16,7 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
.cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
.gd { color: #A00000 } /* Generic.Deleted */
.ge { font-style: italic } /* Generic.Emph */
.ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.gr { color: #E40000 } /* Generic.Error */
.gh { color: #000080; font-weight: bold } /* Generic.Heading */
.gi { color: #008400 } /* Generic.Inserted */

View File

@@ -1,33 +1,16 @@
@import "code-light.css" (prefers-color-scheme: light);
@import "code-dark.css" (prefers-color-scheme: dark);
@media (prefers-color-scheme: light) {
:root {
--background: #FFFFFF;
--background-dim: #f5f7f9;
--foreground: #2B303A;
--foreground-dim: #576379;
--foreground-heavy: #191C22;
--primary-color: #375287;
}
:root {
color-scheme: light dark;
--background: light-dark(#FFFFFF, #2B363B);
--background-dim: light-dark(#f5f7f9, #2F3C42);
--foreground: light-dark(#2B303A, #f0f2f3);
--foreground-dim: light-dark(#576379, #d5d5d5);
--foreground-heavy: light-dark(#191C22, #f2f4f5);
--primary-color: light-dark(#375287, #A1C5FF);
}
@media (prefers-color-scheme: dark) {
:root {
--background: #2B363B;
--background-dim: #2F3C42;
--foreground: #f0f2f3;
--foreground-dim: #d5d5d5;
--foreground-heavy: #f2f4f5;
--primary-color: #A1C5FF;
}
}
html {
font-size: 18px;
font-family: serif;
@@ -48,6 +31,10 @@ aside {
color: var(--foreground-dim);
}
img {
max-width: 100%;
}
h1,
h2,
h3,

View File

@@ -1 +1,3 @@
__VERSION__ = "2.0.0"
"""Version information for the blag package."""
__VERSION__ = "2.3.2"

View File

@@ -1 +1 @@
site/
site/*

28
debian/blag.1 vendored Normal file
View File

@@ -0,0 +1,28 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH BLAG "1" "July 2024" "blag 2.3.0" "User Commands"
.SH NAME
blag \- blog-aware, static site generator
.SH DESCRIPTION
usage: blag [\-h] [\-\-version] [\-v] {build,quickstart,serve} ...
.SS "positional arguments:"
.IP
{build,quickstart,serve}
.TP
build
Build website.
.TP
quickstart
Quickstart blag, creating necessary configuration.
.TP
serve
Start development server.
.SS "options:"
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-\-version\fR
show program's version number and exit
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Verbose output.

61
debian/changelog vendored
View File

@@ -1,3 +1,64 @@
blag (2.3.2) unstable; urgency=medium
* Ignore FileNotFoundError when trying to get the last modified time of
files in directories. This happens for example with temporary emacs files.
* Added changelog to docs
* removed ruff's target-version from pyproject.toml, this value defaults to
the projects requires-python
-- Bastian Venthur <venthur@debian.org> Sun, 13 Oct 2024 20:12:29 +0200
blag (2.3.1) unstable; urgency=medium
* added manpage
* added makefile target for generating blog's manpage
* added makefile target for serving blags docs locally
* mkdocs: disabled loading of google fonts, using locally installed system
fonts instead
* Debian: simplified html docs directory for blag-doc package
* Debian: changed section in debian/control from Python to Web
* updated dependencies
-- Bastian Venthur <venthur@debian.org> Sat, 06 Jul 2024 15:33:36 +0200
blag (2.3.0) unstable; urgency=medium
* fixed devsever so it does not crash anymore when the (re-)build fails
* dropped support for Python 3.8 and 3.9
* updated dependencies
-- Bastian Venthur <venthur@debian.org> Wed, 24 Apr 2024 22:25:31 +0200
blag (2.2.1) unstable; urgency=medium
* fixed suggests field to blag-doc (Closes: #1055769)
-- Bastian Venthur <venthur@debian.org> Sat, 11 Nov 2023 10:57:06 +0100
blag (2.2.0) unstable; urgency=medium
* switched from flake8 to ruff
* added missing docstrings
* fixed dev requirements in pyproject, still pointing to sphinx
* added Python3.12 to test suite
* removed watch file again
-- Bastian Venthur <venthur@debian.org> Sun, 05 Nov 2023 17:08:09 +0100
blag (2.1.0) unstable; urgency=medium
* default theme: `img` have now `max-width: 100%` by default to avoid very
large images overflowing
* packaging: explicitly list `templates`, `static` and `content` as packages
instead of relying on package-data for setuptools. additionally, created a
MANIFEST.in to add the contents of these directories here as well. the
automatic finding of namespace packages and packaga-data, currently does
not work as advertised in setuptools' docs
* updated dependencies
* created debian/watch
-- Bastian Venthur <venthur@debian.org> Sun, 27 Aug 2023 15:27:39 +0200
blag (2.0.0) unstable; urgency=medium
* new upstream version

26
debian/control vendored
View File

@@ -1,24 +1,24 @@
Source: blag
Section: python
Section: web
Priority: optional
Maintainer: Bastian Venthur <venthur@debian.org>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
dh-sequence-python3,
dh-python,
pybuild-plugin-pyproject,
python3-setuptools,
python3-all,
python3-markdown,
python3-feedgenerator,
python3-jinja2,
python3-pygments,
python3-pytest,
python3-pytest-cov,
dh-sequence-python3,
mkdocs,
mkdocs-material,
mkdocstrings-python-handlers,
pybuild-plugin-pyproject,
python3-all,
python3-feedgenerator,
python3-jinja2,
python3-markdown,
python3-pygments,
python3-pytest,
python3-pytest-cov,
python3-setuptools,
#Testsuite: autopkgtest-pkg-python
Standards-Version: 4.6.0.1
Homepage: https://github.com/venthur/blag
@@ -28,10 +28,10 @@ Vcs-Git: https://github.com/venthur/blag.git
Package: blag
Architecture: all
Depends:
${python3:Depends},
${misc:Depends},
${python3:Depends},
Suggests:
python-blag-doc,
blag-doc,
Description: Blog-aware, static site generator
Blag is a blog-aware, static site generator, written in Python. It supports
the following features:

1
debian/manpages vendored Normal file
View File

@@ -0,0 +1 @@
debian/blag.1

1
docs/CHANGELOG.md Symbolic link
View File

@@ -0,0 +1 @@
../CHANGELOG.md

BIN
docs/blag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

@@ -16,14 +16,15 @@ blag is named after [the blag of the webcomic xkcd][blagxkcd].
## Features
* Write content in [Markdown][]
* Good looking default theme
* Good looking default theme:
![Blag Screenshot](blag.png)
* Theming support using [Jinja2][] templates
* Generation of Atom feeds for blog content
* Fenced code blocks and syntax highlighting using [Pygments][]
* Integrated devserver
* Available on [PyPI][]
blag runs on Linux, Mac and Windows and requires Python >= 3.8
blag runs on Linux, Mac and Windows and requires Python >= 3.10
[markdown]: https://daringfireball.net/projects/markdown/
[jinja2]: https://palletsprojects.com/p/jinja/

View File

@@ -13,10 +13,13 @@ nav:
- blag.markdown: markdown.md
- blag.devserver: devserver.md
- blag.quickstart: quickstart.md
- Changelog: CHANGELOG.md
theme:
name: material
highlightjs: true
# disable google fonts, use system fonts
font: false
markdown_extensions:
- pymdownx.superfences

View File

@@ -11,7 +11,7 @@ description = "blog-aware, static site generator"
keywords = ["markdown", "blag", "blog", "static site generator", "cli"]
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.8"
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"markdown",
@@ -31,12 +31,14 @@ blag = "blag.blag:main"
[project.optional-dependencies]
dev = [
"build",
"sphinx",
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
"twine",
"wheel",
"pytest",
"pytest-cov",
"flake8",
"ruff",
"mypy",
"types-markdown",
]
@@ -47,16 +49,12 @@ version = {attr = "blag.__VERSION__" }
[tool.setuptools]
packages = [
"blag",
"blag.templates",
"blag.static",
"blag.content",
"tests",
]
[tool.setuptools.package-data]
blag = [
"templates/*",
"static/*",
"content/*",
]
[tool.pytest.ini_options]
addopts = """
--cov=blag
@@ -65,6 +63,20 @@ addopts = """
--cov-report=term-missing:skip-covered
"""
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = [
"F", # pyflakes
"E", "W", # pycodestyle
"C90", # mccabe
"I", # isort
"D", # pydocstyle
"UP" # pyupgrade
]
pydocstyle.convention = "numpy"
[tool.mypy]
files = "blag,tests"
strict = true

View File

@@ -1,11 +1,11 @@
build==0.10.0
mkdocs==1.4.3
mkdocs-material==9.1.15
mkdocstrings[python]==0.20.0
twine==4.0.2
wheel==0.40.0
pytest==7.3.2
pytest-cov==4.0.0
flake8==6.0.0
mypy==1.2.0
types-markdown==3.4.2.9
build==1.2.2.post1
mkdocs==1.6.1
mkdocs-material==9.5.49
mkdocstrings[python]==0.27.0
twine==6.0.1
wheel==0.45.1
pytest==8.3.4
pytest-cov==6.0.0
ruff==0.8.4
mypy==1.14.0
types-markdown==3.7.0.20241204

View File

@@ -1,4 +1,4 @@
markdown==3.4.3
feedgenerator==2.0.0
jinja2==3.1.2
pygments==2.15.1
markdown==3.7
feedgenerator==2.1.0
jinja2==3.1.5
pygments==2.18.0

View File

@@ -0,0 +1 @@
"""Tests for blag."""

37
tests/benchmark.py Normal file
View File

@@ -0,0 +1,37 @@
"""Benchmark the performance of the blag build command."""
import logging
import os
from argparse import Namespace
from pytest import LogCaptureFixture
import blag
from blag.blag import build
def test_performance(args: Namespace, caplog: LogCaptureFixture) -> None:
"""Test performance of the build command."""
caplog.set_level(logging.ERROR)
FILES = 10000
print(f"Generating {FILES} markdown files")
# create random markdown files in the content directory
with open(os.path.join(blag.__path__[0], "content", "testpage.md")) as fh:
markdown = fh.read()
for i in range(FILES):
with open(f"content/{i}.md", "w") as f:
f.write(markdown)
f.write(str(i))
from time import time
t = time()
build(args)
t_first = time() - t
t = time()
build(args)
t_second = time() - t
print(f"First run: {t_first:.2f}s, second run: {t_second:.2f}s")
print(f"Speedup: {t_first/t_second:.2f}")

View File

@@ -1,10 +1,9 @@
# remove when we don't support py38 anymore
from __future__ import annotations
"""Pytest fixtures."""
import os
from argparse import Namespace
from collections.abc import Callable, Iterator
from tempfile import TemporaryDirectory
from typing import Callable, Iterator
import pytest
from jinja2 import Environment, Template
@@ -14,6 +13,7 @@ from blag import blag, quickstart
@pytest.fixture
def environment(cleandir: str) -> Iterator[Environment]:
"""Create a Jinja2 environment."""
site = {
"base_url": "site base_url",
"title": "site title",
@@ -26,31 +26,37 @@ def environment(cleandir: str) -> Iterator[Environment]:
@pytest.fixture
def page_template(environment: Environment) -> Iterator[Template]:
"""Create a Jinja2 page-template."""
yield environment.get_template("page.html")
@pytest.fixture
def article_template(environment: Environment) -> Iterator[Template]:
"""Create a Jinja2 article-template."""
yield environment.get_template("article.html")
@pytest.fixture
def index_template(environment: Environment) -> Iterator[Template]:
"""Create a Jinja2 index-template."""
yield environment.get_template("index.html")
@pytest.fixture
def archive_template(environment: Environment) -> Iterator[Template]:
"""Create a Jinja2 archive-template."""
yield environment.get_template("archive.html")
@pytest.fixture
def tags_template(environment: Environment) -> Iterator[Template]:
"""Create a Jinja2 tags-template."""
yield environment.get_template("tags.html")
@pytest.fixture
def tag_template(environment: Environment) -> Iterator[Template]:
"""Create a Jinja2 tag-template."""
yield environment.get_template("tag.html")
@@ -80,6 +86,7 @@ author = a. u. thor
@pytest.fixture
def args(cleandir: Callable[[], Iterator[str]]) -> Iterator[Namespace]:
"""Create a Namespace with default arguments."""
args = Namespace(
input_dir="content",
output_dir="build",

View File

@@ -1,5 +1,4 @@
# remove when we don't support py38 anymore
from __future__ import annotations
"""Test blag."""
import os
from argparse import Namespace
@@ -15,12 +14,14 @@ from blag import __VERSION__, blag
def test_generate_feed(cleandir: str) -> None:
"""Test generate_feed."""
articles: list[tuple[str, dict[str, Any]]] = []
blag.generate_feed(articles, "build", " ", " ", " ", " ")
assert os.path.exists("build/atom.xml")
def test_feed(cleandir: str) -> None:
"""Test feed."""
articles: list[tuple[str, dict[str, Any]]] = [
(
"dest1.html",
@@ -73,6 +74,7 @@ def test_feed(cleandir: str) -> None:
def test_generate_feed_with_description(cleandir: str) -> None:
"""Test generate_feed with description."""
# if a description is provided, it will be used as the summary in
# the feed, otherwise we simply use the title of the article
articles: list[tuple[str, dict[str, Any]]] = [
@@ -98,6 +100,7 @@ def test_generate_feed_with_description(cleandir: str) -> None:
def test_parse_args_build() -> None:
"""Test parse_args with build."""
# test default args
args = blag.parse_args(["build"])
assert args.input_dir == "content"
@@ -131,6 +134,7 @@ def test_parse_args_build() -> None:
def test_get_config() -> None:
"""Test get_config."""
config = """
[main]
base_url = https://example.com/
@@ -180,6 +184,7 @@ author = a. u. thor
def test_environment_factory(cleandir: str) -> None:
"""Test environment_factory."""
globals_: dict[str, object] = {"foo": "bar", "test": "me"}
env = blag.environment_factory("templates", globals_=globals_)
assert env.globals["foo"] == "bar"
@@ -191,6 +196,7 @@ def test_process_markdown(
page_template: Template,
article_template: Template,
) -> None:
"""Test process_markdown."""
page1 = """\
title: some page
@@ -240,6 +246,7 @@ foo bar
def test_build(args: Namespace) -> None:
"""Test build."""
page1 = """\
title: some page
@@ -313,16 +320,19 @@ foo bar
],
)
def test_missing_template_raises(template: str, args: Namespace) -> None:
"""Test that missing templates raise SystemExit."""
os.remove(f"templates/{template}")
with pytest.raises(SystemExit):
blag.build(args)
def test_main(cleandir: str) -> None:
"""Test main."""
blag.main(["build"])
def test_cli_version(capsys: CaptureFixture[str]) -> None:
"""Test --version."""
with pytest.raises(SystemExit) as ex:
blag.main(["--version"])
# normal system exit
@@ -333,6 +343,7 @@ def test_cli_version(capsys: CaptureFixture[str]) -> None:
def test_cli_verbose(cleandir: str, caplog: LogCaptureFixture) -> None:
"""Test --verbose."""
blag.main(["build"])
assert "DEBUG" not in caplog.text

View File

@@ -1,27 +1,27 @@
# remove when we don't support py38 anymore
from __future__ import annotations
"""Tests for the devserver module."""
import threading
import time
from argparse import Namespace
import pytest
from blag import devserver
WAITTIME = 0.1
def test_get_last_modified(cleandir: str) -> None:
"""Test get_last_modified."""
# take initial time
t1 = devserver.get_last_modified(["content"])
# wait a bit, create a file and measure again
time.sleep(0.1)
time.sleep(WAITTIME)
with open("content/test", "w") as fh:
fh.write("boo")
t2 = devserver.get_last_modified(["content"])
# wait a bit and take time again
time.sleep(0.1)
time.sleep(WAITTIME)
t3 = devserver.get_last_modified(["content"])
assert t2 > t1
@@ -29,20 +29,21 @@ def test_get_last_modified(cleandir: str) -> None:
def test_autoreload_builds_immediately(args: Namespace) -> None:
"""Test autoreload builds immediately."""
# create a dummy file that can be build
with open("content/test.md", "w") as fh:
fh.write("boo")
t = threading.Thread(
target=devserver.autoreload,
args=(args,),
args=(args, WAITTIME),
daemon=True,
)
t0 = devserver.get_last_modified(["build"])
t.start()
# try for 5 seconds...
for i in range(5):
time.sleep(1)
time.sleep(WAITTIME)
t1 = devserver.get_last_modified(["build"])
print(t1)
if t1 > t0:
@@ -50,13 +51,11 @@ def test_autoreload_builds_immediately(args: Namespace) -> None:
assert t1 > t0
@pytest.mark.filterwarnings(
"ignore::pytest.PytestUnhandledThreadExceptionWarning"
)
def test_autoreload(args: Namespace) -> None:
"""Test autoreload."""
t = threading.Thread(
target=devserver.autoreload,
args=(args,),
args=(args, WAITTIME),
daemon=True,
)
t.start()
@@ -69,8 +68,32 @@ def test_autoreload(args: Namespace) -> None:
# try for 5 seconds to see if we rebuild once...
for i in range(5):
time.sleep(1)
time.sleep(WAITTIME)
t1 = devserver.get_last_modified(["build"])
if t1 > t0:
break
assert t1 > t0
def test_autoreload_does_not_crash(args: Namespace) -> None:
"""Test autoreload does not crash if build fails."""
t = threading.Thread(
target=devserver.autoreload,
args=(args, WAITTIME),
daemon=True,
)
t.start()
t0 = devserver.get_last_modified(["build"])
# create a file that causes build to crash
with open("content/test.md", "w") as fh:
fh.write("date: ")
# try for 5 seconds to see if we rebuild once...
for i in range(5):
time.sleep(WAITTIME)
t1 = devserver.get_last_modified(["build"])
if t1 > t0:
break
assert t.is_alive()

View File

@@ -1,5 +1,4 @@
# remove when we don't support py38 anymore
from __future__ import annotations
"""Test markdown module."""
from datetime import datetime
from typing import Any
@@ -34,6 +33,7 @@ from blag.markdown import convert_markdown, markdown_factory
],
)
def test_convert_markdown_links(input_: str, expected: str) -> None:
"""Test convert_markdown."""
md = markdown_factory()
html, _ = convert_markdown(md, input_)
assert expected in html
@@ -51,6 +51,7 @@ def test_convert_markdown_links(input_: str, expected: str) -> None:
],
)
def test_dont_convert_normal_links(input_: str, expected: str) -> None:
"""Test convert_markdown doesn't convert normal links."""
md = markdown_factory()
html, _ = convert_markdown(md, input_)
assert expected in html
@@ -70,17 +71,20 @@ def test_dont_convert_normal_links(input_: str, expected: str) -> None:
],
)
def test_convert_metadata(input_: str, expected: dict[str, Any]) -> None:
"""Test convert_markdown converts metadata correctly."""
md = markdown_factory()
_, meta = convert_markdown(md, input_)
assert expected == meta
def test_markdown_factory() -> None:
"""Test markdown_factory."""
md = markdown_factory()
assert isinstance(md, markdown.Markdown)
def test_smarty() -> None:
"""Test smarty."""
md = markdown_factory()
md1 = """
@@ -95,6 +99,7 @@ this --- is -- a test ...
def test_smarty_code() -> None:
"""Test smarty doesn't touch code."""
md = markdown_factory()
md1 = """

View File

@@ -1,5 +1,4 @@
# remove when we don't support py38 anymore
from __future__ import annotations
"""Tests for the quickstart module."""
import os
@@ -9,21 +8,24 @@ from blag.quickstart import get_input, quickstart
def test_get_input_default_answer(monkeypatch: MonkeyPatch) -> None:
"""Test get_input with default answer."""
monkeypatch.setattr("builtins.input", lambda x: "")
answer = get_input("foo", "bar")
assert answer == "bar"
def test_get_input(monkeypatch: MonkeyPatch) -> None:
"""Test get_input."""
monkeypatch.setattr("builtins.input", lambda x: "baz")
answer = get_input("foo", "bar")
assert answer == "baz"
def test_quickstart(cleandir: str, monkeypatch: MonkeyPatch) -> None:
"""Test quickstart."""
monkeypatch.setattr("builtins.input", lambda x: "foo")
quickstart(None)
with open("config.ini", "r") as fh:
with open("config.ini") as fh:
data = fh.read()
assert "base_url = foo" in data
assert "title = foo" in data

View File

@@ -1,5 +1,4 @@
# remove when we don't support py38 anymore
from __future__ import annotations
"""Test the templates."""
import datetime
@@ -7,6 +6,7 @@ from jinja2 import Template
def test_page(page_template: Template) -> None:
"""Test the page template."""
ctx = {
"content": "this is the content",
"title": "this is the title",
@@ -17,6 +17,7 @@ def test_page(page_template: Template) -> None:
def test_article(article_template: Template) -> None:
"""Test the article template."""
ctx = {
"content": "this is the content",
"title": "this is the title",
@@ -29,6 +30,7 @@ def test_article(article_template: Template) -> None:
def test_index(index_template: Template) -> None:
"""Test the index template."""
entry = {
"title": "this is a title",
"dst": "https://example.com/link",
@@ -49,6 +51,7 @@ def test_index(index_template: Template) -> None:
def test_archive(archive_template: Template) -> None:
"""Test the archive template."""
entry = {
"title": "this is a title",
"dst": "https://example.com/link",
@@ -67,6 +70,7 @@ def test_archive(archive_template: Template) -> None:
def test_tags(tags_template: Template) -> None:
"""Test the tags template."""
tags = [("foo", 42)]
ctx = {
"tags": tags,
@@ -80,6 +84,7 @@ def test_tags(tags_template: Template) -> None:
def test_tag(tag_template: Template) -> None:
"""Test the tag template."""
entry = {
"title": "this is a title",
"dst": "https://example.com/link",

View File

@@ -1,8 +1,8 @@
# remove when we don't support py38 anymore
from __future__ import annotations
"""Test the version module."""
import blag
def test_version() -> None:
"""Test the version of the package."""
assert isinstance(blag.__VERSION__, str)