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

Run linting outside Docker #479

Merged
merged 1 commit into from
Dec 2, 2022
Merged

Run linting outside Docker #479

merged 1 commit into from
Dec 2, 2022

Conversation

grahamalama
Copy link
Contributor

Addresses #462

Copy link
Contributor

@bsieber-mozilla bsieber-mozilla left a comment

Choose a reason for hiding this comment

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

This is looking good to me! Moving linting checks outside of docker is a great proposition!

@grahamalama grahamalama marked this pull request as ready for review December 1, 2022 13:51
@grahamalama grahamalama requested a review from a team as a code owner December 1, 2022 13:51
Copy link
Contributor

@leplatrem leplatrem left a comment

Choose a reason for hiding this comment

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

Thanks!

That's a lot more convenient without Docker.

I faced this when running make lint:

Installing dependencies from lock file

No dependencies to install or update
touch .venv/.install.stamp
touch: .venv/.install.stamp: No such file or directory
make: *** [.venv/.install.stamp] Error 1

That's because I had a virtualenv already in use, and poetry wouldn't recreate a new one in .venv. Deleting it solved the issue:

poetry env list
poetry env remove ctms-GGbMHGG7-py3.10

@grahamalama grahamalama merged commit df7c904 into main Dec 2, 2022
@grahamalama grahamalama deleted the run-linting-outside-docker branch December 2, 2022 13:09
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