{"record":{"id":"c22dca1e4d499b52","repo":"astral-sh/ruff","slug":"the-section-config-pulltypes-directive-does-no","errorCode":null,"errorMessage":"The `{SECTION_CONFIG_PULLTYPES}` directive does not take a value.","messagePattern":"The `(.+?)` directive does not take a value\\.","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/mdtest/src/parser.rs","lineNumber":626,"sourceCode":"                                (directive.trim(), Some(value.trim().to_string()))\n                            }\n                            None => (html_comment, None),\n                        };\n\n                        match directive {\n                            SECTION_CONFIG_SNAPSHOT => {\n                                anyhow::ensure!(\n                                    value.is_none(),\n                                    \"The `{SECTION_CONFIG_SNAPSHOT}` directive \\\n                                    does not take a value.\"\n                                );\n                                self.process_mdtest_directive(\n                                    MdtestDirective::SnapshotDiagnostics,\n                                    None,\n                                )?;\n                            }\n                            SECTION_CONFIG_PULLTYPES => {\n                                anyhow::ensure!(\n                                    value.is_none(),\n                                    \"The `{SECTION_CONFIG_PULLTYPES}` directive \\\n                                    does not take a value.\"\n                                );\n                                self.process_mdtest_directive(\n                                    MdtestDirective::PullTypesSkip,\n                                    None,\n                                )?;\n                            }\n                            SECTION_CONFIG_EXPECT_PANIC => {\n                                self.process_mdtest_directive(MdtestDirective::ExpectPanic, value)?;\n                            }\n                            _ => {\n                                if !HTML_COMMENT_ALLOWLIST.contains(&html_comment) {\n                                    bail!(\n                                        \"Unknown HTML comment `{html_comment}` -- \\\n                                        possibly a typo? (Add to `HTML_COMMENT_ALLOWLIST` \\\n                                        if this is a false positive)\"","sourceCodeStart":608,"sourceCodeEnd":644,"githubUrl":"https://github.com/astral-sh/ruff/blob/672bb4edf04c84f8b0753346359daee4057158f2/crates/mdtest/src/parser.rs#L608-L644","documentation":"Error \"The `{SECTION_CONFIG_PULLTYPES}` directive does not take a value.\" thrown in astral-sh/ruff.","triggerScenarios":"Thrown at crates/mdtest/src/parser.rs:626 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"672bb4edf04c84f8b0753346359daee4057158f2","analyzedAt":"2026-08-16T08:54:05.464Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}