Skip to content

Commit 2f84793

Browse files
authoredMar 28, 2023
Fix: attempt at fixing pdoc CI, bump SQLGlot to v11.4.4 (#620)
* Fix: pdoc CI fixups * Bump sqlglot to v11.4.4
1 parent f9d26f3 commit 2f84793

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed
 

‎.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
command: |
2727
pip install pdoc sqlmesh
2828
make api-docs
29-
git add docs
3029
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
3130
git config --local user.name "github-actions[bot]"
31+
git add docs
3232
git commit -m "CI: Auto-generated documentation" -a | exit 0
3333
- run:
3434
name: Deploy API Documentation

‎Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ docs-serve:
7272
mkdocs serve
7373

7474
api-docs:
75-
pdoc/cli.py -o docs
75+
python pdoc/cli.py -o docs
7676

7777
api-docs-serve:
78-
pdoc/cli.py
78+
python pdoc/cli.py
7979

8080
ui-up:
8181
docker-compose up --build -d && $(if $(shell which open), open http://localhost:8001, echo "Open http://localhost:8001 in your browser.")

‎pdoc/cli.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#!/usr/bin/env python3
2+
23
from importlib import import_module
34
from pathlib import Path
45
from unittest import mock
56

67
from pdoc.__main__ import cli, parser
78

8-
# need this import or else import_module doesn't work
9+
# Need this import or else import_module doesn't work
910
import sqlmesh
1011

1112

‎setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"requests",
3939
"rich",
4040
"ruamel.yaml",
41-
"sqlglot>=11.4.2",
41+
"sqlglot>=11.4.4",
4242
],
4343
extras_require={
4444
"dev": [

0 commit comments

Comments
 (0)
Failed to load comments.