utils/md_naming/config.py
Krzysztof kuhy Rudnicki 20a825e249 md-naming: ban TODO*.md, retire marker rule
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 12:03:47 +01:00

40 lines
854 B
Python

"""Shared configuration for the markdown-naming convention.
Single source of truth for the three namespaces, the TODO ban and the
exemption list, imported by the pre-commit gate (`check.py`). This module is
the public surface:
:mod:`md_naming._tables` holds the data, :mod:`md_naming.rules` the predicates.
"""
from __future__ import annotations
from md_naming._tables import (
ALLOWED_PATTERN,
COMMUNITY_NAMES,
EXEMPT_SUBPATHS,
EXTRA_THIRD_PARTY,
HARNESS_NAMES,
MARKER,
TODO_PREFIX,
)
from md_naming.rules import (
has_allowed_name,
is_exempt,
is_markdown,
is_todo,
)
__all__ = [
"ALLOWED_PATTERN",
"COMMUNITY_NAMES",
"EXEMPT_SUBPATHS",
"EXTRA_THIRD_PARTY",
"HARNESS_NAMES",
"MARKER",
"TODO_PREFIX",
"has_allowed_name",
"is_exempt",
"is_markdown",
"is_todo",
]