Skip to content

Commit

Permalink
Merge pull request #48 from mxstack/petschki-package-capital-name-com…
Browse files Browse the repository at this point in the history
…ment

Do not add package with capital names uncommented at the bottom
  • Loading branch information
jensens committed Sep 23, 2024
2 parents 5d046d8 + 5c54787 commit 0c3a398
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

## 4.0.4 (unreleased)

- nothing yet
- Fix #47: Do not add packages with capital names uncommented at the bottom ignore list when checked out.
[petschki]

## 4.0.3 (2024-05-17)

Expand Down
2 changes: 1 addition & 1 deletion src/mxdev/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def write_dev_overrides(
fio.write("#" * 79 + "\n")
fio.write("# mxdev constraint overrides\n")
for pkg, line in overrides.items():
if pkg in package_keys:
if pkg.lower() in [k.lower() for k in package_keys]:
fio.write(
f"# {line} IGNORE mxdev constraint override. Source override wins!\n"
)
Expand Down

0 comments on commit 0c3a398

Please sign in to comment.