FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore(build): improve devcontainers setup with poetry by bearrito · Pull Request #506 · testcontainers/testcontainers-python · GitHub

chore(build): improve devcontainers setup with poetry - #506

Merged
totallyzen merged 5 commits into
testcontainers:mainfrom
bearrito:feature/build-image-with-poetry
Mar 30, 2024
Merged

chore(build): improve devcontainers setup with poetry#506
totallyzen merged 5 commits into
testcontainers:mainfrom
bearrito:feature/build-image-with-poetry

Conversation

bearrito commented Mar 26, 2024
edited
Loading

Copy link
Copy Markdown
Contributor
  1. Replaces uses an image directly.
  2. Creates a custom image, still based off the original Image.
  3. Installs poetry inside the container. This saves the user about 20 seconds every container load.
  4. Installs pre-commit in the container. Saves more time.
  5. Enables pre-commit. From inside the container the user cannot commit without pre-commit running.
  6. Adds in git autocomplete to the container (see screenshot)
  7. Adds in poetry autocomplete to the container (see screenshot)

alexanderankin changed the title feat: Feature/build image with poetry chore: Feature/build image with poetry Mar 30, 2024

Copy link
Copy Markdown
Member

i tested my new approach but i think it makes sense for you to see if it works for you, given that i dont use this all that much and may not be testing it the same way.

Copy link
Copy Markdown
Contributor Author

@alexanderankin No this is good, Much cleaner. I really just needed a way to get the completions in there.

totallyzen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM, thank you! ❤️

totallyzen changed the title chore: Feature/build image with poetry chore(build): improve devcontainers setup with poetry Mar 30, 2024
totallyzen merged commit 8fb4bcc into testcontainers:main Mar 30, 2024
bearrito added a commit to bearrito/testcontainers-python that referenced this pull request Mar 30, 2024
…#506)

1. Replaces uses an image directly.
2. Creates a custom image, still based off the original Image.
3. Installs poetry inside the container. This saves the user about 20
seconds every container load.
4. Installs `pre-commit` in the container. Saves more time.
5. Enables `pre-commit`. From inside the container the user cannot
commit without `pre-commit` running.
6. Adds in git autocomplete to the container (see screenshot)
7. Adds in poetry autocomplete to the container (see screenshot)

![devcontainer-completion](https://github.com/testcontainers/testcontainers-python/assets/1908139/11446f78-4fbf-4d08-a997-043ae1632919)

---------

Co-authored-by: bstrausser <bstrausser@locusrobotics.com>
Co-authored-by: David Ankin <daveankin@gmail.com>
Co-authored-by: Bálint Bartha <39852431+totallyzen@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL