标签: autoflake

使用 project.toml 配置 isort 和 autoflake

我有一系列在本地和 Jenkins 上运行的工具来检查和格式化我的 Python 代码:

  • 自动剥落
  • 异类
  • 黑色的

我使用pyproject.tomlfile 来配置 black、isort with.isort.cfg和 autoflake 与命令行参数,因为我还没有找到任何支持使用配置文件配置它。

有没有办法配置 isort 和 autoflake pyproject.toml

我希望所有工具都配置为一个文件。

python isort pyproject.toml autoflake

3
推荐指数
1
解决办法
3803
查看次数

标签 统计

autoflake ×1

isort ×1

pyproject.toml ×1

python ×1