Skip to content

Commit 972ed34

Browse files
authored
feat: Improved CLI file structuring (#5201)
Signed-off-by: ntkathole <[email protected]>
1 parent ac44967 commit 972ed34

23 files changed

+1791
-1658
lines changed

.github/workflows/smoke_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
uv pip sync --system sdk/python/requirements/py${{ matrix.python-version }}-requirements.txt
4343
uv pip install --system --no-deps .
4444
- name: Test Imports
45-
run: python -c "from feast import cli"
45+
run: python -c "from feast.cli import cli"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Homepage = "https://github.com/feast-dev/feast"
164164
name = "Feast"
165165

166166
[project.scripts]
167-
feast = "feast.cli:cli"
167+
feast = "feast.cli.cli:cli"
168168

169169
[build-system]
170170
requires = [

sdk/python/docs/source/conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
import os
2020
import sys
2121

22-
import sphinx_rtd_theme
23-
2422
sys.path.insert(0, os.path.abspath("../../feast"))
2523
sys.path.insert(0, os.path.abspath("../.."))
2624

@@ -32,7 +30,6 @@
3230
# example where the Python protos did not build, which subsequently broke
3331
# the RTD build. In order to fix this, we manually compile the protos.
3432
import subprocess
35-
3633
from pathlib import Path
3734

3835
# cwd will be feast/sdk/python/docs/source

0 commit comments

Comments
 (0)