Skip to content

Commit 546bce2

Browse files
committed
reformatted some files and add black to pyproject.toml
1 parent 6b04ff1 commit 546bce2

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

.github/workflows/deploy-site.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,20 @@ jobs:
2929
locale
3030
locale -c -k LC_NUMERIC
3131
localectl status
32+
3233
- name: Install graphviz
3334
run: |
3435
sudo apt-get install graphviz nodejs npm
36+
3537
- name: Install Dependencies
3638
run: |
3739
uv sync
3840
npm install
41+
3942
- name: Build Blog
4043
run: |
4144
uv run poe build
45+
4246
- name: Publish to GitHub Pages
4347
uses: peaceiris/actions-gh-pages@v4
4448
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,13 @@ Install sketchviz
4848
npm i
4949
```
5050

51-
Install `uv`, follow the instructions in their documentation https://docs.astral.sh/uv/getting-started/installation/,
52-
`uv` will handle all the dependencies and the python installation as well. So we don't need to install `python`
53-
separately.
51+
Install `uv`, follow the instructions in their documentation
52+
https://docs.astral.sh/uv/getting-started/installation/, `uv` will handle all
53+
the dependencies and the python installation as well. So we don't need to
54+
install `python` separately.
5455

55-
Then install all the necessary packages (make sure to change to the root directory of the project):
56+
Then install all the necessary packages (make sure to change to the root
57+
directory of the project):
5658

5759
```shell
5860
uv sync

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ dev = [
3434
cmd = "ablog build"
3535
# we pass binary defined inside node package so sphinx can called when building the site
3636
env = { SKETCHVIZ_BINARY = "./node_modules/.bin/sketchviz" }
37+
38+
[tool.black]
39+
line-length = 79

0 commit comments

Comments
 (0)