Skip to content

Commit f688bdc

Browse files
committed
chore: set up CI scripts
1 parent bd64d46 commit f688bdc

File tree

4 files changed

+1302
-2145
lines changed

4 files changed

+1302
-2145
lines changed

scrapegraph-py/Makefile

+10-10
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,33 @@ all: lint type-check test docs
1111

1212
# Install project dependencies
1313
install:
14-
poetry install
14+
uv sync
1515

1616
# Linting and Formatting Checks
1717
lint:
18-
poetry run ruff check $(PACKAGE_NAME) $(TEST_DIR)
19-
poetry run black --check $(PACKAGE_NAME) $(TEST_DIR)
20-
poetry run isort --check-only $(PACKAGE_NAME) $(TEST_DIR)
18+
uv run ruff check $(PACKAGE_NAME) $(TEST_DIR)
19+
uv run black --check $(PACKAGE_NAME) $(TEST_DIR)
20+
uv run isort --check-only $(PACKAGE_NAME) $(TEST_DIR)
2121

2222
# Type Checking with MyPy
2323
type-check:
24-
poetry run mypy $(PACKAGE_NAME) $(TEST_DIR)
24+
uv run mypy $(PACKAGE_NAME) $(TEST_DIR)
2525

2626
# Run Tests with Coverage
2727
test:
28-
poetry run pytest --cov=$(PACKAGE_NAME) --cov-report=xml $(TEST_DIR)/
28+
uv run pytest --cov=$(PACKAGE_NAME) --cov-report=xml $(TEST_DIR)/
2929

3030
# Build Documentation using MkDocs
3131
docs:
32-
poetry run mkdocs build
32+
uv run mkdocs build
3333

3434
# Serve Documentation Locally
3535
serve-docs:
36-
poetry run mkdocs serve
36+
uv run mkdocs serve
3737

3838
# Run Pre-Commit Hooks
3939
pre-commit:
40-
poetry run pre-commit run --all-files
40+
uv run pre-commit run --all-files
4141

4242
# Clean Up Generated Files
4343
clean:
@@ -52,4 +52,4 @@ clean:
5252

5353
# Build the Package
5454
build:
55-
poetry build
55+
uv build

0 commit comments

Comments
 (0)