Skip to content

配置 PyCharm 作为趁手的IDE

本文以 uv 作为管理工具 : uv 使用查看 : uv 的使用

配置 uv 作为 Interpreter

创建虚拟环境

Shell
uv venv --python=3.12

添加虚拟环境到 IDE

配置位置 : Settings | Python | Interpreter

启用 ruff

位置 : Settings | Python | Tools | Ruff