astral-sh/ruff

`N999` (`invalid-module-name`) mixes correctness and stylistic recommendations

オープン

#12,475 opened on 2024/07/23

 (11 件のコメント) (2 件のリアクション) (0 人の担当者)Rust (2,088 件のフォーク)batch import
help wantedrule

Repository metrics

Stars
 (47,527 個のスター)
PR merge metrics
 (平均マージ 3d 8h) (30d で 573 merged PRs)

説明

Not only does rule N999 check that the PEP8 convention is respected, but also checks that the module name is syntactically correct. The latter is not part of PEP8. This is a problem for me currently working on "old non linted" code. I have to ignore this rule because of some modules whose names are syntactically correct but sometimes with capital letters. I think a E rule is missing that would only include the syntax checking of N999. (If I were you I would also remove that part from N999 for consistency)

コントリビューターガイド