Skip to content

Commit 7dcd7d9

Browse files
committed
Swap from requirements.txt to uv
1 parent 50d35b7 commit 7dcd7d9

3 files changed

Lines changed: 173 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# Copyright 2025 Canonical Ltd.
2+
# See LICENSE file for licensing details.
3+
4+
[project]
5+
name = "git-ubuntu-operator"
6+
version = "1.0.0"
7+
requires-python = ">=3.12"
8+
9+
# Charm code dependencies
10+
dependencies = [
11+
"charmlibs-apt>=1.0.0",
12+
"charmlibs-pathops>=1.0.0",
13+
"ops~=2.17",
14+
]
15+
116
# Testing tools configuration
217
[tool.coverage.run]
318
branch = true
@@ -54,8 +69,8 @@ lint.extend-ignore = [
5469
"D409",
5570
"D413",
5671
]
57-
extend-exclude = ["__pycache__", "*.egg_info"]
5872
lint.per-file-ignores = {"tests/*" = ["D100","D101","D102","D103","D104"]}
73+
extend-exclude = ["__pycache__", "*.egg_info"]
5974

6075
[tool.ruff.lint.mccabe]
6176
max-complexity = 10

requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

uv.lock

Lines changed: 157 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)