A file's name is not a lowercase module name

tx0/python:module-name-stylestrictnotestyle

What it finds

PEP 8 names modules in short snake_case, and a file whose name has a dash, a space or a dot in it cannot be imported at all. The finding is placed on the first token of the file; __init__.py, __main__.py and empty files are not checked.

From the rule's source, module_name_style.rs.

Turn it on, off or suppress it

The rule runs from the strict tier up. To turn it on in a lower tier, give it a level in tx0.toml:

tx0.toml
[rules]
"tx0/python:module-name-style" = "note"

To keep one finding, suppress it with a reason. tx0 suppress ID --reason "..." writes the comment on the line before the code:

# tx0: ignore[tx0/python:module-name-style] reason="..."

tx0 explain tx0/python:module-name-style shows the same in the terminal. Found a false positive? Report it.