Language Features

PyTabnanny

Python stdlib module — tabnanny. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.check()Neutral
#
Signature
check(file)

check(file_or_dir)

.errprint()Neutral
#
Signature
errprint(args)

errprint function.

.format_witnesses()Neutral
#
Signature
format_witnesses(w)

format_witnesses function.

.main()Neutral
#
Signature
main()

main function.

.process_tokens()Neutral
#
Signature
process_tokens(tokens)

process_tokens function.

.NannyNag()Neutral
#
Signature
NannyNag(...)

Raised by process_tokens() if detecting an ambiguous indent.

.Whitespace()Neutral
#
Signature
Whitespace(...)

Whitespace class.

Fully-Qualified Names

FQNField
tabnannyfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import tabnanny