blakeNaccarato / copier-python

Copier template for Python projects
https://blakenaccarato.github.io/copier-python/
MIT License
4 stars 0 forks source link

Fix `sync.py` for `lock.json` existing but empty #415

Closed blakeNaccarato closed 2 months ago

blakeNaccarato commented 2 months ago

Description

Motivation and context

Test plan

Checklist

Terms

Summary by Sourcery

This pull request addresses a bug in sync.py where the script would fail if lock.json existed but was empty. It also includes the removal of unused lock files and updates the changelog to document the fix.

sourcery-ai[bot] commented 2 months ago

Reviewer's Guide by Sourcery

This pull request addresses an issue in sync.py where the script fails if lock.json exists but is empty. The changes include modifying the condition to check for an empty lock.json, adding a changelog entry, and removing obsolete lock files.

File-Level Changes

Files Changes
template/lock-high.json
template/lock.json
Removed obsolete lock files to clean up the template directory.

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - You can change your review settings at any time by accessing your [dashboard](https://sourcery.ai/dashboard): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.