Skip to content
Merged
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
5 changes: 5 additions & 0 deletions .containerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Containerfile
.git*
dev.sh
tests/*
.[a-z]*
20 changes: 14 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
---
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
- package-ecosystem: "github-actions"
directory: "/"
groups:
actions:
patterns:
- "*"
schedule:
# Check for updates to GitHub Actions every week
interval: 'weekly'
- package-ecosystem: 'pip'
directory: '/'
interval: "weekly"
- package-ecosystem: "pip"
directory: "/"
groups:
pip:
patterns:
- "*"
schedule:
# Check for updates to GitHub Actions every week
interval: 'weekly'
interval: "weekly"
18 changes: 11 additions & 7 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
---
name: 'checks'
name: "checks"

'on':
"on":
pull_request:
branches:
- 'main'
- "main"

jobs:

pre-commit:
uses: broadinstitute/shared-workflows/.github/workflows/pre-commit.yaml@v2.4.0
uses: broadinstitute/shared-workflows/.github/workflows/pre-commit.yaml@v2.5.0
linting:
uses: broadinstitute/shared-workflows/.github/workflows/python-lint.yaml@v2.4.0
uses: broadinstitute/shared-workflows/.github/workflows/python-lint.yaml@v2.5.0
with:
use_pylama: false
use_ruff: true
unit-tests:
uses: broadinstitute/shared-workflows/.github/workflows/python-unit-test.yaml@v2.4.0
uses: broadinstitute/shared-workflows/.github/workflows/python-unit-test.yaml@v2.5.0
with:
python_package_name: pysudoers
run_coverage: false
test_runner: pytest
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
name: 'deploy'
name: "deploy"

'on':
"on":
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- "[0-9]+.[0-9]+.[0-9]+"

jobs:
pypi_deploy:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
name: 'test_deploy'
name: "test_deploy"

'on':
"on":
pull_request:
branches:
- 'main'
- "main"

jobs:
pypi_test_deploy:
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-ast
Expand All @@ -17,8 +17,7 @@ repos:
- --allow-missing-credentials
- id: detect-private-key
- id: end-of-file-fixer
exclude: '.bumpversion.cfg'
- id: fix-encoding-pragma
exclude: ".bumpversion.cfg"
- id: mixed-line-ending
- id: name-tests-test
args:
Expand All @@ -27,10 +26,11 @@ repos:
args:
- -b main
- id: trailing-whitespace
- repo: https://github.com/broadinstitute/mirrors-pylama.git
rev: v1.0.2
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
hooks:
- id: pylama
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:
Expand Down
Loading
Loading