-
Notifications
You must be signed in to change notification settings - Fork 0
Create dependabot.yml #32
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
Changes from all commits
b966146
e5356ac
7feefbe
5cdf10d
8522757
e995700
009e60f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # To get started with Dependabot version updates, you'll need to specify which | ||
| # package ecosystems to update and where the package manifests are located. | ||
| # Please see the documentation for all configuration options: | ||
| # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
|
||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: "pip" | ||
| directory: "/" # Location of package manifests | ||
| schedule: | ||
| interval: "weekly" | ||
| - package-ecosystem: "npm" | ||
| directory: "/frontend" # Location of package manifests | ||
| schedule: | ||
| interval: "weekly" | ||
| - package-ecosystem: "docker" | ||
| directory: "/" # Location of package manifests | ||
| schedule: | ||
| interval: "weekly" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| [pytest] | ||
| testpaths = tests | ||
| python_files = test_*.py | ||
| python_classes = Test* | ||
| python_functions = test_* | ||
| addopts = -v --tb=short | ||
| markers = | ||
| slow: marks tests as slow (deselect with '-m "not slow"') | ||
| integration: marks tests as integration tests | ||
| unit: marks tests as unit tests |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,4 @@ | ||||||||||||||||||
| pytest>=6.0.0 | ||||||||||||||||||
| pytest-mock>=3.0.0 | ||||||||||||||||||
| pytest-cov>=2.0.0 | ||||||||||||||||||
| mock>=4.0.0 | ||||||||||||||||||
|
Comment on lines
+1
to
+4
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) Consider using more specific version constraints for testing dependencies. Using Consider using more specific version constraints: -pytest>=6.0.0
-pytest-mock>=3.0.0
-pytest-cov>=2.0.0
-mock>=4.0.0
+pytest>=6.0.0,<9.0.0
+pytest-mock>=3.0.0,<4.0.0
+pytest-cov>=2.0.0,<5.0.0
+mock>=4.0.0,<6.0.0📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick (assertive)
Configuration looks correct and addresses previous concerns.
The Dependabot configuration properly specifies all three package ecosystems (pip, npm, docker) with appropriate directories. The weekly update schedule is a good default.
Consider using different update schedules based on ecosystem criticality. For example, security updates for production dependencies might warrant daily checks:
- package-ecosystem: "pip" directory: "/" # Location of package manifests schedule: interval: "weekly" + open-pull-requests-limit: 10 + groups: + python-dependencies: + patterns: + - "*" - package-ecosystem: "npm" directory: "/frontend" # Location of package manifests schedule: interval: "weekly" + open-pull-requests-limit: 10 - package-ecosystem: "docker" directory: "/" # Location of package manifests schedule: - interval: "weekly" + interval: "daily" # Docker base images should be checked more frequently for security updates📝 Committable suggestion
🤖 Prompt for AI Agents