23:42:50 @aoirint@mstdn.aoirint.com
icon

挙動が変わるからpysen 0.11が出る予定みたい
pysenは0.xのバージョンなので、バージョン制約を書き換える必要がありそうなのと、tool.pysen.versionも更新することになりそうね
github.com/pfnet/pysen/pull/49

Web site image
Update _version.py by linshokaku · Pull Request #49 · pfnet/pysen
23:40:26 @aoirint@mstdn.aoirint.com
icon

PFN内のPRで触れられてる(blackの脆弱性対応dependabot PR)
修正はやいの自分たちで使っているツールだからか、助かる...
github.com/pfnet/pytorch-pfn-e

Web site image
Bump black from 23.3.0 to 24.3.0 in /tests by dependabot[bot] · Pull Request #811 · pfnet/pytorch-pfn-extras
23:35:39 @aoirint@mstdn.aoirint.com
icon

pysenでignoreするようにするPRがマージされてた、ハヤイ
github.com/pfnet/pysen/pull/48

Web site image
Ignore flake8 E701/704 because it conflicts with recent black by ktns · Pull Request #48 · pfnet/pysen
23:35:04 @aoirint@mstdn.aoirint.com
icon

素のflake8だとデフォルトでignoreみたいだけど、pysenだとエラーになってしまうわね

23:33:55 @aoirint@mstdn.aoirint.com
icon

flake8のE704と衝突しているのだけれども

23:30:52 @aoirint@mstdn.aoirint.com
icon

black 24.1.0のこれかな
> Dummy class and function implementations consisting only of ... are formatted more
compactly (#3796)
github.com/psf/black/releases/

23:22:56 @aoirint@mstdn.aoirint.com
icon

E704 and concise formatting for dummy implementations · Issue #3887 · psf/black
github.com/psf/black/issues/38

Web site image
E704 and concise formatting for dummy implementations · Issue #3887 · psf/black
23:22:48 @aoirint@mstdn.aoirint.com
icon

black 24で...とかpassが同じ行になるようになった?