我有一系列在本地和 Jenkins 上运行的工具来检查和格式化我的 Python 代码:
我使用pyproject.tomlfile 来配置 black、isort with.isort.cfg和 autoflake 与命令行参数,因为我还没有找到任何支持使用配置文件配置它。
pyproject.toml
.isort.cfg
有没有办法配置 isort 和 autoflake pyproject.toml?
我希望所有工具都配置为一个文件。
python isort pyproject.toml autoflake
autoflake ×1
isort ×1
pyproject.toml ×1
python ×1