Skip to content

Commit

Permalink
update template (#12)
Browse files Browse the repository at this point in the history
* update template

* Delete .github/workflows/release.yaml.rej

* Delete setup.cfg.rej

---------

Co-authored-by: 0x2b3bfa0 <[email protected]>
Co-authored-by: Helio Machado <[email protected]>
  • Loading branch information
3 people authored Sep 12, 2023
1 parent aa81a18 commit a47ee21
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/iterative/cookiecutter-dvc-plugin",
"commit": "b5468040d24fba172720eaa61fb37dab48bda808",
"commit": "91159828cdce86290b97bf4985732651805523c4",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/update-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
update:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -23,4 +26,4 @@ jobs:
with:
commit-message: update template
title: update template
token: ${{ secrets.WORKFLOW_TOKEN }}
token: ${{ github.token }}
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ ci:
skip: [mypy, pylint]

repos:
- hooks:
- id: no rej
name: Check for .rej files
entry: .rej files found, fix conflicts from these rejected files.
language: fail
files: \.rej$
repo: local
- hooks:
- id: black
language_version: python3
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ load-plugins = ["pylint_pytest"]

[tool.pylint.message_control]
disable = [
"format", "refactoring", "spelling", "design", "no-self-use",
"invalid-name", "misplaced-comparison-constant", "duplicate-code", "fixme",
"format", "refactoring", "spelling", "design",
"invalid-name", "duplicate-code", "fixme",
"unused-wildcard-import", "cyclic-import", "wrong-import-order",
"wrong-import-position", "ungrouped-imports", "multiple-imports",
"logging-format-interpolation", "logging-fstring-interpolation",
Expand Down

0 comments on commit a47ee21

Please sign in to comment.