From 55fa51e20b7925cbaf128939f84fa89832342288 Mon Sep 17 00:00:00 2001 From: Jack Cherng Date: Thu, 25 Apr 2024 12:34:44 +0800 Subject: [PATCH] chore: update deps Signed-off-by: Jack Cherng --- Makefile | 4 ++++ docs/Makefile | 28 ---------------------------- pyproject.toml | 2 +- requirements-dev.in | 2 +- requirements-dev.txt | 4 ++-- requirements-docs.txt | 27 ++++++++++++++++----------- 6 files changed, 24 insertions(+), 43 deletions(-) delete mode 100644 docs/Makefile diff --git a/Makefile b/Makefile index e7a54e1c..86f313f9 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,10 @@ ci-fix: @echo "========== fix: ruff (format) ==========" ruff format . +# ---- # +# docs # +# ---- # + .PHONY: docs-serve docs-serve: cd "docs/" && mkdocs serve diff --git a/docs/Makefile b/docs/Makefile deleted file mode 100644 index 85b3cb44..00000000 --- a/docs/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -UV_INSTALL_FLAGS := - -.phony: all -all: build - -.PHONY: install -install: - uv pip install $(UV_INSTALL_FLAGS) -r requirements.txt - -.PHONY: pip-compile -pip-compile: - uv pip compile --upgrade requirements.in -o requirements.txt - -.phony: serve -serve: - mkdocs serve - -.phony: build -build: clean - mkdocs build - -.phony: deploy -deploy: - mkdocs gh-deploy --force - -.phony: clean -clean: - rm -rf site/ diff --git a/pyproject.toml b/pyproject.toml index fda40900..749ec08c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ exclude = [ ] [tool.ruff.lint] -select = ["E", "F", "W", "I", "UP"] +select = ["E", "F", "W", "I", "UP", "FURB"] ignore = ["E203"] [tool.ruff.lint.per-file-ignores] diff --git a/requirements-dev.in b/requirements-dev.in index 69569acc..576967f3 100644 --- a/requirements-dev.in +++ b/requirements-dev.in @@ -1,2 +1,2 @@ mypy -ruff>=0.3 +ruff>=0.4 diff --git a/requirements-dev.txt b/requirements-dev.txt index dac9aced..05217891 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,8 +1,8 @@ # This file was autogenerated by uv via the following command: # uv pip compile requirements-dev.in -o requirements-dev.txt -mypy==1.9.0 +mypy==1.10.0 mypy-extensions==1.0.0 # via mypy -ruff==0.4.1 +ruff==0.4.4 typing-extensions==4.11.0 # via mypy diff --git a/requirements-docs.txt b/requirements-docs.txt index 8f4092d6..ae4405db 100644 --- a/requirements-docs.txt +++ b/requirements-docs.txt @@ -1,6 +1,6 @@ # This file was autogenerated by uv via the following command: # uv pip compile requirements-docs.in -o requirements-docs.txt -babel==2.14.0 +babel==2.15.0 # via # mkdocs-git-revision-date-localized-plugin # mkdocs-material @@ -27,7 +27,7 @@ htmlmin2==0.1.13 # via mkdocs-minify-plugin idna==3.7 # via requests -jinja2==3.1.3 +jinja2==3.1.4 # via # mkdocs # mkdocs-material @@ -43,16 +43,20 @@ markupsafe==2.1.5 # jinja2 # mkdocs mergedeep==1.3.4 - # via mkdocs -mkdocs==1.5.3 + # via + # mkdocs + # mkdocs-get-deps +mkdocs==1.6.0 # via # mkdocs-exclude # mkdocs-git-revision-date-localized-plugin # mkdocs-material # mkdocs-minify-plugin mkdocs-exclude==1.0.2 -mkdocs-git-revision-date-localized-plugin==1.2.4 -mkdocs-material==9.5.18 +mkdocs-get-deps==0.2.0 + # via mkdocs +mkdocs-git-revision-date-localized-plugin==1.2.5 +mkdocs-material==9.5.21 mkdocs-material-extensions==1.3.1 # via mkdocs-material mkdocs-minify-plugin==0.8.0 @@ -62,11 +66,11 @@ paginate==0.5.6 # via mkdocs-material pathspec==0.12.1 # via mkdocs -platformdirs==4.2.0 - # via mkdocs -pygments==2.17.2 +platformdirs==4.2.1 + # via mkdocs-get-deps +pygments==2.18.0 # via mkdocs-material -pymdown-extensions==10.8 +pymdown-extensions==10.8.1 # via mkdocs-material python-dateutil==2.9.0.post0 # via ghp-import @@ -75,11 +79,12 @@ pytz==2024.1 pyyaml==6.0.1 # via # mkdocs + # mkdocs-get-deps # pymdown-extensions # pyyaml-env-tag pyyaml-env-tag==0.1 # via mkdocs -regex==2024.4.16 +regex==2024.5.10 # via mkdocs-material requests==2.31.0 # via mkdocs-material