Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

## 0.2.1

Fix project root dir detection.

## 0.2.0

Guarantee commands are run in the root project dir or else the custom
Expand Down
2 changes: 1 addition & 1 deletion dev_cmd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 John Sirois.
# Licensed under the Apache License, Version 2.0 (see LICENSE).

__version__ = "0.2.0"
__version__ = "0.2.1"
2 changes: 1 addition & 1 deletion dev_cmd/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def find_pyproject_toml() -> PyProjectToml:
module = Path(__file__)
start = module.parent
try:
dist_files = metadata.files("dev")
dist_files = metadata.files("dev-cmd")
if dist_files and any(module == dist_file.locate() for dist_file in dist_files):
# N.B.: We're running from an installed package; so use the PWD as the search start.
start = Path()
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.