default_max_lines = 500 respect_gitignore = true # Exclude generated content and curated data files where the line count # is incidental: uv.lock, the SRD section markdown produced by `make srd`, # the long-form DM system prompt, and the curated phoneme-inventory # literals. Per-file Python violations are tracked via `loq baseline` # rules below (regenerate with `uv run loq baseline`). exclude = [ "**/uv.lock", "**/.git/**", "**/rules/**", "**/prompts/dm-system.md", "**/src/storied/names/data/inventories.py", ] [[rules]] path = "src/storied/engine.py" max_lines = 636 [[rules]] path = "src/storied/cli.py" max_lines = 1265 [[rules]] path = "tests/test_mcp_server.py" max_lines = 631 [[rules]] path = "tests/test_character.py" max_lines = 1387 [[rules]] path = "src/storied/tools/entities.py" max_lines = 703 [[rules]] path = "src/storied/log.py" max_lines = 575 [[rules]] path = "tests/test_search.py" max_lines = 501 [[rules]] path = "tests/test_initiative.py" max_lines = 530 [[rules]] path = "src/storied/tools/character.py" max_lines = 611 [[rules]] path = "tests/test_planner.py" max_lines = 592 [[rules]] path = "src/storied/character/operations.py" max_lines = 518 [[rules]] path = "tests/test_execute_tool.py" max_lines = 895 [[rules]] path = "src/storied/planner.py" max_lines = 775 [[rules]] path = "tests/test_entities.py" max_lines = 786