一、实验环境

1.Windows10x64

2.anaconda4.6.9 + python3.7.1(anaconda集成,不需单独安装)

二、安装autopep8

cmd窗口输入:

pip install autopep8

三、在Pycharm中安装autopep8配置

pycharm中配置pep8

 

 配置项目

  • Name:Autopep8(可以随便取)
  • Tools settings
  1. Programs:autopep8
  2. Parameters:--in-place --aggressive --aggressive $FilePath$
  3. Working directory:$ProjectFileDir$
  • 点击Output Files→添加,在对话框中的:Regular expression to match output中输入:

  $FILE_PATH$\:$LINE$\:$COLUMN$\:.*

 

  

相关文章:

  • 2022-01-07
  • 2021-11-20
  • 2021-07-29
  • 2021-11-16
  • 2021-08-26
猜你喜欢
  • 2022-12-23
  • 2021-12-04
  • 2021-11-06
  • 2021-11-17
  • 2021-08-03
  • 2022-01-28
相关资源
相似解决方案