Skip to content

Commit

Permalink
feature/mx-1591 fix install command (#31)
Browse files Browse the repository at this point in the history
# Changes

- use new --frozen-lockfile instead of deprecated --no-lock
- update ruff

# Fixed

- remove --no-editable flag to avoid installing local package into venv
  • Loading branch information
cutoffthetop authored Jun 19, 2024
1 parent 71137ce commit 39db8b8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions mex-{{ cookiecutter.project_name }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]

Expand All @@ -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" }
Expand Down

0 comments on commit 39db8b8

Please sign in to comment.