Skip to content

Commit 0bc2a49

Browse files
committed
install deps
1 parent 86fb4ad commit 0bc2a49

5 files changed

Lines changed: 407 additions & 4 deletions

File tree

.github/workflows/quality.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ jobs:
1414

1515
- name: Install uv
1616
uses: astral-sh/setup-uv@v6
17+
with:
18+
activate-environment: true
19+
python-version: "3.13"
20+
21+
- name: install dependencies
22+
run: uv pip install -e ".[dev]"
1723

1824
- name: Run formatter check with Black
1925
run: uv run black --check .

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515

1616
- name: Install uv
1717
uses: astral-sh/setup-uv@v6
18+
with:
19+
activate-environment: true
20+
python-version: "3.13"
21+
22+
- name: Install dependencies
23+
run: uv pip install -e ".[dev]"
1824

1925
- name: Run tests with pytest
2026
run: uv run pytest

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,3 @@ dmypy.json
112112

113113
# Pyre type checker
114114
.pyre/
115-
116-
uv.lock

pyproject.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
2-
requires = ["hatchling"]
3-
build-backend = "hatchling.build"
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "mode-sdk"
@@ -22,3 +22,10 @@ dependencies = [
2222

2323
[project.optional-dependencies]
2424
dev = ["pytest", "pytest-mock", "requests-mock", "black", "ruff", "mypy"]
25+
26+
[tool.ruff]
27+
line-length = 120
28+
target-version = "py313"
29+
30+
[tool.ruff.lint]
31+
ignore = ["E501"]

0 commit comments

Comments
 (0)