Skip to content

Commit 3bb4f7a

Browse files
authored
⬆️ Upgrade uv config in pyproject.toml (#40)
1 parent 1e381ff commit 3bb4f7a

File tree

4 files changed

+260
-276
lines changed

4 files changed

+260
-276
lines changed

.github/workflows/smokeshow.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ jobs:
2727
- uses: actions/setup-python@v6
2828
with:
2929
python-version: '3.9'
30-
- name: Setup uv
31-
uses: astral-sh/setup-uv@v7
32-
with:
33-
version: "0.4.15"
34-
enable-cache: true
30+
- uses: astral-sh/setup-uv@v7
3531
- name: Install Dependencies
3632
run: uv sync
3733
- uses: actions/download-artifact@v6

.github/workflows/test.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ jobs:
2525
uses: actions/setup-python@v6
2626
with:
2727
python-version: "3.11"
28-
- name: Setup uv
29-
uses: astral-sh/setup-uv@v7
30-
with:
31-
version: "0.4.15"
32-
enable-cache: true
28+
- uses: astral-sh/setup-uv@v7
3329
- name: Install Dependencies
3430
run: uv sync
3531
- name: Lint
@@ -52,11 +48,7 @@ jobs:
5248
uses: actions/setup-python@v6
5349
with:
5450
python-version: ${{ matrix.python-version }}
55-
- name: Setup uv
56-
uses: astral-sh/setup-uv@v7
57-
with:
58-
version: "0.4.15"
59-
enable-cache: true
51+
- uses: astral-sh/setup-uv@v7
6052
- name: Install Dependencies
6153
run: uv sync
6254
- run: mkdir coverage
@@ -85,11 +77,7 @@ jobs:
8577
- uses: actions/setup-python@v6
8678
with:
8779
python-version: '3.11'
88-
- name: Setup uv
89-
uses: astral-sh/setup-uv@v7
90-
with:
91-
version: "0.4.15"
92-
enable-cache: true
80+
- uses: astral-sh/setup-uv@v7
9381
- name: Get coverage files
9482
uses: actions/download-artifact@v6
9583
with:

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,8 @@ Repository = "https://github.com/tiangolo/markdown-include-variants"
2525
Issues = "https://github.com/tiangolo/markdown-include-variants/issues"
2626
Changelog = "https://github.com/tiangolo/markdown-include-variants/release-notes.md"
2727

28-
[tool.hatch.version]
29-
path = "src/markdown_include_variants/_version.py"
30-
31-
[tool.uv]
32-
dev-dependencies = [
28+
[dependency-groups]
29+
dev = [
3330
"coverage[toml]>=7.6.1",
3431
"inline-snapshot>=0.13.3",
3532
"mdx-include>=1.4.2",
@@ -41,6 +38,9 @@ dev-dependencies = [
4138
"types-markdown>=3.7.0.20240822",
4239
]
4340

41+
[tool.hatch.version]
42+
path = "src/markdown_include_variants/_version.py"
43+
4444
[tool.coverage.run]
4545
parallel = true
4646
data_file = "coverage/.coverage"

0 commit comments

Comments
 (0)