目录

蠢蠢的 pycharm

# 蠢蠢的 Pycharm

记录一下一些 Pycharm 的不爽点。 多了的话就换 vscode 为主力了。

# coverage

  • 在多项目下,report 是显示第一个项目的 report 导致覆盖率为 0。
  • .coveragerc 能识别不跑的代码,但是不能识别不现实,不跑会导致覆盖率下降。 目前用注释干掉了 (# pragma: no cover)。

# pycharm 打不开问题

问题连接 (opens new window)

首先确定 wsl 是否能打开

然后 WORKAROUND: run the following commands in the Administrator console (cmd.exe):

netsh int ipv4 set dynamicport tcp start=49152 num=16383 netsh int ipv4 set dynamicport udp start=49152 num=16383 If the above doesn't help, please try these commands instead:

net stop winnat net start winnat

上次更新: 2024-01-09 1:01:00
最近更新
01
自建 RSS 订阅
01-05
02
搭建私人 docker hub
01-02
03
关于 SSH 攻击
10-12
更多文章>