Skip to content

Commit

Permalink
Enable dependabot (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard authored Nov 21, 2024
1 parent c7622f6 commit ad80c09
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 4 deletions.
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
updates:
- package-ecosystem: pip
directory: /docs/
schedule:
interval: monthly
allow:
# Allow only production updates for Sphinx
- dependency-name: sphinx
dependency-type: production
groups:
docs:
patterns:
- '*'
- package-ecosystem: github-actions
directory: /.github/workflows
schedule:
interval: monthly
groups:
workflows:
patterns:
- '*'
21 changes: 21 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ repos:
exclude: ^(conda\.)?recipe/meta.yaml
# catch git merge/rebase problems
- id: check-merge-conflict
# sort requirements files
- id: file-contents-sorter
files: |
(?x)^(
docs/requirements.txt |
tests/requirements.*\.txt
)
args: [--unique]
- repo: https://github.com/asottile/pyupgrade
rev: v3.18.0
hooks:
Expand All @@ -32,3 +40,16 @@ repos:
rev: 7.1.1
hooks:
- id: flake8
- repo: meta
# see https://pre-commit.com/#meta-hooks
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: local
hooks:
- id: git-diff
name: git diff
entry: git diff --exit-code
language: system
pass_filenames: false
always_run: true
6 changes: 2 additions & 4 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# used in sphinx documentation build
conda-package-streaming>=0.9.0
# docs
furo
mdit-py-plugins>=0.3.0
myst-parser
sphinx
sphinx-argparse
myst-parser
mdit-py-plugins>=0.3.0

0 comments on commit ad80c09

Please sign in to comment.