Files
wehub-resource-sync 3454a55636
cffconvert / validate (push) Waiting to run
ci-workflow / pre-commit (push) Waiting to run
ci-workflow / Minimal NLTK Download Test (macos-latest) (push) Waiting to run
ci-workflow / Minimal NLTK Download Test (ubuntu-latest) (push) Waiting to run
ci-workflow / Minimal NLTK Download Test (windows-latest) (push) Waiting to run
ci-workflow / Python 3.10 on macos-latest (push) Blocked by required conditions
ci-workflow / Python 3.11 on macos-latest (push) Blocked by required conditions
ci-workflow / Python 3.12 on macos-latest (push) Blocked by required conditions
ci-workflow / Python 3.13 on macos-latest (push) Blocked by required conditions
ci-workflow / Python 3.14 on macos-latest (push) Blocked by required conditions
ci-workflow / Python 3.14t on macos-latest (push) Blocked by required conditions
ci-workflow / Python 3.10 on ubuntu-latest (push) Blocked by required conditions
ci-workflow / Python 3.11 on ubuntu-latest (push) Blocked by required conditions
ci-workflow / Python 3.12 on ubuntu-latest (push) Blocked by required conditions
ci-workflow / Python 3.13 on ubuntu-latest (push) Blocked by required conditions
ci-workflow / Python 3.14 on ubuntu-latest (push) Blocked by required conditions
ci-workflow / Python 3.14t on ubuntu-latest (push) Blocked by required conditions
ci-workflow / Python 3.10 on windows-latest (push) Blocked by required conditions
ci-workflow / Python 3.11 on windows-latest (push) Blocked by required conditions
ci-workflow / Python 3.12 on windows-latest (push) Blocked by required conditions
ci-workflow / Python 3.13 on windows-latest (push) Blocked by required conditions
ci-workflow / Python 3.14 on windows-latest (push) Blocked by required conditions
chore: import upstream snapshot with attribution
2026-07-13 12:46:15 +08:00

20 lines
849 B
TOML

target-version = "py310"
[lint]
# Default rules (E, F) with project-specific ignores.
ignore = [
"E402", # module-level import not at top (NLTK uses conditional/lazy imports)
"E721", # type comparison using == (some intentional in NLTK)
"E731", # lambda assignment (pervasive in NLTK, safe to keep)
"E741", # ambiguous variable name (l, I, O are common in NLP code)
"F401", # unused import (many intentional re-exports and interactive imports)
"F403", # star import used (NLTK __init__.py pattern)
"F405", # name may be undefined from star import (consequence of F403)
"F821", # undefined name (pre-existing issues in legacy code)
"F841", # local variable assigned but never used (many intentional)
]
[lint.per-file-ignores]
# Test files may have additional patterns
"nltk/test/**" = ["F811"]