Skip to content

Commit 1fbcac4

Browse files
committed
use self hosted image while the repo is private
1 parent 215c44f commit 1fbcac4

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111

1212
jobs:
1313
test:
14-
runs-on: ubuntu-latest
14+
runs-on: [ self-hosted, python-small ]
1515
env:
1616
PYTHON_VERSION: "3.11"
1717
steps:
@@ -33,7 +33,7 @@ jobs:
3333
uv run pytest tests/ --cov=dataframe_expectations
3434
3535
lint:
36-
runs-on: ubuntu-latest
36+
runs-on: [ self-hosted, python-small ]
3737
env:
3838
PYTHON_VERSION: "3.11"
3939
steps:
@@ -50,7 +50,7 @@ jobs:
5050
uv run pre-commit run --all-files --show-diff-on-failure
5151
5252
docs:
53-
runs-on: ubuntu-latest
53+
runs-on: [ self-hosted, python-small ]
5454
env:
5555
PYTHON_VERSION: "3.11"
5656
needs: [test, lint]

.pre-commit-config.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
fail_fast: false
2-
default_stages: [commit]
2+
default_stages: [pre-commit]
33

44
repos:
55
# ============================================================================
66
# General checks
77
# ============================================================================
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.6.0
9+
rev: v6.0.0
1010
hooks:
1111
- id: trailing-whitespace
12-
stages: [commit, manual]
12+
stages: [pre-commit, manual]
1313
- id: end-of-file-fixer
14-
stages: [commit, manual]
14+
stages: [pre-commit, manual]
1515
- id: check-yaml
16-
stages: [commit, manual]
16+
stages: [pre-commit, manual]
1717
- id: check-added-large-files
18-
stages: [commit, manual]
18+
stages: [pre-commit, manual]
1919
- id: check-docstring-first
2020
files: \.py$
21-
stages: [commit, manual]
21+
stages: [pre-commit, manual]
2222
- id: check-merge-conflict
23-
stages: [commit, manual]
23+
stages: [pre-commit, manual]
2424
- id: check-case-conflict
25-
stages: [commit, manual]
25+
stages: [pre-commit, manual]
2626

2727
# ============================================================================
2828
# Ruff - Modern Python linter and formatter
@@ -34,12 +34,12 @@ repos:
3434
- id: ruff
3535
args: [--fix]
3636
files: ^(dataframe_expectations|tests)/.*\.py$
37-
stages: [commit, manual]
37+
stages: [pre-commit, manual]
3838

3939
# Ruff formatter (replaces black)
4040
- id: ruff-format
4141
files: ^(dataframe_expectations|tests)/.*\.py$
42-
stages: [commit, manual]
42+
stages: [pre-commit, manual]
4343

4444
# ============================================================================
4545
# Type checking - mypy
@@ -56,4 +56,4 @@ repos:
5656
pyspark-stubs,
5757
types-PyYAML,
5858
]
59-
stages: [commit, manual]
59+
stages: [pre-commit, manual]

0 commit comments

Comments
 (0)