Skip to content

Commit

Permalink
Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aakankshaduggal committed Feb 10, 2022
1 parent 1f009d4 commit 37763eb
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
1 change: 0 additions & 1 deletion .aicoe-ci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Setup and configuring aicoe-ci with configuration file `.aicoe-ci.yaml`
# Example `.aicoe-ci.yaml` with a full list of config options is available here: https://github.com/AICoE/aicoe-ci/blob/master/docs/.aicoe-ci.yaml
check:
- thoth-precommit
- thoth-build
build:
build-stratergy: Source
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
repos:
- repo: git://github.com/Lucas-C/pre-commit-hooks
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.9
hooks:
- id: remove-tabs

- repo: git://github.com/pre-commit/pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
hooks:
- id: trailing-whitespace
Expand All @@ -22,7 +22,7 @@ repos:
- id: check-ast
- id: debug-statements

- repo: git://github.com/pycqa/pydocstyle.git
- repo: https://github.com/pycqa/pydocstyle.git
rev: 5.1.1
hooks:
- id: pydocstyle
Expand Down
20 changes: 20 additions & 0 deletions .prow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
presubmits:
- name: pre-commit
decorate: true
skip_report: false
always_run: true
context: aicoe-ci/prow/pre-commit
spec:
containers:
- image: quay.io/thoth-station/thoth-precommit-py38:v0.13.0
command:
- "pre-commit"
- "run"
- "--all-files"
resources:
requests:
memory: "1Gi"
cpu: "300m"
limits:
memory: "2Gi"
cpu: "300m"

0 comments on commit 37763eb

Please sign in to comment.