Skip to content

Commit

Permalink
Chore: pre-commit autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 23, 2023
1 parent af0a3b5 commit e4aadb0
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/major-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Major release
about: Create a new major release
title: New major release
assignees: 'sesheta'
assignees: "sesheta"
labels: bot
---

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/minor-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Minor release
about: Create a new minor release
title: New minor release
assignees: 'sesheta'
assignees: "sesheta"
labels: bot
---

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/patch-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Patch release
about: Create a new patch release
title: New patch release
assignees: 'sesheta'
assignees: "sesheta"
labels: bot
---

Expand Down
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/POLISH_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Polish Notebook(s)

---

name: Polish Notebook(s)
about: Finalize notebooks prior to publishing or promoting

---

## Related Issues and Dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: "3.9"

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
python-version: "3.x"

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
python-version: "3.x"

- name: Install dependencies
run: |
Expand Down
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
ci:
autofix_commit_msg: 'Chore: pre-commit autoupdate'
autofix_commit_msg: "Chore: pre-commit autoupdate"
skip:
# pre-commit.ci cannot install WGET, so tomlint must be disabled
- tomllint
Expand All @@ -17,7 +17,7 @@ repos:
- repo: local
hooks:
- id: tomllint
name: 'Script: scripts/tomllint.sh'
name: "Script: scripts/tomllint.sh"
language: script
# pass_filenames: false
files: \^*.toml
Expand All @@ -43,7 +43,7 @@ repos:
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
args: ['--fix=lf']
args: ["--fix=lf"]
- id: name-tests-test
# Do not allow direct push to main/master branches
- id: no-commit-to-branch
Expand All @@ -57,14 +57,14 @@ repos:
hooks:
- id: prettier
args:
['--ignore-unknown', '--no-error-on-unmatched-pattern', '!chart/**']
["--ignore-unknown", "--no-error-on-unmatched-pattern", "!chart/**"]

# Lint: Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.37.0
hooks:
- id: markdownlint
args: ['--fix']
args: ["--fix"]

# - repo: https://github.com/asottile/pyupgrade
# rev: v3.15.0
Expand All @@ -91,7 +91,7 @@ repos:
rev: 2.1.1
hooks:
- id: bashate
args: ['--ignore=E006']
args: ["--ignore=E006"]

- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.9.0
Expand Down Expand Up @@ -135,7 +135,7 @@ repos:
# additional_dependencies: [black]

- repo: https://github.com/pycqa/flake8
rev: '6.1.0'
rev: "6.1.0"
hooks:
- id: flake8
entry: pflake8
Expand All @@ -152,12 +152,12 @@ repos:
# - id: codespell

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.6.1'
rev: "v1.6.1"
hooks:
- id: mypy

- repo: https://github.com/psf/black
rev: '22.3.0'
rev: "22.3.0"
hooks:
- id: black
- id: black-jupyter
14 changes: 7 additions & 7 deletions .prow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ presubmits:
containers:
- image: quay.io/thoth-station/thoth-precommit-py38:v0.12.8
command:
- 'pre-commit'
- 'run'
- '--all-files'
- "pre-commit"
- "run"
- "--all-files"
resources:
requests:
memory: '500Mi'
cpu: '300m'
memory: "500Mi"
cpu: "300m"
limits:
memory: '1Gi'
cpu: '500m'
memory: "1Gi"
cpu: "500m"
4 changes: 2 additions & 2 deletions .thoth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ runtime_environments:
- name: rhel:8
operating_system:
name: rhel
version: '8'
python_version: '3.8'
version: "8"
python_version: "3.8"
recommendation_type: latest

managers:
Expand Down

0 comments on commit e4aadb0

Please sign in to comment.