Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change template ci from poetry-lock to poetry-check; update default contact details #15

Merged
merged 3 commits into from
Mar 20, 2024

Conversation

kdutia
Copy link
Member

@kdutia kdutia commented Mar 20, 2024

as done in https://github.com/climatepolicyradar/metrics/pull/33. This checks consistency, rather than rerunning lock.

Also, poetry lock is replaced with poetry check --lock in new versions of poetry.

@kdutia kdutia requested review from harrisonpim and mpjuhasz March 20, 2024 13:38
@kdutia kdutia changed the title change template ci from poetry-lock to poetry-check change template ci from poetry-lock to poetry-check; update default contact details Mar 20, 2024
Copy link

@mpjuhasz mpjuhasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@@ -23,4 +23,4 @@ repos:
- repo: https://github.com/python-poetry/poetry
rev: '1.7.0'
hooks:
- id: poetry-lock
- id: poetry-check

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it not need the --lock arg here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

poetry check --lock refreshes the lock file; poetry check just checks compatibility. I think we want the former, what do you think?

@kdutia kdutia merged commit c242563 into main Mar 20, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants