Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.4
hooks:
- id: ruff
- id: ruff-check
args: [--fix]
- id: ruff-format

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To install uv, follow the [installation guide](https://docs.astral.sh/uv/getting

2. **Install dependencies:**
```bash
uv sync
uv sync --frozen
```

### Testing
Expand Down
19 changes: 8 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pyproject.toml
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = ["uv_build~=0.8.0"]
build-backend = "uv_build"

[project]
name = "openfeature_sdk"
Expand Down Expand Up @@ -33,19 +33,16 @@ dev = [
"coverage[toml]>=6.5",
"pytest",
"pytest-asyncio",
"mypy",
"pre-commit"
]

[tool.hatch.build.targets.sdist]
exclude = [
".gitignore",
"test-harness",
"venv",
]
[tool.uv]
required-version = "~=0.8.0"

[tool.hatch.build.targets.wheel]
packages = ["openfeature"]
[tool.uv.build-backend]
module-name = "openfeature"
module-root = ""
namespace = true

[tool.mypy]
files = "openfeature"
Expand Down
3 changes: 3 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
},
"pre-commit": {
"enabled": true
},
"lockFileMaintenance": {
"enabled": true
}
}
Loading