Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperWA committed Apr 3, 2024
2 parents acf0963 + 0238cf1 commit 3cf9a5e
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 6 deletions.
36 changes: 36 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: 2
updates:
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
reviewers:
- "CasperWA"
labels:
- "CI/CD"
- "skip-changelog"
- "priority/low"
target-branch: "develop" # Temporary, use "main" when ready
groups:
actions:
patterns: ["*"]

# Python
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "03:52"
timezone: "Europe/Oslo"
reviewers:
- "CasperWA"
labels:
- "CI/CD"
- "skip-changelog"
- "priority/low"
target-branch: "develop" # Temporary, use "main" when ready
groups:
dependencies:
dependency-type: "production"
3 changes: 1 addition & 2 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
install_extras: '[dev]'

# pre-commit
run_pre-commit: true
python_version_pre-commit: '3.9'
run_pre-commit: false # Uses pre-commit.ci (see config file .pre-commit-config.yaml)

# pylint & safety
python_version_pylint_safety: '3.9'
Expand Down
18 changes: 14 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
# To install the git pre-commit hook run:
# pre-commit install
# To update the pre-commit hooks run:
# pre-commit autoupdate
# pre-commit.ci
ci:
autofix_commit_msg: |
[pre-commit.ci] auto fixes from pre-commit hooks
For more information, see https://pre-commit.ci
autofix_prs: true
autoupdate_branch: 'develop' # Use 'main' when ready
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
autoupdate_schedule: 'weekly'
skip: []
submodules: false

# hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand Down

0 comments on commit 3cf9a5e

Please sign in to comment.