[{"data":1,"prerenderedAt":1003},["ShallowReactive",2],{"navigation_docs":3,"trending-repo-astral-sh\u002Fruff":249,"page-views-\u002Ftrending\u002Fastral-sh\u002Fruff":1000},[4,29,104,124,194],{"title":5,"icon":6,"path":7,"stem":8,"children":9},"Start",false,"\u002Fstart","1.start",[10,14,19,24],{"title":11,"path":7,"stem":12,"icon":13},"What jscpd finds","1.start\u002Findex","i-lucide-house",{"title":15,"path":16,"stem":17,"icon":18},"Installation","\u002Fstart\u002Finstallation","1.start\u002F2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Quickstart","\u002Fstart\u002Fquickstart","1.start\u002F3.quickstart","i-lucide-rocket",{"title":25,"path":26,"stem":27,"icon":28},"Configuration basics","\u002Fstart\u002Fconfiguration","1.start\u002F4.configuration","i-lucide-settings-2",{"title":30,"icon":6,"path":31,"stem":32,"children":33,"page":6},"Guides","\u002Fguides","2.guides",[34,39,44,49,54,59,64,69,74,79,84,89,94,99],{"title":35,"path":36,"stem":37,"icon":38},"Use jscpd in CI","\u002Fguides\u002Fci","2.guides\u002F01.ci","i-lucide-github",{"title":40,"path":41,"stem":42,"icon":43},"Pre-commit hooks","\u002Fguides\u002Fpre-commit","2.guides\u002F02.pre-commit","i-lucide-git-commit",{"title":45,"path":46,"stem":47,"icon":48},"Fail only on new duplication","\u002Fguides\u002Fbaseline","2.guides\u002F03.baseline","i-lucide-git-compare",{"title":50,"path":51,"stem":52,"icon":53},"Monorepos","\u002Fguides\u002Fmonorepos","2.guides\u002F04.monorepos","i-lucide-folder-tree",{"title":55,"path":56,"stem":57,"icon":58},"Cross-format detection","\u002Fguides\u002Fcross-format","2.guides\u002F05.cross-format","i-lucide-layers",{"title":60,"path":61,"stem":62,"icon":63},"Agents","\u002Fguides\u002Fagents","2.guides\u002F06.agents","i-lucide-cpu",{"title":65,"path":66,"stem":67,"icon":68},"Editors","\u002Fguides\u002Feditors","2.guides\u002F07.editors","i-lucide-code",{"title":70,"path":71,"stem":72,"icon":73},"Duplication over git history","\u002Fguides\u002Fhistory","2.guides\u002F08.history","i-lucide-chart-no-axes-combined",{"title":75,"path":76,"stem":77,"icon":78},"Dashboard and health score","\u002Fguides\u002Fdashboard","2.guides\u002F09.dashboard","i-lucide-layout-dashboard",{"title":80,"path":81,"stem":82,"icon":83},"Dead code","\u002Fguides\u002Fdead-code","2.guides\u002F10.dead-code","i-lucide-ghost",{"title":85,"path":86,"stem":87,"icon":88},"Comparing two codebases","\u002Fguides\u002Fcompare","2.guides\u002F11.compare","i-lucide-git-compare-arrows",{"title":90,"path":91,"stem":92,"icon":93},"Semantic clones","\u002Fguides\u002Fsemantic-clones","2.guides\u002F12.semantic-clones","i-lucide-brain-circuit",{"title":95,"path":96,"stem":97,"icon":98},"Similar functions","\u002Fguides\u002Fsimilarity","2.guides\u002F13.similarity","i-lucide-list-tree",{"title":100,"path":101,"stem":102,"icon":103},"Boundaries","\u002Fguides\u002Fboundaries","2.guides\u002F14.boundaries","i-lucide-fence",{"title":105,"icon":6,"path":106,"stem":107,"children":108,"page":6},"Concepts","\u002Fconcepts","3.concepts",[109,114,119],{"title":110,"path":111,"stem":112,"icon":113},"Types of code clones","\u002Fconcepts\u002Fclone-types","3.concepts\u002F1.clone-types","i-lucide-copy",{"title":115,"path":116,"stem":117,"icon":118},"How detection works","\u002Fconcepts\u002Fhow-detection-works","3.concepts\u002F2.how-detection-works","i-lucide-scan-search",{"title":120,"path":121,"stem":122,"icon":123},"The health score","\u002Fconcepts\u002Fhealth-score","3.concepts\u002F3.health-score","i-lucide-heart-pulse",{"title":125,"icon":6,"path":126,"stem":127,"children":128,"page":6},"Reference","\u002Freference","4.reference",[129,134,139,144,181,186,190],{"title":130,"path":131,"stem":132,"icon":133},"CLI options","\u002Freference\u002Fcli","4.reference\u002F1.cli","i-lucide-terminal",{"title":135,"path":136,"stem":137,"icon":138},"The config file","\u002Freference\u002Fconfig-file","4.reference\u002F2.config-file","i-lucide-settings",{"title":140,"path":141,"stem":142,"icon":143},"Exit codes","\u002Freference\u002Fexit-codes","4.reference\u002F3.exit-codes","i-lucide-log-out",{"title":145,"icon":6,"path":146,"stem":147,"children":148},"Reporters","\u002Freference\u002Freporters","4.reference\u002F4.reporters\u002Findex",[149,151,156,161,166,171,176],{"title":145,"path":146,"stem":147,"icon":150},"i-lucide-file-chart-column",{"title":152,"path":153,"stem":154,"icon":155},"HTML reporter","\u002Freference\u002Freporters\u002Fhtml","4.reference\u002F4.reporters\u002F2.html","i-lucide-file-code",{"title":157,"path":158,"stem":159,"icon":160},"JSON reporter","\u002Freference\u002Freporters\u002Fjson","4.reference\u002F4.reporters\u002F3.json","i-lucide-braces",{"title":162,"path":163,"stem":164,"icon":165},"Badge reporter","\u002Freference\u002Freporters\u002Fbadge","4.reference\u002F4.reporters\u002F4.badge","i-lucide-award",{"title":167,"path":168,"stem":169,"icon":170},"SARIF reporter","\u002Freference\u002Freporters\u002Fsarif","4.reference\u002F4.reporters\u002F5.sarif","i-lucide-shield-check",{"title":172,"path":173,"stem":174,"icon":175},"CodeClimate reporter","\u002Freference\u002Freporters\u002Fcodeclimate","4.reference\u002F4.reporters\u002F6.codeclimate","i-lucide-flag-triangle-right",{"title":177,"path":178,"stem":179,"icon":180},"OpenMetrics reporter","\u002Freference\u002Freporters\u002Fopenmetrics","4.reference\u002F4.reporters\u002F7.openmetrics","i-lucide-activity",{"title":182,"path":183,"stem":184,"icon":185},"Supported formats","\u002Freference\u002Fsupported-formats","4.reference\u002F5.supported-formats","i-lucide-languages",{"title":187,"path":188,"stem":189,"icon":38},"GitHub Action","\u002Freference\u002Fgithub-action","4.reference\u002F6.github-action",{"title":191,"path":192,"stem":193,"icon":68},"Rust crates","\u002Freference\u002Frust-crates","4.reference\u002F7.rust-crates",{"title":195,"icon":6,"path":196,"stem":197,"children":198,"page":6},"Project","\u002Fproject","5.project",[199,204,209,214,239,244],{"title":200,"path":201,"stem":202,"icon":203},"Changelog","\u002Fproject\u002Fchangelog","5.project\u002F1.changelog","i-lucide-scroll-text",{"title":205,"path":206,"stem":207,"icon":208},"Migrating from v4 to v5","\u002Fproject\u002Fmigration","5.project\u002F2.migration","i-lucide-arrow-right-left",{"title":210,"path":211,"stem":212,"icon":213},"jscpd v4 (TypeScript)","\u002Fproject\u002Fv4","5.project\u002F3.v4","i-simple-icons-typescript",{"title":215,"icon":6,"path":216,"stem":217,"children":218},"Benchmarks","\u002Fproject\u002Fbenchmarks","5.project\u002F4.benchmarks\u002Findex",[219,221,226,230,235],{"title":215,"path":216,"stem":217,"icon":220},"i-lucide-gauge",{"title":222,"path":223,"stem":224,"icon":225},"Detection Speed","\u002Fproject\u002Fbenchmarks\u002Fdetection-speed","5.project\u002F4.benchmarks\u002F2.detection-speed","i-lucide-zap",{"title":227,"path":228,"stem":229,"icon":58},"Multi-Format Detection","\u002Fproject\u002Fbenchmarks\u002Fcross-format","5.project\u002F4.benchmarks\u002F3.cross-format",{"title":231,"path":232,"stem":233,"icon":234},"AI Token Efficiency","\u002Fproject\u002Fbenchmarks\u002Fai-token-efficiency","5.project\u002F4.benchmarks\u002F4.ai-token-efficiency","i-lucide-sparkles",{"title":236,"path":237,"stem":238,"icon":93},"Embedding Models","\u002Fproject\u002Fbenchmarks\u002Fembedding-models","5.project\u002F4.benchmarks\u002F5.embedding-models",{"title":240,"path":241,"stem":242,"icon":243},"Research","\u002Fproject\u002Fresearch","5.project\u002F5.research","i-lucide-graduation-cap",{"title":245,"path":246,"stem":247,"icon":248},"Articles","\u002Fproject\u002Farticles","5.project\u002F6.articles","i-lucide-newspaper",{"name":250,"url":251,"appearances":252,"latest":278},"astral-sh\u002Fruff","https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fruff",[253,268],{"date":254,"rank":255,"stars":256,"starsToday":257,"headSha":258,"sources":259,"lines":260,"clones":261,"duplicatedLines":262,"percentage":263,"codePercentage":264,"codeSources":265,"healthScore":266,"healthGrade":267},"2026-11-07",11,50738,169,"6f86f83bf58cbf80af51536c4b4e9de8697af177",5098,1504268,7228,104804,6.97,5.79,2110,47.7,"D",{"date":269,"rank":270,"stars":271,"starsToday":272,"headSha":273,"sources":259,"lines":274,"clones":275,"duplicatedLines":276,"percentage":277,"codePercentage":264,"codeSources":265,"healthScore":266,"healthGrade":267},"2026-11-08",7,51016,350,"1091a8b5c97227bcb2815a861b90405dddc74924",1504523,7230,104989,6.98,{"date":269,"generatedAt":279,"name":250,"url":251,"description":280,"language":281,"stars":271,"starsToday":272,"defaultBranch":282,"headSha":273,"durationMs":283,"total":284,"formats":288,"topClones":359,"code":608,"health":875,"complexity":907,"deadCode":960},"2026-11-08T05:21:26.124Z","An extremely fast Python linter and code formatter, written in Rust.","Rust","main",8381,{"sources":259,"lines":274,"tokens":285,"clones":275,"duplicatedLines":276,"duplicatedTokens":286,"percentage":277,"percentageTokens":287},9209222,610826,6.63,[289,296,303,310,317,324,331,338,345,352],{"format":290,"sources":291,"lines":292,"clones":293,"duplicatedLines":294,"percentage":295},"rust",1999,856702,4802,62229,7.26,{"format":297,"sources":298,"lines":299,"clones":300,"duplicatedLines":301,"percentage":302},"python",1865,259942,1074,15504,5.96,{"format":304,"sources":305,"lines":306,"clones":307,"duplicatedLines":308,"percentage":309},"text",165,13358,395,2391,17.9,{"format":311,"sources":312,"lines":313,"clones":314,"duplicatedLines":315,"percentage":316},"markdown",655,316834,354,17209,5.43,{"format":318,"sources":319,"lines":320,"clones":321,"duplicatedLines":322,"percentage":323},"toml",147,8454,260,3200,37.85,{"format":325,"sources":326,"lines":327,"clones":328,"duplicatedLines":329,"percentage":330},"markup",83,4258,170,2461,57.8,{"format":332,"sources":333,"lines":334,"clones":335,"duplicatedLines":336,"percentage":337},"yaml",43,6997,93,1055,15.08,{"format":339,"sources":340,"lines":341,"clones":342,"duplicatedLines":343,"percentage":344},"txt",22,19373,69,546,2.82,{"format":346,"sources":347,"lines":348,"clones":349,"duplicatedLines":350,"percentage":351},"tsx",29,6533,9,213,3.26,{"format":353,"sources":354,"lines":355,"clones":356,"duplicatedLines":357,"percentage":358},"css",4,583,2,132,22.64,[360,388,440,451,474,507,531,545,564,575],{"format":290,"lines":361,"tokens":362,"first":363,"others":367,"copies":374,"excerpt":375,"kind":387},21,3458,{"name":364,"start":365,"end":366},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Frustc_tests.rs",2283,2303,[368,371],{"name":364,"start":369,"end":370},2325,2345,{"name":364,"start":372,"end":373},2369,2389,3,{"lines":376,"total":361},[377,378,379,380,381,382,383,384,385,386],"fn long_span_shortest() {","    \u002F\u002F tests\u002Fui\u002Fdiagnostic-width\u002Flong-span.rs","    let source = r#\"","const C: u8 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, …","","fn main() {}","\"#;","    let input = &[Level::ERROR","        .primary_title(\"mismatched types\")","        .id(\"E0038\")","tests",{"format":318,"lines":389,"tokens":390,"first":391,"others":395,"copies":421,"excerpt":422,"excerptSecond":432,"kind":439},177,57,{"name":392,"start":393,"end":394},"crates\u002Fty_python_semantic\u002Fresources\u002Fmdtest\u002Fannotations\u002Fintersection_types.md",113,289,[396,399,402,405,408,411,415,417],{"name":397,"start":394,"end":398},"crates\u002Fty_python_semantic\u002Fresources\u002Fmdtest\u002Fcall\u002Fconstructor.md",1260,{"name":397,"start":400,"end":401},591,1298,{"name":397,"start":403,"end":404},994,1613,{"name":397,"start":406,"end":407},1083,1634,{"name":397,"start":409,"end":410},1109,1756,{"name":412,"start":413,"end":414},"crates\u002Fty_python_semantic\u002Fresources\u002Fmdtest\u002Fcall\u002Ftype.md",23,158,{"name":412,"start":333,"end":416},175,{"name":418,"start":419,"end":420},"crates\u002Fty_python_semantic\u002Fresources\u002Fmdtest\u002Fgenerics\u002Flegacy\u002Fvariance.md",1420,1896,86,{"lines":423,"total":389},[424,425,381,426,427,428,429,381,430,431],"python-version = \"3.12\"","```","```py","class A: ...","class B: ...","class Box[T]: ...","type AAndB = A & B","type NotA = ~A",{"lines":433,"total":438},[424,425,381,434,381,435,436,381,426,437],"### A decorator returning the enclosing class","A decorator can replace `__new__` with the type of its implicit `cls` parameter, making the","constructor refer back to itself. Regression test for \u003Chttps:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fty\u002Fissues\u002F4347>.","from collections.abc import Callable",972,"docs",{"format":290,"lines":441,"tokens":442,"first":443,"others":445,"copies":356,"excerpt":449,"kind":387},24,3483,{"name":364,"start":365,"end":444},2306,[446],{"name":364,"start":447,"end":448},2413,2436,{"lines":450,"total":441},[377,378,379,380,381,382,383,384,385,386],{"format":325,"lines":340,"tokens":452,"first":453,"others":456,"copies":473,"kind":387},172,{"name":454,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Fcolor\u002Fann_eof.ascii.term.svg",1,[457,459,461,463,465,467,469,471],{"name":458,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Fcolor\u002Fensure_emoji_highlight_width.ascii.term.svg",{"name":460,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Fcolor\u002Ffold_bad_origin_line.ascii.term.svg",{"name":462,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Fcolor\u002Ffold_bad_origin_line.unicode.term.svg",{"name":464,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Fcolor\u002Ffold_leading.ascii.term.svg",{"name":466,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Fcolor\u002Ffold_leading.unicode.term.svg",{"name":468,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Fcolor\u002Ffold_trailing.ascii.term.svg",{"name":470,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Fcolor\u002Ffold_trailing.unicode.term.svg",{"name":472,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Fcolor\u002Fmultiline_removal_indent.ascii.term.svg",17,{"format":311,"lines":475,"tokens":476,"first":477,"others":481,"copies":506,"kind":439},6,51,{"name":478,"start":479,"end":480},"crates\u002Fty\u002Fdocs\u002Frules.md",285,290,[482,485,488,491,494,497,500,503],{"name":478,"start":483,"end":484},381,386,{"name":478,"start":486,"end":487},414,419,{"name":478,"start":489,"end":490},448,453,{"name":478,"start":492,"end":493},812,817,{"name":478,"start":495,"end":496},1034,1039,{"name":478,"start":498,"end":499},1259,1264,{"name":478,"start":501,"end":502},1303,1308,{"name":478,"start":504,"end":505},1339,1344,37,{"format":318,"lines":508,"tokens":390,"first":509,"others":512,"copies":529,"kind":530},10,{"name":510,"start":354,"end":511},"crates\u002Fruff_cache\u002FCargo.toml",13,[513,515,517,519,521,523,525,527],{"name":514,"start":354,"end":511},"crates\u002Fruff_command_line\u002FCargo.toml",{"name":516,"start":354,"end":511},"crates\u002Fruff_db\u002FCargo.toml",{"name":518,"start":354,"end":511},"crates\u002Fruff_diagnostics\u002FCargo.toml",{"name":520,"start":354,"end":511},"crates\u002Fruff_formatter\u002FCargo.toml",{"name":522,"start":354,"end":511},"crates\u002Fruff_index\u002FCargo.toml",{"name":524,"start":354,"end":511},"crates\u002Fruff_linter\u002FCargo.toml",{"name":526,"start":354,"end":511},"crates\u002Fruff_macros\u002FCargo.toml",{"name":528,"start":354,"end":511},"crates\u002Fruff_memory_usage\u002FCargo.toml",30,"data",{"format":318,"lines":349,"tokens":532,"first":533,"others":535,"copies":544,"kind":530},52,{"name":534,"start":374,"end":255},"crates\u002Fruff_annotate_snippets\u002FCargo.toml",[536,537,538,539,540,541,542,543],{"name":510,"start":374,"end":255},{"name":514,"start":374,"end":255},{"name":516,"start":374,"end":255},{"name":518,"start":374,"end":255},{"name":520,"start":374,"end":255},{"name":522,"start":374,"end":255},{"name":526,"start":374,"end":255},{"name":528,"start":374,"end":255},31,{"format":325,"lines":340,"tokens":414,"first":546,"others":548,"copies":508,"kind":439},{"name":547,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Fexamples\u002Fcustom_error.svg",[549,551,553,555,557,558,560,562],{"name":550,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Fexamples\u002Fexpected_type.svg",{"name":552,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Fexamples\u002Fformat.svg",{"name":554,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Fexamples\u002Fhighlight_source.svg",{"name":556,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Fexamples\u002Fmultislice.svg",{"name":454,"start":455,"end":340},{"name":559,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Fcolor\u002Ffirst_snippet_is_primary.ascii.term.svg",{"name":561,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Fcolor\u002Ffold_ann_multiline.ascii.term.svg",{"name":563,"start":455,"end":340},"crates\u002Fruff_annotate_snippets\u002Ftests\u002Fcolor\u002Fhighlight_source.ascii.term.svg",{"format":290,"lines":565,"tokens":566,"first":567,"others":571,"copies":356,"kind":387},62,1350,{"name":568,"start":569,"end":570},"crates\u002Fruff\u002Ftests\u002Fcli\u002Flint.rs",4845,4906,[572],{"name":568,"start":573,"end":574},4925,4986,{"format":290,"lines":475,"tokens":576,"first":577,"others":581,"copies":606,"kind":607},54,{"name":578,"start":579,"end":580},"crates\u002Fruff_workspace\u002Fsrc\u002Foptions.rs",1203,1208,[582,585,588,591,594,597,600,603],{"name":578,"start":583,"end":584},1313,1318,{"name":578,"start":586,"end":587},1342,1347,{"name":578,"start":589,"end":590},1374,1379,{"name":578,"start":592,"end":593},1479,1484,{"name":578,"start":595,"end":596},1507,1512,{"name":578,"start":598,"end":599},1563,1568,{"name":578,"start":601,"end":602},1583,1588,{"name":578,"start":604,"end":605},1621,1626,26,"code",{"sources":265,"lines":609,"tokens":610,"clones":611,"duplicatedLines":612,"duplicatedTokens":613,"percentage":264,"percentageTokens":614,"formats":615,"topClones":638,"generated":870},818683,4217021,3725,47381,278082,6.59,[616,622,627,628,633],{"format":290,"sources":617,"lines":618,"clones":619,"duplicatedLines":620,"percentage":621},1857,788846,3678,46794,5.93,{"format":297,"sources":623,"lines":624,"clones":506,"duplicatedLines":625,"percentage":626},203,22169,347,1.57,{"format":346,"sources":347,"lines":348,"clones":349,"duplicatedLines":350,"percentage":351},{"format":629,"sources":511,"lines":630,"clones":455,"duplicatedLines":631,"percentage":632},"typescript",734,27,3.68,{"format":634,"sources":635,"lines":636,"clones":637,"duplicatedLines":637,"percentage":637},"bash",8,401,0,[639,661,697,720,752,777,785,806,838,861],{"format":290,"lines":475,"tokens":576,"first":640,"others":641,"copies":606,"excerpt":650,"excerptSecond":658,"kind":607},{"name":578,"start":579,"end":580},[642,643,644,645,646,647,648,649],{"name":578,"start":583,"end":584},{"name":578,"start":586,"end":587},{"name":578,"start":589,"end":590},{"name":578,"start":592,"end":593},{"name":578,"start":595,"end":596},{"name":578,"start":598,"end":599},{"name":578,"start":601,"end":602},{"name":578,"start":604,"end":605},{"lines":651,"total":475},[652,653,654,655,656,657],"#[derive(","    Clone, Debug, PartialEq, Eq, Default, Serialize, Deserialize, OptionsMetadata, CombineOptions,",")]","#[serde(deny_unknown_fields, rename_all = \"kebab-case\")]","#[cfg_attr(feature = \"schemars\", derive(schemars::JsonSchema))]","pub struct Flake8BanditOptions {",{"lines":659,"total":475},[652,653,654,655,656,660],"pub struct Flake8BooleanTrapOptions {",{"format":290,"lines":662,"tokens":663,"first":664,"others":668,"copies":270,"excerpt":687,"kind":607},19,190,{"name":665,"start":666,"end":667},"crates\u002Fty_ide\u002Fsrc\u002Fhover.rs",2755,2773,[669,672,675,678,681,684],{"name":665,"start":670,"end":671},3037,3055,{"name":665,"start":673,"end":674},3071,3089,{"name":665,"start":676,"end":677},3105,3123,{"name":665,"start":679,"end":680},3139,3157,{"name":665,"start":682,"end":683},3173,3191,{"name":665,"start":685,"end":686},3236,3254,{"lines":688,"total":662},[689,690,691,692,381,693,694,695,696,381],"class MyClass:","    \"\"\"some docs\"\"\"","\"#,",");","assert_snapshot!(test.hover(), @r#\"","MyClass","---------------------------------------------","some docs",{"format":290,"lines":698,"tokens":699,"first":700,"others":703,"copies":356,"excerpt":708,"kind":607},219,1069,{"name":701,"start":702,"end":314},"crates\u002Fruff_python_ast\u002Fsrc\u002Fvisitor.rs",136,[704],{"name":705,"start":706,"end":707},"crates\u002Fruff_python_ast\u002Fsrc\u002Fvisitor\u002Ftransformer.rs",123,341,{"lines":709,"total":698},[710,711,712,713,714,715,716,717,718,719],"match stmt {","    Stmt::FunctionDef(ast::StmtFunctionDef {","        parameters,","        body,","        decorator_list,","        returns,","        type_params,","        ..","    }) => {","        for decorator in decorator_list {",{"format":290,"lines":270,"tokens":721,"first":722,"others":726,"copies":751,"kind":607},71,{"name":723,"start":724,"end":725},"crates\u002Fty_ide\u002Fsrc\u002Finlay_hints.rs",2532,2538,[727,730,733,736,739,742,745,748],{"name":723,"start":728,"end":729},4020,4026,{"name":723,"start":731,"end":732},4229,4235,{"name":723,"start":734,"end":735},4404,4410,{"name":723,"start":737,"end":738},4609,4615,{"name":723,"start":740,"end":741},4713,4719,{"name":723,"start":743,"end":744},4793,4799,{"name":723,"start":746,"end":747},4851,4857,{"name":723,"start":749,"end":750},4998,5004,15,{"format":290,"lines":340,"tokens":753,"first":754,"others":756,"copies":255,"kind":607},95,{"name":755,"start":544,"end":532},"crates\u002Fty_server\u002Fsrc\u002Fserver\u002Fapi\u002Frequests\u002Fdoc_highlights.rs",[757,759,761,763,765,767,771,773],{"name":758,"start":529,"end":476},"crates\u002Fty_server\u002Fsrc\u002Fserver\u002Fapi\u002Frequests\u002Fgoto_declaration.rs",{"name":760,"start":544,"end":532},"crates\u002Fty_server\u002Fsrc\u002Fserver\u002Fapi\u002Frequests\u002Fgoto_definition.rs",{"name":762,"start":529,"end":476},"crates\u002Fty_server\u002Fsrc\u002Fserver\u002Fapi\u002Frequests\u002Fgoto_implementation.rs",{"name":764,"start":544,"end":532},"crates\u002Fty_server\u002Fsrc\u002Fserver\u002Fapi\u002Frequests\u002Fgoto_type_definition.rs",{"name":766,"start":529,"end":476},"crates\u002Fty_server\u002Fsrc\u002Fserver\u002Fapi\u002Frequests\u002Fhover.rs",{"name":768,"start":769,"end":770},"crates\u002Fty_server\u002Fsrc\u002Fserver\u002Fapi\u002Frequests\u002Fprepare_call_hierarchy.rs",39,60,{"name":772,"start":529,"end":476},"crates\u002Fty_server\u002Fsrc\u002Fserver\u002Fapi\u002Frequests\u002Fprepare_rename.rs",{"name":774,"start":775,"end":776},"crates\u002Fty_server\u002Fsrc\u002Fserver\u002Fapi\u002Frequests\u002Fprepare_type_hierarchy.rs",40,61,{"format":290,"lines":778,"tokens":779,"first":780,"others":782,"copies":356,"kind":607},301,922,{"name":781,"start":455,"end":778},"crates\u002Fruff_server\u002Fsrc\u002Fserver\u002Fschedule\u002Fthread\u002Fpriority.rs",[783],{"name":784,"start":455,"end":778},"crates\u002Fty_server\u002Fsrc\u002Fserver\u002Fschedule\u002Fthread\u002Fpriority.rs",{"format":290,"lines":270,"tokens":786,"first":787,"others":789,"copies":662,"kind":607},50,{"name":788,"start":455,"end":270},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_use_pathlib\u002Frules\u002Fos_path_abspath.rs",[790,792,794,796,798,800,802,804],{"name":791,"start":455,"end":270},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_use_pathlib\u002Frules\u002Fos_path_basename.rs",{"name":793,"start":455,"end":270},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_use_pathlib\u002Frules\u002Fos_path_dirname.rs",{"name":795,"start":455,"end":270},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_use_pathlib\u002Frules\u002Fos_path_exists.rs",{"name":797,"start":455,"end":270},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_use_pathlib\u002Frules\u002Fos_path_expanduser.rs",{"name":799,"start":455,"end":270},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_use_pathlib\u002Frules\u002Fos_path_getatime.rs",{"name":801,"start":455,"end":270},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_use_pathlib\u002Frules\u002Fos_path_getctime.rs",{"name":803,"start":455,"end":270},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_use_pathlib\u002Frules\u002Fos_path_getmtime.rs",{"name":805,"start":455,"end":270},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_use_pathlib\u002Frules\u002Fos_path_getsize.rs",{"format":290,"lines":807,"tokens":808,"first":809,"others":812,"copies":511,"kind":607},12,63,{"name":810,"start":495,"end":811},"crates\u002Fty_ide\u002Fsrc\u002Ffind_references.rs",1045,[813,816,819,822,826,829,832,835],{"name":810,"start":814,"end":815},1062,1073,{"name":810,"start":817,"end":818},1090,1101,{"name":810,"start":820,"end":821},1124,1135,{"name":823,"start":824,"end":825},"crates\u002Fty_ide\u002Fsrc\u002Fgoto_declaration.rs",1625,1636,{"name":823,"start":827,"end":828},1656,1667,{"name":823,"start":830,"end":831},1687,1698,{"name":833,"start":586,"end":834},"crates\u002Fty_ide\u002Fsrc\u002Fgoto_type_definition.rs",1353,{"name":833,"start":836,"end":837},1373,1384,{"format":290,"lines":839,"tokens":840,"first":841,"others":844,"copies":255,"kind":607},14,73,{"name":842,"start":374,"end":843},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fairflow\u002Fmod.rs",16,[845,847,849,851,853,855,857,859],{"name":846,"start":356,"end":751},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_blind_except\u002Fmod.rs",{"name":848,"start":356,"end":751},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_commas\u002Fmod.rs",{"name":850,"start":374,"end":843},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_debugger\u002Fmod.rs",{"name":852,"start":455,"end":839},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_fixme\u002Fmod.rs",{"name":854,"start":374,"end":843},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_implicit_str_concat\u002Fmod.rs",{"name":856,"start":374,"end":843},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_logging_format\u002Fmod.rs",{"name":858,"start":356,"end":751},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_pie\u002Fmod.rs",{"name":860,"start":356,"end":751},"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fflake8_print\u002Fmod.rs",{"format":290,"lines":862,"tokens":863,"first":864,"others":867,"copies":356,"kind":607},153,717,{"name":701,"start":865,"end":866},363,515,[868],{"name":705,"start":272,"end":869},502,{"files":374,"minified":637,"sample":871},[872,873,874],"crates\u002Fruff_linter\u002Fsrc\u002Frules\u002Fruff\u002Frules\u002Fconfusables.rs","crates\u002Fruff_python_stdlib\u002Fsrc\u002Fsys\u002Fbuiltin_modules.rs","crates\u002Fruff_python_stdlib\u002Fsrc\u002Fsys\u002Fknown_stdlib.rs",{"score":266,"grade":267,"size":876,"dimensions":880},{"lines":877,"files":878,"class":879},990486,3488,"L",[881,892,901],{"id":882,"source":883,"value":270,"adjusted":270,"lines":884,"halfLife":885,"formats":886,"excluded":890,"weight":455,"score":891},"duplication","jscpd",69297,8.5,[290,297,346,629,634,887,888,889],"javascript","dot","docker",[325,304,530],56.6,{"id":893,"source":883,"value":894,"adjusted":895,"lines":896,"halfLife":897,"coverage":898,"weight":899,"score":900},"dead-code",6.2,6.1,8821,7.5,14.4,0.144,56.7,{"id":902,"source":883,"value":903,"adjusted":904,"lines":905,"halfLife":786,"weight":455,"score":906},"complexity",67.7,67.6,670178,39.2,{"total":908,"mean":909,"files":910},120765,34.6,[911,916,921,926,930,935,940,945,950,955],{"path":912,"complexity":913,"lines":914,"bytes":915},"crates\u002Fruff_python_ast\u002Fsrc\u002Fgenerated.rs",3411,11216,346704,{"path":917,"complexity":918,"lines":919,"bytes":920},"crates\u002Fty_python_semantic\u002Fsrc\u002Ftypes.rs",1914,13027,553448,{"path":922,"complexity":923,"lines":924,"bytes":925},"crates\u002Fty_python_semantic\u002Fsrc\u002Ftypes\u002Finfer\u002Fbuilder.rs",1793,13721,566496,{"path":872,"complexity":927,"lines":928,"bytes":929},1586,1595,42103,{"path":931,"complexity":932,"lines":933,"bytes":934},"crates\u002Fty_python_semantic\u002Fsrc\u002Ftypes\u002Fcall\u002Fbind.rs",1470,11486,507331,{"path":936,"complexity":937,"lines":938,"bytes":939},"crates\u002Fruff_linter\u002Fsrc\u002Fcodes.rs",1027,1436,94406,{"path":941,"complexity":942,"lines":943,"bytes":944},"crates\u002Fty_python_semantic\u002Fsrc\u002Ftypes\u002Fdisplay.rs",900,4546,167091,{"path":946,"complexity":947,"lines":948,"bytes":949},"crates\u002Fty_python_semantic\u002Fsrc\u002Ftypes\u002Fsignatures.rs",888,7112,300743,{"path":951,"complexity":952,"lines":953,"bytes":954},"crates\u002Fty_ide\u002Fsrc\u002Fcompletion.rs",878,11844,353485,{"path":956,"complexity":957,"lines":958,"bytes":959},"crates\u002Fty_python_semantic\u002Fsrc\u002Ftypes\u002Fnarrow.rs",815,5739,233322,{"percentage":961,"findings":962,"files":963,"byCategory":964,"largest":969},6.18,601,3185,[965,967],{"category":966,"count":400},"unused-file",{"category":968,"count":508},"unused-export",[970,973,976,979,982,985,988,991,994,997],{"category":966,"path":971,"name":381,"line":455,"lines":972},"crates\u002Fruff_benchmark\u002Fresources\u002Flarge\u002Fdataset.py",1617,{"category":966,"path":974,"name":381,"line":455,"lines":975},"crates\u002Fruff_benchmark\u002Fresources\u002Fpydantic\u002Ftypes.py",834,{"category":966,"path":977,"name":381,"line":455,"lines":978},"crates\u002Fruff_benchmark\u002Fresources\u002Fnumpy\u002Fctypeslib.py",547,{"category":966,"path":980,"name":381,"line":455,"lines":981},"crates\u002Fty_vendored\u002Fty_extensions\u002F_internal.pyi",389,{"category":966,"path":983,"name":381,"line":455,"lines":984},"crates\u002Fruff_python_parser\u002Fresources\u002Fvalid\u002Fstatement\u002Fmatch.py",340,{"category":966,"path":986,"name":381,"line":455,"lines":987},"crates\u002Fruff_benchmark\u002Fresources\u002Ftypeis_narrowing.py",297,{"category":966,"path":989,"name":381,"line":455,"lines":990},"crates\u002Fty_vendored\u002Fty_extensions\u002F__init__.pyi",188,{"category":966,"path":992,"name":381,"line":455,"lines":993},"crates\u002Fruff_python_parser\u002Fresources\u002Fvalid\u002Fstatement\u002Ffunction.py",162,{"category":966,"path":995,"name":381,"line":455,"lines":996},"scripts\u002Fgenerate_known_standard_library.py",109,{"category":966,"path":998,"name":381,"line":455,"lines":999},"crates\u002Fruff_python_parser\u002Fresources\u002Fvalid\u002Fstatement\u002Fambiguous_lpar_with_items.py",105,{"\u002Ftrending\u002Fastral-sh\u002Fruff":1001},{"views":1002,"visits":1002},5,1795510255639]