diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e0ec33..aee20ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,12 +11,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changes +- use new --frozen-lockfile instead of deprecated --no-lock +- update ruff + ### Deprecated ### Removed ### Fixed +- remove --no-editable flag to avoid installing local package into venv + ### Security ## [0.3.0] - 2024-06-14 diff --git a/mex-{{ cookiecutter.project_name }}/.pre-commit-config.yaml b/mex-{{ cookiecutter.project_name }}/.pre-commit-config.yaml index 2a07a28..c81c026 100644 --- a/mex-{{ cookiecutter.project_name }}/.pre-commit-config.yaml +++ b/mex-{{ cookiecutter.project_name }}/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.8 + rev: v0.4.9 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/mex-{{ cookiecutter.project_name }}/pyproject.toml b/mex-{{ cookiecutter.project_name }}/pyproject.toml index 0ab6198..2b3a64c 100644 --- a/mex-{{ cookiecutter.project_name }}/pyproject.toml +++ b/mex-{{ cookiecutter.project_name }}/pyproject.toml @@ -16,7 +16,7 @@ optional-dependencies.dev = [ "pytest-random-order==1.1.1", "pytest-xdist==3.6.1", "pytest==8.2.2", - "ruff==0.4.8", + "ruff==0.4.9", "sphinx==7.3.7", ] @@ -42,7 +42,7 @@ distribution = true [tool.pdm.scripts] update-all = { cmd = "pdm update --group :all --update-all --save-compatible" } lock-all = { cmd = "pdm lock --group :all --refresh" } -install-all = { cmd = "pdm install --group :all --no-editable --no-lock" } +install-all = { cmd = "pdm install --group :all --frozen-lockfile" } export-all = { cmd = "pdm export --group :all --no-hashes -f requirements" } apidoc = { cmd = "pdm run sphinx-apidoc -f -o docs/source mex" } sphinx = { cmd = "pdm run sphinx-build -aE -b dirhtml docs docs/dist" }