最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Black Python formatter - setting different line length for some files - Stack Overflow

programmeradmin1浏览0评论

I'm using Black Python formatter and I'm looking for a way to control line-length settings for some of the files. E.g. I'd like the default line length to be set in pyproject.toml to 120, but for some files, I'd like to set a line length to e.g. 200. I hope there might be a way of achieving this by using some magical comments at the top of the files?

发布评论

评论列表(0)

  1. 暂无评论