Skip to content

Commit f185c28

Browse files
committed
chore: autoformatting
1 parent 29cf53f commit f185c28

File tree

5 files changed

+32
-40
lines changed

5 files changed

+32
-40
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ updates:
1111
groups: # group bumps to reduce number of PRs
1212
minor-and-patch:
1313
patterns: ["*"]
14-
update-types: ["minor", "patch"]
14+
update-types: ["minor", "patch"]

.github/workflows/publish.yaml

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.12
18+
python-version: "3.12"
1919

2020
- name: Install uv
2121
uses: astral-sh/setup-uv@v5
@@ -38,33 +38,32 @@ jobs:
3838
needs: packages
3939
runs-on: ubuntu-latest
4040
steps:
41-
- uses: actions/checkout@v4
42-
43-
- uses: actions/setup-python@v5
44-
with:
45-
python-version: '3.12'
41+
- uses: actions/checkout@v4
4642

47-
- name: Install uv
48-
uses: astral-sh/setup-uv@v5
49-
with:
50-
enable-cache: true
43+
- uses: actions/setup-python@v5
44+
with:
45+
python-version: "3.12"
5146

52-
- name: Generate docs
53-
run: make install generate-docs
47+
- name: Install uv
48+
uses: astral-sh/setup-uv@v5
49+
with:
50+
enable-cache: true
5451

55-
- name: Publish RC docs
56-
if: contains(github.event.release.tag_name, '-rc')
57-
uses: peaceiris/actions-gh-pages@v4
58-
with:
59-
github_token: ${{ secrets.GITHUB_TOKEN }}
60-
publish_dir: ./docs
61-
# this puts the docs for this tag under gh-pages:/rc/<tag>/
62-
destination_dir: rc/${{ github.event.release.tag_name }}
52+
- name: Generate docs
53+
run: make install generate-docs
6354

55+
- name: Publish RC docs
56+
if: contains(github.event.release.tag_name, '-rc')
57+
uses: peaceiris/actions-gh-pages@v4
58+
with:
59+
github_token: ${{ secrets.GITHUB_TOKEN }}
60+
publish_dir: ./docs
61+
# this puts the docs for this tag under gh-pages:/rc/<tag>/
62+
destination_dir: rc/${{ github.event.release.tag_name }}
6463

65-
- name: Publish release docs
66-
if: ${{ ! contains(github.event.release.tag_name, '-rc') }}
67-
uses: peaceiris/actions-gh-pages@v4
68-
with:
69-
github_token: ${{ secrets.GITHUB_TOKEN }}
70-
publish_dir: ./docs
64+
- name: Publish release docs
65+
if: ${{ ! contains(github.event.release.tag_name, '-rc') }}
66+
uses: peaceiris/actions-gh-pages@v4
67+
with:
68+
github_token: ${{ secrets.GITHUB_TOKEN }}
69+
publish_dir: ./docs

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
- uses: googleapis/release-please-action@v4
2323
with:
2424
token: ${{ secrets.GITHUB_TOKEN }}
25-
release-type: python
25+
release-type: python

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
lint-and-test:
99
runs-on: ubuntu-latest
10-
10+
1111
strategy:
1212
matrix:
1313
python-version: ["3.10", "3.10", "3.12", "3.13", "3.14"]
@@ -37,4 +37,4 @@ jobs:
3737
- name: Tests
3838
run: make test
3939
env:
40-
UV_PYTHON: ${{ matrix.python-version }}
40+
UV_PYTHON: ${{ matrix.python-version }}

pyproject.toml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,11 @@ name = "kratix-sdk"
33
version = "0.4.0"
44
description = "Kratix SDK for writing Promises workflows"
55
readme = "README.md"
6-
authors = [{name = "Syntasso", email="[email protected]"}]
6+
authors = [{ name = "Syntasso", email = "[email protected]" }]
77
license = "Apache-2.0"
88
keywords = ["kratix", "platform-engineering", "promises", "sdk"]
99
requires-python = ">=3.10"
10-
dependencies = [
11-
"kubernetes >=33.0.0,<35",
12-
"PyYAML>=6.0.0,<7",
13-
]
10+
dependencies = ["kubernetes >=33.0.0,<35", "PyYAML>=6.0.0,<7"]
1411
classifiers = [
1512
"Development Status :: 4 - Beta",
1613
"Intended Audience :: Developers",
@@ -37,11 +34,7 @@ requires = ["hatchling"]
3734
build-backend = "hatchling.build"
3835

3936
[project.optional-dependencies]
40-
dev = [
41-
"ruff>=0.14.8",
42-
"pdoc>=15.0.0",
43-
"pytest>=9.0.2",
44-
]
37+
dev = ["ruff>=0.14.8", "pdoc>=15.0.0", "pytest>=9.0.2"]
4538

4639
[tool.ruff]
4740
target-version = "py313"

0 commit comments

Comments
 (0)