From f3bc494afb345d21b69eeea10a91d8ee98df990e Mon Sep 17 00:00:00 2001 From: Ivan Schaller Date: Mon, 15 Aug 2022 14:44:31 +0200 Subject: [PATCH] updated dependencies --- contrib/requirements_dev.txt | 1 + justfile | 4 ++++ pyproject.toml | 16 ++++++++++++++++ 3 files changed, 21 insertions(+) diff --git a/contrib/requirements_dev.txt b/contrib/requirements_dev.txt index ab852b8..8f13f63 100644 --- a/contrib/requirements_dev.txt +++ b/contrib/requirements_dev.txt @@ -13,3 +13,4 @@ pylint>=2.13.0 mypy>=0.940 tox>=3.24.5 autoflake>=1.4 +pylama>=8.3.8 diff --git a/justfile b/justfile index ad6e8af..3398cf1 100755 --- a/justfile +++ b/justfile @@ -67,6 +67,10 @@ create_venv: @python3 -m pip install --upgrade pip setuptools wheel @python3 -m venv venv +install_deps: + @echo "installing dependencies" + @pip3 install -r contrib/requirements_dev.txt + test_shfmt: @find . -type f \( -name "**.sh" -and -not -path "./venv/*" -and -not -path "./.tox/*" \) -exec shfmt -d -i 4 -bn -ci -sr "{}" \+; diff --git a/pyproject.toml b/pyproject.toml index 9afe30f..5c37d3d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,6 +51,22 @@ packages = ["mangadlp"] [tool.hatch.build.targets.wheel] packages = ["mangadlp"] +[tool.hatch.envs.default] +dependencies = [ + "img2pdf>=0.4.4", + "hatch>=1.2.1", + "hatchling>=1.4.1", + "pytest>=7.0.0", + "coverage>=6.3.1", + "black>=22.1.0", + "isort>=5.10.0", + "pylint>=2.13.0", + "mypy>=0.940", + "tox>=3.24.5", + "autoflake>=1.4", + "pylama>=8.3.8", +] + [tool.isort] py_version = 39 skip_gitignore = true