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

chore: update dependencies #36

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
version: 2

updates:
# Enable version updates for poetry
- package-ecosystem: "pip"
# Shared configuration among all package ecosystems
<<: &package-setup
commit-message:
include: "scope"
prefix: "chore"
directory: "/"
labels:
- dependencies
reviewers:
- xmartlabs/python
schedule:
interval: "weekly"
# dependabot doesn't support poetry v2. See: https://github.com/dependabot/dependabot-core/issues/11237
open-pull-requests-limit: 0

# Enable version updates for Docker
- package-ecosystem: "docker"
<<: *package-setup
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"python.testing.unittestEnabled": false,
"python.testing.pytestArgs": [
"src/tests"
],
"python.testing.pytestEnabled": true
}
Comment on lines +1 to +7
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we move this to devcontainer.json file, under customizations -> vscode -> settings ?

Choose a reason for hiding this comment

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

What's the difference? Is there a reason why this shouldn't be here? As it is now, it works within the dev container and also in the host's environment.

Copy link
Contributor

Choose a reason for hiding this comment

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

There is no real difference, but since the vscode configs are now in the devcontainer.json, it was just to keep everything in one place. However, it's not necessary.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ USER root

# Add any other tool usefull during development to the following list, this won't be included
# in the deployment image.
ENV DEV_TOOLS="sudo curl nano"
ENV DEV_TOOLS="sudo curl nano postgresql-client"
RUN apt-get update \
&& apt-get install -y ${DEV_TOOLS}

Expand Down
Loading