Skip to content

Commit 974ea3a

Browse files
committed
Add pyrefly installation script
1 parent 9e186e6 commit 974ea3a

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

development/uv_and_ruff.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
#
4-
# Install `uv` and `ruff` for Python development
4+
# Install `uv`, `ruff` and `pyrefly` for Python development
55
#
66

77

@@ -26,6 +26,16 @@ uv tool install ruff@latest
2626
ruff --version
2727

2828

29+
# Install pyrefly
30+
uv tool install pyrefly@latest
31+
pyrefly --version
32+
33+
# add extension to VS Code
34+
# https://marketplace.visualstudio.com/items?itemName=meta.pyrefly
35+
36+
pyrefly init
37+
38+
2939
# 2. Create a new project ----
3040
cd projects/
3141
uv init -n ai-agents
@@ -50,3 +60,4 @@ uv tool upgrade ruff
5060
# References ----
5161
# 1. https://docs.astral.sh/uv/getting-started/features/
5262
# 2. https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff
63+
# 3. https://pyrefly.org/en/docs/installation/

0 commit comments

Comments
 (0)