File tree Expand file tree Collapse file tree 7 files changed +101
-60
lines changed
Expand file tree Collapse file tree 7 files changed +101
-60
lines changed Original file line number Diff line number Diff line change 3535 run : |
3636 uv run --extra=dev --python=${{ matrix.python-version }} sphinx-build -b notion sample/ build-sample/
3737
38+ - name : Run lint
39+ run : |
40+ uv run --extra=dev --python=${{ matrix.python-version }} pre-commit run --all-files --hook-stage pre-commit --verbose
41+ uv run --extra=dev --python=${{ matrix.python-version }} pre-commit run --all-files --hook-stage pre-push --verbose
42+ uv run --extra=dev --python=${{ matrix.python-version }} pre-commit run --all-files --hook-stage manual --verbose
43+
3844 - name : Run tests
3945 run : |
4046 # We run tests against "." and not the tests directory as we test the README
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ repos:
191191
192192 - id : pylint
193193 name : pylint
194- entry : uv run --extra=dev -m pylint *.py src/ tests/ docs /
194+ entry : uv run --extra=dev -m pylint src/ tests/ sample /
195195 language : python
196196 stages : [manual]
197197 pass_filenames : false
@@ -265,7 +265,7 @@ repos:
265265
266266 - id : linkcheck
267267 name : linkcheck
268- entry : make -C docs/ linkcheck SPHINXOPTS=-W
268+ entry : uv run sphinx-build -W -b linkcheck sample build-sample/
269269 language : python
270270 types_or : [rst]
271271 stages : [manual]
@@ -274,7 +274,7 @@ repos:
274274
275275 - id : spelling
276276 name : spelling
277- entry : make -C docs/ spelling SPHINXOPTS=-W
277+ entry : uv run sphinx-build -W -b spelling sample build-sample/
278278 language : python
279279 types_or : [rst]
280280 stages : [manual]
@@ -283,7 +283,7 @@ repos:
283283
284284 - id : docs
285285 name : Build Documentation
286- entry : make docs
286+ entry : uv run sphinx-build -W -b notion sample build-sample/
287287 language : python
288288 stages : [manual]
289289 pass_filenames : false
Original file line number Diff line number Diff line change @@ -8,16 +8,16 @@ Some text with a link to `Google <https://google.com>`_ and `<https://example.co
88This is **bold ** and *italic * and ``inline code ``.
99
1010.. note ::
11+
1112 This is an important note that demonstrates the note admonition support.
12- It will be converted to a Notion callout block with a note emoji.
1313
1414.. warning ::
15+
1516 This is a warning that demonstrates the warning admonition support.
16- It will be converted to a Notion callout block with a warning emoji and yellow background.
1717
1818.. tip ::
19+
1920 This is a helpful tip that demonstrates the tip admonition support.
20- It will be converted to a Notion callout block with a lightbulb emoji and green background.
2121
2222.. code-block :: python
2323
@@ -58,6 +58,6 @@ Heading 3 with ``inline code``
5858
5959Regular paragraph.
6060
61- This is a multiline
61+ This is a multi-line
6262 block quote with
6363 multiple lines.
Original file line number Diff line number Diff line change 1+ backtick
2+ backticks
3+ callout
4+ href
5+ pragma
6+ preprocess
7+ pyright
8+ recurse
9+ reportUnknownMemberType
10+ reportUnknownVariableType
You can’t perform that action at this time.
0 commit comments