V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
craftx
V2EX  ›  Python

vscode 的 autopep8 插件怎么了? 100%CPU

  •  
  •   craftx · Sep 27, 2024 · 2591 views
    This topic created in 581 days ago, the information mentioned may be changed or developed.
    有些项目正常,主要是项目结构正常的目录
    有些项目,每次保存文件时,卡住半天,看监控,vscode 居然占满几乎了 CPU 时间。这个主要是保存临时各种临时脚本的项目目录
    2 replies    2024-09-28 00:58:10 +08:00
    ClericPy
        1
    ClericPy  
       Sep 27, 2024
    换 ruff 吧。。。
    虽然用了一年 black ,十年 yapf ,现在感觉 ruff 已经挺好了,还省的装 isort 和各种 linter

    很早之前别的插件 100% CPU 过,autopep8 用了不到一星期,没印象有这问题
    Biem
        2
    Biem  
       Sep 28, 2024
    人生苦短,我用 ruff
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   807 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 20:21 · PVG 04:21 · LAX 13:21 · JFK 16:21
    ♥ Do have faith in what you're doing.