mirror of https://github.com/pypa/hatch.git
66 lines
119 KiB
HTML
66 lines
119 KiB
HTML
<!doctype html><html lang=en class=no-js> <head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=description content="Modern, extensible Python project management"><meta name=author content="Ofek Lev"><link href=https://hatch.pypa.io/1.10/config/internal/static-analysis/ rel=canonical><link href=../testing/ rel=prev><link href=../../context/ rel=next><link rel=icon href=../../../assets/images/logo.svg><meta name=generator content="mkdocs-1.5.3, mkdocs-material-9.5.18+insiders-4.53.6"><title>Static analysis configuration - Hatch</title><link rel=stylesheet href=../../../assets/stylesheets/main.d5b5f0fd.min.css><link rel=stylesheet href=../../../assets/stylesheets/palette.ab4e12ef.min.css><link rel=preconnect href=https://fonts.gstatic.com crossorigin><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback"><style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style><link rel=stylesheet href=../../../assets/_mkdocstrings.css><link rel=stylesheet href=../../../assets/css/custom.css><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/firacode@6.2.0/distr/fira_code.css><script>__md_scope=new URL("../../..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script><meta property=og:type content=website><meta property=og:title content="Static analysis configuration - Hatch"><meta property=og:description content="Modern, extensible Python project management"><meta property=og:image content=https://hatch.pypa.io/1.10/assets/images/social/config/internal/static-analysis.png><meta property=og:image:type content=image/png><meta property=og:image:width content=1200><meta property=og:image:height content=630><meta content=https://hatch.pypa.io/1.10/config/internal/static-analysis/ property=og:url><meta property=twitter:card content=summary_large_image><meta property=twitter:title content="Static analysis configuration - Hatch"><meta property=twitter:description content="Modern, extensible Python project management"><meta property=twitter:image content=https://hatch.pypa.io/1.10/assets/images/social/config/internal/static-analysis.png><link href=../../../assets/stylesheets/glightbox.min.css rel=stylesheet><style>
|
|
html.glightbox-open { overflow: initial; height: 100%; }
|
|
.gslide-title { margin-top: 0px; user-select: text; }
|
|
.gslide-desc { color: #666; user-select: text; }
|
|
.gslide-image img { background: white; }
|
|
.gscrollbar-fixer { padding-right: 15px; }
|
|
.gdesc-inner { font-size: 0.75rem; }
|
|
body[data-md-color-scheme="slate"] .gdesc-inner { background: var(--md-default-bg-color);}
|
|
body[data-md-color-scheme="slate"] .gslide-title { color: var(--md-default-fg-color);}
|
|
body[data-md-color-scheme="slate"] .gslide-desc { color: var(--md-default-fg-color);}</style><script src=../../../assets/javascripts/glightbox.min.js></script></head> <body dir=ltr data-md-color-scheme=slate data-md-color-primary=indigo data-md-color-accent=indigo> <input class=md-toggle data-md-toggle=drawer type=checkbox id=__drawer autocomplete=off> <input class=md-toggle data-md-toggle=search type=checkbox id=__search autocomplete=off> <label class=md-overlay for=__drawer></label> <div data-md-component=skip> <a href=#static-analysis-configuration class=md-skip> Skip to content </a> </div> <div data-md-component=announce> </div> <div data-md-color-scheme=default data-md-component=outdated hidden> </div> <header class="md-header md-header--shadow md-header--lifted" data-md-component=header> <nav class="md-header__inner md-grid" aria-label=Header> <a href=../../.. title=Hatch class="md-header__button md-logo" aria-label=Hatch data-md-component=logo> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M19.5 14.5A7.5 7.5 0 0 1 12 22a7.5 7.5 0 0 1-7.5-7.5C4.5 10.36 7.86 2 12 2c4.14 0 7.5 8.36 7.5 12.5Z"/></svg> </a> <label class="md-header__button md-icon" for=__drawer> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg> </label> <div class=md-header__title data-md-component=header-title> <div class=md-header__ellipsis> <div class=md-header__topic> <span class=md-ellipsis> Hatch </span> </div> <div class=md-header__topic data-md-component=header-topic> <span class=md-ellipsis> Static analysis configuration </span> </div> </div> </div> <form class=md-header__option data-md-component=palette> <input class=md-option data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme=slate data-md-color-primary=indigo data-md-color-accent=indigo aria-label="Switch to light mode" type=radio name=__palette id=__palette_0> <label class="md-header__button md-icon" title="Switch to light mode" for=__palette_1 hidden> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="m17.75 4.09-2.53 1.94.91 3.06-2.63-1.81-2.63 1.81.91-3.06-2.53-1.94L12.44 4l1.06-3 1.06 3 3.19.09m3.5 6.91-1.64 1.25.59 1.98-1.7-1.17-1.7 1.17.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95 2.06.05m-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14.4-.4.82-.76 1.27-1.08.75-.53 1.93.36 1.85 1.19-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82-2.81 3.14-2.7 7.96.31 10.98 3.02 3.01 7.84 3.12 10.98.31Z"/></svg> </label> <input class=md-option data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme=default data-md-color-primary=indigo data-md-color-accent=indigo aria-label="Switch to dark mode" type=radio name=__palette id=__palette_1> <label class="md-header__button md-icon" title="Switch to dark mode" for=__palette_0 hidden> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3m0-7 2.39 3.42C13.65 5.15 12.84 5 12 5c-.84 0-1.65.15-2.39.42L12 2M3.34 7l4.16-.35A7.2 7.2 0 0 0 5.94 8.5c-.44.74-.69 1.5-.83 2.29L3.34 7m.02 10 1.76-3.77a7.131 7.131 0 0 0 2.38 4.14L3.36 17M20.65 7l-1.77 3.79a7.023 7.023 0 0 0-2.38-4.15l4.15.36m-.01 10-4.14.36c.59-.51 1.12-1.14 1.54-1.86.42-.73.69-1.5.83-2.29L20.64 17M12 22l-2.41-3.44c.74.27 1.55.44 2.41.44.82 0 1.63-.17 2.37-.44L12 22Z"/></svg> </label> </form> <script>var media,input,key,value,palette=__md_get("__palette");if(palette&&palette.color){"(prefers-color-scheme)"===palette.color.media&&(media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']"),palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent"));for([key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script> <label class="md-header__button md-icon" for=__search> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg> </label> <div class=md-search data-md-component=search role=dialog> <label class=md-search__overlay for=__search></label> <div class=md-search__inner role=search> <form class=md-search__form name=search> <input type=text class=md-search__input name=query aria-label=Search placeholder=Search autocapitalize=off autocorrect=off autocomplete=off spellcheck=false data-md-component=search-query required> <label class="md-search__icon md-icon" for=__search> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg> </label> <nav class=md-search__options aria-label=Search> <button type=reset class="md-search__icon md-icon" title=Clear aria-label=Clear tabindex=-1> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg> </button> </nav> </form> <div class=md-search__output> <div class=md-search__scrollwrap data-md-scrollfix> <div class=md-search-result data-md-component=search-result> <div class=md-search-result__meta> Initializing search </div> <ol class=md-search-result__list role=presentation></ol> </div> </div> </div> </div> </div> <div class=md-header__source> <a href=https://github.com/pypa/hatch title="Go to repository" class=md-source data-md-component=source> <div class="md-source__icon md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 480 512"><!-- Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M186.1 328.7c0 20.9-10.9 55.1-36.7 55.1s-36.7-34.2-36.7-55.1 10.9-55.1 36.7-55.1 36.7 34.2 36.7 55.1zM480 278.2c0 31.9-3.2 65.7-17.5 95-37.9 76.6-142.1 74.8-216.7 74.8-75.8 0-186.2 2.7-225.6-74.8-14.6-29-20.2-63.1-20.2-95 0-41.9 13.9-81.5 41.5-113.6-5.2-15.8-7.7-32.4-7.7-48.8 0-21.5 4.9-32.3 14.6-51.8 45.3 0 74.3 9 108.8 36 29-6.9 58.8-10 88.7-10 27 0 54.2 2.9 80.4 9.2 34-26.7 63-35.2 107.8-35.2 9.8 19.5 14.6 30.3 14.6 51.8 0 16.4-2.6 32.7-7.7 48.2 27.5 32.4 39 72.3 39 114.2zm-64.3 50.5c0-43.9-26.7-82.6-73.5-82.6-18.9 0-37 3.4-56 6-14.9 2.3-29.8 3.2-45.1 3.2-15.2 0-30.1-.9-45.1-3.2-18.7-2.6-37-6-56-6-46.8 0-73.5 38.7-73.5 82.6 0 87.8 80.4 101.3 150.4 101.3h48.2c70.3 0 150.6-13.4 150.6-101.3zm-82.6-55.1c-25.8 0-36.7 34.2-36.7 55.1s10.9 55.1 36.7 55.1 36.7-34.2 36.7-55.1-10.9-55.1-36.7-55.1z"/></svg> </div> <div class=md-source__repository> pypa/hatch </div> </a> </div> </nav> <nav class=md-tabs aria-label=Tabs data-md-component=tabs> <div class=md-grid> <ul class=md-tabs__list> <li class=md-tabs__item> <a href=../../.. class=md-tabs__link> Home </a> </li> <li class="md-tabs__item md-tabs__item--active"> <a href=../../metadata/ class=md-tabs__link> Configuration </a> </li> <li class=md-tabs__item> <a href=../../../cli/about/ class=md-tabs__link> CLI </a> </li> <li class=md-tabs__item> <a href=../../../plugins/about/ class=md-tabs__link> Plugins </a> </li> <li class=md-tabs__item> <a href=../../../how-to/meta/report-issues/ class=md-tabs__link> How-to </a> </li> <li class=md-tabs__item> <a href=../../../tutorials/environment/basic-usage/ class=md-tabs__link> Tutorials </a> </li> <li class=md-tabs__item> <a href=../../../meta/faq/ class=md-tabs__link> Meta </a> </li> <li class=md-tabs__item> <a href=../../../blog/ class=md-tabs__link> Blog </a> </li> </ul> </div> </nav> </header> <div class=md-container data-md-component=container> <main class=md-main data-md-component=main> <div class="md-main__inner md-grid"> <div class="md-sidebar md-sidebar--primary" data-md-component=sidebar data-md-type=navigation> <div class=md-sidebar__scrollwrap> <div class=md-sidebar__inner> <nav class="md-nav md-nav--primary md-nav--lifted" aria-label=Navigation data-md-level=0> <label class=md-nav__title for=__drawer> <a href=../../.. title=Hatch class="md-nav__button md-logo" aria-label=Hatch data-md-component=logo> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M19.5 14.5A7.5 7.5 0 0 1 12 22a7.5 7.5 0 0 1-7.5-7.5C4.5 10.36 7.86 2 12 2c4.14 0 7.5 8.36 7.5 12.5Z"/></svg> </a> Hatch </label> <div class=md-nav__source> <a href=https://github.com/pypa/hatch title="Go to repository" class=md-source data-md-component=source> <div class="md-source__icon md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 480 512"><!-- Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M186.1 328.7c0 20.9-10.9 55.1-36.7 55.1s-36.7-34.2-36.7-55.1 10.9-55.1 36.7-55.1 36.7 34.2 36.7 55.1zM480 278.2c0 31.9-3.2 65.7-17.5 95-37.9 76.6-142.1 74.8-216.7 74.8-75.8 0-186.2 2.7-225.6-74.8-14.6-29-20.2-63.1-20.2-95 0-41.9 13.9-81.5 41.5-113.6-5.2-15.8-7.7-32.4-7.7-48.8 0-21.5 4.9-32.3 14.6-51.8 45.3 0 74.3 9 108.8 36 29-6.9 58.8-10 88.7-10 27 0 54.2 2.9 80.4 9.2 34-26.7 63-35.2 107.8-35.2 9.8 19.5 14.6 30.3 14.6 51.8 0 16.4-2.6 32.7-7.7 48.2 27.5 32.4 39 72.3 39 114.2zm-64.3 50.5c0-43.9-26.7-82.6-73.5-82.6-18.9 0-37 3.4-56 6-14.9 2.3-29.8 3.2-45.1 3.2-15.2 0-30.1-.9-45.1-3.2-18.7-2.6-37-6-56-6-46.8 0-73.5 38.7-73.5 82.6 0 87.8 80.4 101.3 150.4 101.3h48.2c70.3 0 150.6-13.4 150.6-101.3zm-82.6-55.1c-25.8 0-36.7 34.2-36.7 55.1s10.9 55.1 36.7 55.1 36.7-34.2 36.7-55.1-10.9-55.1-36.7-55.1z"/></svg> </div> <div class=md-source__repository> pypa/hatch </div> </a> </div> <ul class=md-nav__list data-md-scrollfix> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_1> <label class=md-nav__link for=__nav_1 id=__nav_1_label tabindex=0> <span class=md-ellipsis> Home </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_1_label aria-expanded=false> <label class=md-nav__title for=__nav_1> <span class="md-nav__icon md-icon"></span> Home </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../.. class=md-nav__link> <span class=md-ellipsis> About </span> </a> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_1_2> <label class=md-nav__link for=__nav_1_2 id=__nav_1_2_label tabindex=0> <span class=md-ellipsis> Walkthrough </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_1_2_label aria-expanded=false> <label class=md-nav__title for=__nav_1_2> <span class="md-nav__icon md-icon"></span> Walkthrough </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../install/ class=md-nav__link> <span class=md-ellipsis> Installation </span> </a> </li> <li class=md-nav__item> <a href=../../../intro/ class=md-nav__link> <span class=md-ellipsis> Introduction </span> </a> </li> <li class=md-nav__item> <a href=../../../environment/ class=md-nav__link> <span class=md-ellipsis> Environments </span> </a> </li> <li class=md-nav__item> <a href=../../../version/ class=md-nav__link> <span class=md-ellipsis> Versioning </span> </a> </li> <li class=md-nav__item> <a href=../../../build/ class=md-nav__link> <span class=md-ellipsis> Builds </span> </a> </li> <li class=md-nav__item> <a href=../../../publish/ class=md-nav__link> <span class=md-ellipsis> Publishing </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_1_3> <label class=md-nav__link for=__nav_1_3 id=__nav_1_3_label tabindex=0> <span class=md-ellipsis> Learn </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_1_3_label aria-expanded=false> <label class=md-nav__title for=__nav_1_3> <span class="md-nav__icon md-icon"></span> Learn </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../next-steps/ class=md-nav__link> <span class=md-ellipsis> Next steps </span> </a> </li> <li class=md-nav__item> <a href=../../../why/ class=md-nav__link> <span class=md-ellipsis> Why Hatch? </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_1_4> <label class=md-nav__link for=__nav_1_4 id=__nav_1_4_label tabindex=0> <span class=md-ellipsis> History </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_1_4_label aria-expanded=false> <label class=md-nav__title for=__nav_1_4> <span class="md-nav__icon md-icon"></span> History </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../history/hatch/ class=md-nav__link> <span class=md-ellipsis> Hatch </span> </a> </li> <li class=md-nav__item> <a href=../../../history/hatchling/ class=md-nav__link> <span class=md-ellipsis> Hatchling </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_1_5> <label class=md-nav__link for=__nav_1_5 id=__nav_1_5_label tabindex=0> <span class=md-ellipsis> Community </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_1_5_label aria-expanded=false> <label class=md-nav__title for=__nav_1_5> <span class="md-nav__icon md-icon"></span> Community </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../community/users/ class=md-nav__link> <span class=md-ellipsis> Users </span> </a> </li> <li class=md-nav__item> <a href=../../../community/highlights/ class=md-nav__link> <span class=md-ellipsis> Highlights </span> </a> </li> <li class=md-nav__item> <a href=../../../community/contributing/ class=md-nav__link> <span class=md-ellipsis> Contributing </span> </a> </li> </ul> </nav> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--active md-nav__item--section md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type=checkbox id=__nav_2 checked> <label class=md-nav__link for=__nav_2 id=__nav_2_label tabindex> <span class=md-ellipsis> Configuration </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_2_label aria-expanded=true> <label class=md-nav__title for=__nav_2> <span class="md-nav__icon md-icon"></span> Configuration </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../metadata/ class=md-nav__link> <span class=md-ellipsis> Metadata </span> </a> </li> <li class=md-nav__item> <a href=../../dependency/ class=md-nav__link> <span class=md-ellipsis> Dependencies </span> </a> </li> <li class=md-nav__item> <a href=../../build/ class=md-nav__link> <span class=md-ellipsis> Build </span> </a> </li> <li class="md-nav__item md-nav__item--section md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_2_4> <label class=md-nav__link for=__nav_2_4 id=__nav_2_4_label tabindex> <span class=md-ellipsis> Environments </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_2_4_label aria-expanded=false> <label class=md-nav__title for=__nav_2_4> <span class="md-nav__icon md-icon"></span> Environments </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../environment/overview/ class=md-nav__link> <span class=md-ellipsis> Overview </span> </a> </li> <li class=md-nav__item> <a href=../../environment/advanced/ class=md-nav__link> <span class=md-ellipsis> Advanced </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--active md-nav__item--section md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type=checkbox id=__nav_2_5 checked> <label class=md-nav__link for=__nav_2_5 id=__nav_2_5_label tabindex> <span class=md-ellipsis> Internal </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_2_5_label aria-expanded=true> <label class=md-nav__title for=__nav_2_5> <span class="md-nav__icon md-icon"></span> Internal </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../testing/ class=md-nav__link> <span class=md-ellipsis> Testing </span> </a> </li> <li class="md-nav__item md-nav__item--active"> <input class="md-nav__toggle md-toggle" type=checkbox id=__toc> <label class="md-nav__link md-nav__link--active" for=__toc> <span class=md-ellipsis> Static analysis </span> <span class="md-nav__icon md-icon"></span> </label> <a href=./ class="md-nav__link md-nav__link--active"> <span class=md-ellipsis> Static analysis </span> </a> <nav class="md-nav md-nav--secondary" aria-label="Table of contents"> <label class=md-nav__title for=__toc> <span class="md-nav__icon md-icon"></span> Table of contents </label> <ul class=md-nav__list data-md-component=toc data-md-scrollfix> <li class=md-nav__item> <a href=#extending-config class=md-nav__link> <span class=md-ellipsis> Extending config </span> </a> </li> <li class=md-nav__item> <a href=#persistent-config class=md-nav__link> <span class=md-ellipsis> Persistent config </span> </a> <nav class=md-nav aria-label="Persistent config"> <ul class=md-nav__list> <li class=md-nav__item> <a href=#no-config class=md-nav__link> <span class=md-ellipsis> No config </span> </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=#customize-behavior class=md-nav__link> <span class=md-ellipsis> Customize behavior </span> </a> <nav class=md-nav aria-label="Customize behavior"> <ul class=md-nav__list> <li class=md-nav__item> <a href=#dependencies class=md-nav__link> <span class=md-ellipsis> Dependencies </span> </a> </li> <li class=md-nav__item> <a href=#scripts class=md-nav__link> <span class=md-ellipsis> Scripts </span> </a> </li> <li class=md-nav__item> <a href=#installer class=md-nav__link> <span class=md-ellipsis> Installer </span> </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=#default-settings class=md-nav__link> <span class=md-ellipsis> Default settings </span> </a> <nav class=md-nav aria-label="Default settings"> <ul class=md-nav__list> <li class=md-nav__item> <a href=#non-rule-settings class=md-nav__link> <span class=md-ellipsis> Non-rule settings </span> </a> </li> <li class=md-nav__item> <a href=#per-file-ignored-rules class=md-nav__link> <span class=md-ellipsis> Per-file ignored rules </span> </a> </li> <li class=md-nav__item> <a href=#selected-rules class=md-nav__link> <span class=md-ellipsis> Selected rules </span> </a> </li> </ul> </nav> </li> </ul> </nav> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=../../context/ class=md-nav__link> <span class=md-ellipsis> Context formatting </span> </a> </li> <li class=md-nav__item> <a href=../../project-templates/ class=md-nav__link> <span class=md-ellipsis> Project templates </span> </a> </li> <li class=md-nav__item> <a href=../../hatch/ class=md-nav__link> <span class=md-ellipsis> Hatch </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_3> <label class=md-nav__link for=__nav_3 id=__nav_3_label tabindex=0> <span class=md-ellipsis> CLI </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_3_label aria-expanded=false> <label class=md-nav__title for=__nav_3> <span class="md-nav__icon md-icon"></span> CLI </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../cli/about/ class=md-nav__link> <span class=md-ellipsis> About </span> </a> </li> <li class=md-nav__item> <a href=../../../cli/reference/ class=md-nav__link> <span class=md-ellipsis> Reference </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_4> <label class=md-nav__link for=__nav_4 id=__nav_4_label tabindex=0> <span class=md-ellipsis> Plugins </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_4_label aria-expanded=false> <label class=md-nav__title for=__nav_4> <span class="md-nav__icon md-icon"></span> Plugins </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../plugins/about/ class=md-nav__link> <span class=md-ellipsis> About </span> </a> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_4_2> <label class=md-nav__link for=__nav_4_2 id=__nav_4_2_label tabindex=0> <span class=md-ellipsis> Builder </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_4_2_label aria-expanded=false> <label class=md-nav__title for=__nav_4_2> <span class="md-nav__icon md-icon"></span> Builder </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../plugins/builder/reference/ class=md-nav__link> <span class=md-ellipsis> Reference </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/builder/wheel/ class=md-nav__link> <span class=md-ellipsis> Wheel </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/builder/sdist/ class=md-nav__link> <span class=md-ellipsis> Source distribution </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/builder/binary/ class=md-nav__link> <span class=md-ellipsis> Binary </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/builder/custom/ class=md-nav__link> <span class=md-ellipsis> Custom </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_4_3> <label class=md-nav__link for=__nav_4_3 id=__nav_4_3_label tabindex=0> <span class=md-ellipsis> Build hook </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_4_3_label aria-expanded=false> <label class=md-nav__title for=__nav_4_3> <span class="md-nav__icon md-icon"></span> Build hook </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../plugins/build-hook/reference/ class=md-nav__link> <span class=md-ellipsis> Reference </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/build-hook/version/ class=md-nav__link> <span class=md-ellipsis> Version </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/build-hook/custom/ class=md-nav__link> <span class=md-ellipsis> Custom </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_4_4> <label class=md-nav__link for=__nav_4_4 id=__nav_4_4_label tabindex=0> <span class=md-ellipsis> Metadata hook </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_4_4_label aria-expanded=false> <label class=md-nav__title for=__nav_4_4> <span class="md-nav__icon md-icon"></span> Metadata hook </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../plugins/metadata-hook/reference/ class=md-nav__link> <span class=md-ellipsis> Reference </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/metadata-hook/custom/ class=md-nav__link> <span class=md-ellipsis> Custom </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_4_5> <label class=md-nav__link for=__nav_4_5 id=__nav_4_5_label tabindex=0> <span class=md-ellipsis> Environment </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_4_5_label aria-expanded=false> <label class=md-nav__title for=__nav_4_5> <span class="md-nav__icon md-icon"></span> Environment </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../plugins/environment/reference/ class=md-nav__link> <span class=md-ellipsis> Reference </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/environment/virtual/ class=md-nav__link> <span class=md-ellipsis> Virtual </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_4_6> <label class=md-nav__link for=__nav_4_6 id=__nav_4_6_label tabindex=0> <span class=md-ellipsis> Environment collector </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_4_6_label aria-expanded=false> <label class=md-nav__title for=__nav_4_6> <span class="md-nav__icon md-icon"></span> Environment collector </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../plugins/environment-collector/reference/ class=md-nav__link> <span class=md-ellipsis> Reference </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/environment-collector/custom/ class=md-nav__link> <span class=md-ellipsis> Custom </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/environment-collector/default/ class=md-nav__link> <span class=md-ellipsis> Default </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_4_7> <label class=md-nav__link for=__nav_4_7 id=__nav_4_7_label tabindex=0> <span class=md-ellipsis> Publisher </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_4_7_label aria-expanded=false> <label class=md-nav__title for=__nav_4_7> <span class="md-nav__icon md-icon"></span> Publisher </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../plugins/publisher/reference/ class=md-nav__link> <span class=md-ellipsis> Reference </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/publisher/package-index/ class=md-nav__link> <span class=md-ellipsis> Index </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_4_8> <label class=md-nav__link for=__nav_4_8 id=__nav_4_8_label tabindex=0> <span class=md-ellipsis> Version source </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_4_8_label aria-expanded=false> <label class=md-nav__title for=__nav_4_8> <span class="md-nav__icon md-icon"></span> Version source </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../plugins/version-source/reference/ class=md-nav__link> <span class=md-ellipsis> Reference </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/version-source/regex/ class=md-nav__link> <span class=md-ellipsis> Regex </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/version-source/code/ class=md-nav__link> <span class=md-ellipsis> Code </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/version-source/env/ class=md-nav__link> <span class=md-ellipsis> Environment </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_4_9> <label class=md-nav__link for=__nav_4_9 id=__nav_4_9_label tabindex=0> <span class=md-ellipsis> Version scheme </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_4_9_label aria-expanded=false> <label class=md-nav__title for=__nav_4_9> <span class="md-nav__icon md-icon"></span> Version scheme </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../plugins/version-scheme/reference/ class=md-nav__link> <span class=md-ellipsis> Reference </span> </a> </li> <li class=md-nav__item> <a href=../../../plugins/version-scheme/standard/ class=md-nav__link> <span class=md-ellipsis> Standard </span> </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=../../../plugins/utilities/ class=md-nav__link> <span class=md-ellipsis> Utilities </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_5> <label class=md-nav__link for=__nav_5 id=__nav_5_label tabindex=0> <span class=md-ellipsis> How-to </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_5_label aria-expanded=false> <label class=md-nav__title for=__nav_5> <span class="md-nav__icon md-icon"></span> How-to </label> <ul class=md-nav__list data-md-scrollfix> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_5_1> <label class=md-nav__link for=__nav_5_1 id=__nav_5_1_label tabindex=0> <span class=md-ellipsis> Meta </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_5_1_label aria-expanded=false> <label class=md-nav__title for=__nav_5_1> <span class="md-nav__icon md-icon"></span> Meta </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../how-to/meta/report-issues/ class=md-nav__link> <span class=md-ellipsis> Report issues </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_5_2> <label class=md-nav__link for=__nav_5_2 id=__nav_5_2_label tabindex=0> <span class=md-ellipsis> Integrate </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_5_2_label aria-expanded=false> <label class=md-nav__title for=__nav_5_2> <span class="md-nav__icon md-icon"></span> Integrate </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../how-to/integrate/vscode/ class=md-nav__link> <span class=md-ellipsis> Visual Studio Code </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_5_3> <label class=md-nav__link for=__nav_5_3 id=__nav_5_3_label tabindex=0> <span class=md-ellipsis> Run </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_5_3_label aria-expanded=false> <label class=md-nav__title for=__nav_5_3> <span class="md-nav__icon md-icon"></span> Run </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../how-to/run/python-scripts/ class=md-nav__link> <span class=md-ellipsis> Python scripts </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_5_4> <label class=md-nav__link for=__nav_5_4 id=__nav_5_4_label tabindex=0> <span class=md-ellipsis> Config </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_5_4_label aria-expanded=false> <label class=md-nav__title for=__nav_5_4> <span class="md-nav__icon md-icon"></span> Config </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../how-to/config/dynamic-metadata/ class=md-nav__link> <span class=md-ellipsis> Dynamic metadata </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_5_5> <label class=md-nav__link for=__nav_5_5 id=__nav_5_5_label tabindex=0> <span class=md-ellipsis> Environments </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_5_5_label aria-expanded=false> <label class=md-nav__title for=__nav_5_5> <span class="md-nav__icon md-icon"></span> Environments </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../how-to/environment/select-installer/ class=md-nav__link> <span class=md-ellipsis> Select installer </span> </a> </li> <li class=md-nav__item> <a href=../../../how-to/environment/dependency-resolution/ class=md-nav__link> <span class=md-ellipsis> Dependency resolution </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_5_6> <label class=md-nav__link for=__nav_5_6 id=__nav_5_6_label tabindex=0> <span class=md-ellipsis> Static analysis </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_5_6_label aria-expanded=false> <label class=md-nav__title for=__nav_5_6> <span class="md-nav__icon md-icon"></span> Static analysis </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../how-to/static-analysis/behavior/ class=md-nav__link> <span class=md-ellipsis> Customize behavior </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_5_7> <label class=md-nav__link for=__nav_5_7 id=__nav_5_7_label tabindex=0> <span class=md-ellipsis> Plugins </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_5_7_label aria-expanded=false> <label class=md-nav__title for=__nav_5_7> <span class="md-nav__icon md-icon"></span> Plugins </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../how-to/plugins/testing-builds/ class=md-nav__link> <span class=md-ellipsis> Testing builds </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_5_8> <label class=md-nav__link for=__nav_5_8 id=__nav_5_8_label tabindex=0> <span class=md-ellipsis> Publishing </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_5_8_label aria-expanded=false> <label class=md-nav__title for=__nav_5_8> <span class="md-nav__icon md-icon"></span> Publishing </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../how-to/publish/auth/ class=md-nav__link> <span class=md-ellipsis> Authentication </span> </a> </li> <li class=md-nav__item> <a href=../../../how-to/publish/repo/ class=md-nav__link> <span class=md-ellipsis> Repository selection </span> </a> </li> </ul> </nav> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_6> <label class=md-nav__link for=__nav_6 id=__nav_6_label tabindex=0> <span class=md-ellipsis> Tutorials </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_6_label aria-expanded=false> <label class=md-nav__title for=__nav_6> <span class="md-nav__icon md-icon"></span> Tutorials </label> <ul class=md-nav__list data-md-scrollfix> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_6_1> <label class=md-nav__link for=__nav_6_1 id=__nav_6_1_label tabindex=0> <span class=md-ellipsis> Environments </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_6_1_label aria-expanded=false> <label class=md-nav__title for=__nav_6_1> <span class="md-nav__icon md-icon"></span> Environments </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../tutorials/environment/basic-usage/ class=md-nav__link> <span class=md-ellipsis> Basic usage </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_6_2> <label class=md-nav__link for=__nav_6_2 id=__nav_6_2_label tabindex=0> <span class=md-ellipsis> Testing </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_6_2_label aria-expanded=false> <label class=md-nav__title for=__nav_6_2> <span class="md-nav__icon md-icon"></span> Testing </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../tutorials/testing/overview/ class=md-nav__link> <span class=md-ellipsis> Overview </span> </a> </li> </ul> </nav> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_7> <label class=md-nav__link for=__nav_7 id=__nav_7_label tabindex=0> <span class=md-ellipsis> Meta </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_7_label aria-expanded=false> <label class=md-nav__title for=__nav_7> <span class="md-nav__icon md-icon"></span> Meta </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../meta/faq/ class=md-nav__link> <span class=md-ellipsis> FAQ </span> </a> </li> <li class=md-nav__item> <a href=../../../meta/authors/ class=md-nav__link> <span class=md-ellipsis> Authors </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_8> <label class=md-nav__link for=__nav_8 id=__nav_8_label tabindex=0> <span class=md-ellipsis> Blog </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=1 aria-labelledby=__nav_8_label aria-expanded=false> <label class=md-nav__title for=__nav_8> <span class="md-nav__icon md-icon"></span> Blog </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../blog/ class=md-nav__link> <span class=md-ellipsis> Blog </span> </a> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_8_2> <label class=md-nav__link for=__nav_8_2 id=__nav_8_2_label tabindex=0> <span class=md-ellipsis> Archive </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_8_2_label aria-expanded=false> <label class=md-nav__title for=__nav_8_2> <span class="md-nav__icon md-icon"></span> Archive </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../blog/archive/2024/ class=md-nav__link> <span class=md-ellipsis> 2024 </span> </a> </li> <li class=md-nav__item> <a href=../../../blog/archive/2023/ class=md-nav__link> <span class=md-ellipsis> 2023 </span> </a> </li> <li class=md-nav__item> <a href=../../../blog/archive/2022/ class=md-nav__link> <span class=md-ellipsis> 2022 </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type=checkbox id=__nav_8_3> <label class=md-nav__link for=__nav_8_3 id=__nav_8_3_label tabindex=0> <span class=md-ellipsis> Categories </span> <span class="md-nav__icon md-icon"></span> </label> <nav class=md-nav data-md-level=2 aria-labelledby=__nav_8_3_label aria-expanded=false> <label class=md-nav__title for=__nav_8_3> <span class="md-nav__icon md-icon"></span> Categories </label> <ul class=md-nav__list data-md-scrollfix> <li class=md-nav__item> <a href=../../../blog/category/release/ class=md-nav__link> <span class=md-ellipsis> Release </span> </a> </li> </ul> </nav> </li> </ul> </nav> </li> </ul> </nav> </div> </div> </div> <div class="md-sidebar md-sidebar--secondary" data-md-component=sidebar data-md-type=toc> <div class=md-sidebar__scrollwrap> <div class=md-sidebar__inner> <nav class="md-nav md-nav--secondary" aria-label="Table of contents"> <label class=md-nav__title for=__toc> <span class="md-nav__icon md-icon"></span> Table of contents </label> <ul class=md-nav__list data-md-component=toc data-md-scrollfix> <li class=md-nav__item> <a href=#extending-config class=md-nav__link> <span class=md-ellipsis> Extending config </span> </a> </li> <li class=md-nav__item> <a href=#persistent-config class=md-nav__link> <span class=md-ellipsis> Persistent config </span> </a> <nav class=md-nav aria-label="Persistent config"> <ul class=md-nav__list> <li class=md-nav__item> <a href=#no-config class=md-nav__link> <span class=md-ellipsis> No config </span> </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=#customize-behavior class=md-nav__link> <span class=md-ellipsis> Customize behavior </span> </a> <nav class=md-nav aria-label="Customize behavior"> <ul class=md-nav__list> <li class=md-nav__item> <a href=#dependencies class=md-nav__link> <span class=md-ellipsis> Dependencies </span> </a> </li> <li class=md-nav__item> <a href=#scripts class=md-nav__link> <span class=md-ellipsis> Scripts </span> </a> </li> <li class=md-nav__item> <a href=#installer class=md-nav__link> <span class=md-ellipsis> Installer </span> </a> </li> </ul> </nav> </li> <li class=md-nav__item> <a href=#default-settings class=md-nav__link> <span class=md-ellipsis> Default settings </span> </a> <nav class=md-nav aria-label="Default settings"> <ul class=md-nav__list> <li class=md-nav__item> <a href=#non-rule-settings class=md-nav__link> <span class=md-ellipsis> Non-rule settings </span> </a> </li> <li class=md-nav__item> <a href=#per-file-ignored-rules class=md-nav__link> <span class=md-ellipsis> Per-file ignored rules </span> </a> </li> <li class=md-nav__item> <a href=#selected-rules class=md-nav__link> <span class=md-ellipsis> Selected rules </span> </a> </li> </ul> </nav> </li> </ul> </nav> </div> </div> </div> <div class=md-content data-md-component=content> <article class="md-content__inner md-typeset"> <a href=https://github.com/pypa/hatch/blob/master/docs/config/internal/static-analysis.md title="Edit this page" class="md-content__button md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M10 20H6V4h7v5h5v3.1l2-2V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h4v-2m10.2-7c.1 0 .3.1.4.2l1.3 1.3c.2.2.2.6 0 .8l-1 1-2.1-2.1 1-1c.1-.1.2-.2.4-.2m0 3.9L14.1 23H12v-2.1l6.1-6.1 2.1 2.1Z"/></svg> </a> <h1 id=static-analysis-configuration>Static analysis configuration<a class=headerlink href=#static-analysis-configuration title="Permanent link">¶</a></h1> <hr> <p>Static analysis performed by the <a href=../../../cli/reference/#hatch-fmt><code>fmt</code></a> command is (<a href=#customize-behavior>by default</a>) backed entirely by <a href=https://github.com/astral-sh/ruff>Ruff</a>.</p> <p>Hatch provides <a href=#default-settings>default settings</a> that user configuration can <a href=#extending-config>extend</a>.</p> <h2 id=extending-config>Extending config<a class=headerlink href=#extending-config title="Permanent link">¶</a></h2> <p>When defining your configuration, be sure to use options that are prefixed by <code>extend-</code> such as <a href=https://docs.astral.sh/ruff/settings/#extend-select><code>extend-select</code></a>, for example:</p> <div class="tabbed-set tabbed-alternate" data-tabs=1:2><input checked=checked id=pyprojecttoml name=__tabbed_1 type=radio><input id=rufftoml name=__tabbed_1 type=radio><div class=tabbed-labels><label for=pyprojecttoml><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> pyproject.toml</label><label for=rufftoml><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> ruff.toml</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[tool.ruff.format]</span>
|
|
<span class=n>preview</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=kc>true</span>
|
|
<span class=n>quote-style</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"single"</span>
|
|
|
|
<span class=k>[tool.ruff.lint]</span>
|
|
<span class=n>preview</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=kc>true</span>
|
|
<span class=n>extend-select</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=p>[</span><span class=s2>"C901"</span><span class=p>]</span>
|
|
|
|
<span class=k>[tool.ruff.lint.extend-per-file-ignores]</span>
|
|
<span class=s2>"docs/.hooks/*"</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=p>[</span><span class=s2>"INP001"</span><span class=p>,</span><span class=w> </span><span class=s2>"T201"</span><span class=p>]</span>
|
|
|
|
<span class=k>[tool.ruff.lint.isort]</span>
|
|
<span class=n>known-first-party</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=p>[</span><span class=s2>"foo"</span><span class=p>,</span><span class=w> </span><span class=s2>"bar"</span><span class=p>]</span>
|
|
</code></pre></div> </div> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[format]</span>
|
|
<span class=n>preview</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=kc>true</span>
|
|
<span class=n>quote-style</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"single"</span>
|
|
|
|
<span class=k>[lint]</span>
|
|
<span class=n>preview</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=kc>true</span>
|
|
<span class=n>extend-select</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=p>[</span><span class=s2>"C901"</span><span class=p>]</span>
|
|
|
|
<span class=k>[lint.extend-per-file-ignores]</span>
|
|
<span class=s2>"docs/.hooks/*"</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=p>[</span><span class=s2>"INP001"</span><span class=p>,</span><span class=w> </span><span class=s2>"T201"</span><span class=p>]</span>
|
|
|
|
<span class=k>[lint.isort]</span>
|
|
<span class=n>known-first-party</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=p>[</span><span class=s2>"foo"</span><span class=p>,</span><span class=w> </span><span class=s2>"bar"</span><span class=p>]</span>
|
|
</code></pre></div> </div> </div> </div> <div class="admonition note"> <p class=admonition-title>Note</p> <p>When not <a href=#persistent-config>persisting config</a>, there is no need to explicitly <a href=https://docs.astral.sh/ruff/settings/#extend>extend</a> the defaults as Hatch automatically handles that.</p> </div> <h2 id=persistent-config>Persistent config<a class=headerlink href=#persistent-config title="Permanent link">¶</a></h2> <p>If you want to store the default configuration in the project, set an explicit path like so:</p> <div class="tabbed-set tabbed-alternate" data-tabs=2:2><input checked=checked id=pyprojecttoml_1 name=__tabbed_2 type=radio><input id=hatchtoml name=__tabbed_2 type=radio><div class=tabbed-labels><label for=pyprojecttoml_1><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> pyproject.toml</label><label for=hatchtoml><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> hatch.toml</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[tool.hatch.envs.hatch-static-analysis]</span>
|
|
<span class=n>config-path</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"ruff_defaults.toml"</span>
|
|
</code></pre></div> </div> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[envs.hatch-static-analysis]</span>
|
|
<span class=n>config-path</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"ruff_defaults.toml"</span>
|
|
</code></pre></div> </div> </div> </div> <p>Then instruct Ruff to consider your configuration as an extension of the default file:</p> <div class="tabbed-set tabbed-alternate" data-tabs=3:2><input checked=checked id=pyprojecttoml_2 name=__tabbed_3 type=radio><input id=rufftoml_1 name=__tabbed_3 type=radio><div class=tabbed-labels><label for=pyprojecttoml_2><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> pyproject.toml</label><label for=rufftoml_1><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> ruff.toml</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[tool.ruff]</span>
|
|
<span class=n>extend</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"ruff_defaults.toml"</span>
|
|
</code></pre></div> </div> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=n>extend</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"ruff_defaults.toml"</span>
|
|
</code></pre></div> </div> </div> </div> <p>Anytime you wish to update the defaults (such as when upgrading Hatch), you must run the <a href=../../../cli/reference/#hatch-fmt><code>fmt</code></a> command once with the <code>--sync</code> flag e.g.:</p> <div class=highlight><pre><span></span><code>hatch fmt --check --sync
|
|
</code></pre></div> <div class="admonition tip"> <p class=admonition-title>Tip</p> <p>This is the recommended approach since it allows other tools like IDEs to use the default configuration.</p> </div> <h3 id=no-config>No config<a class=headerlink href=#no-config title="Permanent link">¶</a></h3> <p>If you don't want Hatch to use any of its default configuration and rely entirely on yours, set the path to anything and then simply don't <code>extend</code> in your Ruff config:</p> <div class="tabbed-set tabbed-alternate" data-tabs=4:2><input checked=checked id=pyprojecttoml_3 name=__tabbed_4 type=radio><input id=hatchtoml_1 name=__tabbed_4 type=radio><div class=tabbed-labels><label for=pyprojecttoml_3><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> pyproject.toml</label><label for=hatchtoml_1><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> hatch.toml</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[tool.hatch.envs.hatch-static-analysis]</span>
|
|
<span class=n>config-path</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"none"</span>
|
|
</code></pre></div> </div> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[envs.hatch-static-analysis]</span>
|
|
<span class=n>config-path</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"none"</span>
|
|
</code></pre></div> </div> </div> </div> <h2 id=customize-behavior>Customize behavior<a class=headerlink href=#customize-behavior title="Permanent link">¶</a></h2> <p>You can fully alter the behavior of the environment used by the <a href=../../../cli/reference/#hatch-fmt><code>fmt</code></a> command. See the <a href=../../../how-to/static-analysis/behavior/ >how-to</a> for a detailed example.</p> <h3 id=dependencies>Dependencies<a class=headerlink href=#dependencies title="Permanent link">¶</a></h3> <p>Pin the particular version of Ruff by explicitly defining the environment <a href=../../environment/overview/#dependencies>dependencies</a>:</p> <div class="tabbed-set tabbed-alternate" data-tabs=5:2><input checked=checked id=pyprojecttoml_4 name=__tabbed_5 type=radio><input id=hatchtoml_2 name=__tabbed_5 type=radio><div class=tabbed-labels><label for=pyprojecttoml_4><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> pyproject.toml</label><label for=hatchtoml_2><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> hatch.toml</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[tool.hatch.envs.hatch-static-analysis]</span>
|
|
<span class=n>dependencies</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=p>[</span><span class=s2>"ruff==X.Y.Z"</span><span class=p>]</span>
|
|
</code></pre></div> </div> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[envs.hatch-static-analysis]</span>
|
|
<span class=n>dependencies</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=p>[</span><span class=s2>"ruff==X.Y.Z"</span><span class=p>]</span>
|
|
</code></pre></div> </div> </div> </div> <h3 id=scripts>Scripts<a class=headerlink href=#scripts title="Permanent link">¶</a></h3> <p>If you want to change the default commands that are executed, you can override the <a href=../../environment/overview/#scripts>scripts</a>. The following four scripts must be defined:</p> <div class="tabbed-set tabbed-alternate" data-tabs=6:2><input checked=checked id=pyprojecttoml_5 name=__tabbed_6 type=radio><input id=hatchtoml_3 name=__tabbed_6 type=radio><div class=tabbed-labels><label for=pyprojecttoml_5><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> pyproject.toml</label><label for=hatchtoml_3><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> hatch.toml</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[tool.hatch.envs.hatch-static-analysis.scripts]</span>
|
|
<span class=n>format-check</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"..."</span>
|
|
<span class=n>format-fix</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"..."</span>
|
|
<span class=n>lint-check</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"..."</span>
|
|
<span class=n>lint-fix</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"..."</span>
|
|
</code></pre></div> </div> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[envs.hatch-static-analysis.scripts]</span>
|
|
<span class=n>format-check</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"..."</span>
|
|
<span class=n>format-fix</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"..."</span>
|
|
<span class=n>lint-check</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"..."</span>
|
|
<span class=n>lint-fix</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"..."</span>
|
|
</code></pre></div> </div> </div> </div> <p>The <code>format-*</code> scripts correspond to the <code>--formatter</code>/<code>-f</code> flag while the <code>lint-*</code> scripts correspond to the <code>--linter</code>/<code>-l</code> flag. The <code>*-fix</code> scripts run by default while the <code>*-check</code> scripts correspond to the <code>--check</code> flag.</p> <div class="admonition note"> <p class=admonition-title>Reminder</p> <p>If you choose to use different tools for static analysis, be sure to update the required <a href=#dependencies>dependencies</a>.</p> </div> <h3 id=installer>Installer<a class=headerlink href=#installer title="Permanent link">¶</a></h3> <p>By default, <a href=../../../how-to/environment/select-installer/ >UV is enabled</a>. You may disable that behavior as follows:</p> <div class="tabbed-set tabbed-alternate" data-tabs=7:2><input checked=checked id=pyprojecttoml_6 name=__tabbed_7 type=radio><input id=hatchtoml_4 name=__tabbed_7 type=radio><div class=tabbed-labels><label for=pyprojecttoml_6><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> pyproject.toml</label><label for=hatchtoml_4><span class=twemoji><svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 16 16"><path d="M4 1.75C4 .784 4.784 0 5.75 0h5.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v8.586A1.75 1.75 0 0 1 14.25 15h-9a.75.75 0 0 1 0-1.5h9a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 10 4.25V1.5H5.75a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0Zm1.72 4.97a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1 0 1.06l-2 2a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.47-1.47-1.47-1.47a.75.75 0 0 1 0-1.06ZM3.28 7.78 1.81 9.25l1.47 1.47a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-2-2a.75.75 0 0 1 0-1.06l2-2a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Zm8.22-6.218V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg></span> hatch.toml</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[tool.hatch.envs.hatch-static-analysis]</span>
|
|
<span class=n>installer</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"pip"</span>
|
|
</code></pre></div> </div> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=k>[envs.hatch-static-analysis]</span>
|
|
<span class=n>installer</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=s2>"pip"</span>
|
|
</code></pre></div> </div> </div> </div> <h2 id=default-settings>Default settings<a class=headerlink href=#default-settings title="Permanent link">¶</a></h2> <h3 id=non-rule-settings>Non-rule settings<a class=headerlink href=#non-rule-settings title="Permanent link">¶</a></h3> <ul> <li><a href=https://docs.astral.sh/ruff/settings/#line-length>Line length</a> set to 120</li> <li><a href=https://docs.astral.sh/ruff/formatter/#docstring-formatting>Docstring formatting</a> enabled with <a href=https://docs.astral.sh/ruff/settings/#format-docstring-code-line-length>line length</a> set to 80</li> <li>Only absolute imports <a href=https://docs.astral.sh/ruff/settings/#flake8-tidy-imports-ban-relative-imports>are allowed</a>, <a href=#per-file-ignored-rules>except for tests</a></li> <li>The normalized <a href=../../metadata/#name>project name</a> is a <a href=https://docs.astral.sh/ruff/settings/#isort-known-first-party>known first party</a> import</li> </ul> <h3 id=per-file-ignored-rules>Per-file ignored rules<a class=headerlink href=#per-file-ignored-rules title="Permanent link">¶</a></h3> <ul> <li><code>**/scripts/*</code>: <a href=https://docs.astral.sh/ruff/rules/INP001>INP001</a>, <a href=https://docs.astral.sh/ruff/rules/T201>T201</a></li> <li><code>**/tests/**/*</code>: <a href=https://docs.astral.sh/ruff/rules/PLC1901>PLC1901</a>, <a href=https://docs.astral.sh/ruff/rules/PLR2004>PLR2004</a>, <a href=https://docs.astral.sh/ruff/rules/PLR6301>PLR6301</a>, <a href=https://docs.astral.sh/ruff/rules/#flake8-bandit-s>S</a>, <a href=https://docs.astral.sh/ruff/rules/TID252>TID252</a></li> </ul> <h3 id=selected-rules>Selected rules<a class=headerlink href=#selected-rules title="Permanent link">¶</a></h3> <p>The following rules are based on version 0.4.2 of Ruff. Rules with a <sup>P</sup> are only selected when <a href=https://docs.astral.sh/ruff/preview/ >preview</a> mode is enabled.</p> <ul> <li><a href=https://docs.astral.sh/ruff/rules/A001>A001</a>, <a href=https://docs.astral.sh/ruff/rules/A002>A002</a>, <a href=https://docs.astral.sh/ruff/rules/A003>A003</a></li> <li><a href=https://docs.astral.sh/ruff/rules/ARG001>ARG001</a>, <a href=https://docs.astral.sh/ruff/rules/ARG002>ARG002</a>, <a href=https://docs.astral.sh/ruff/rules/ARG003>ARG003</a>, <a href=https://docs.astral.sh/ruff/rules/ARG004>ARG004</a>, <a href=https://docs.astral.sh/ruff/rules/ARG005>ARG005</a></li> <li><a href=https://docs.astral.sh/ruff/rules/ASYNC100>ASYNC100</a>, <a href=https://docs.astral.sh/ruff/rules/ASYNC101>ASYNC101</a>, <a href=https://docs.astral.sh/ruff/rules/ASYNC102>ASYNC102</a></li> <li><a href=https://docs.astral.sh/ruff/rules/B002>B002</a>, <a href=https://docs.astral.sh/ruff/rules/B003>B003</a>, <a href=https://docs.astral.sh/ruff/rules/B004>B004</a>, <a href=https://docs.astral.sh/ruff/rules/B005>B005</a>, <a href=https://docs.astral.sh/ruff/rules/B006>B006</a>, <a href=https://docs.astral.sh/ruff/rules/B007>B007</a>, <a href=https://docs.astral.sh/ruff/rules/B008>B008</a>, <a href=https://docs.astral.sh/ruff/rules/B009>B009</a>, <a href=https://docs.astral.sh/ruff/rules/B010>B010</a>, <a href=https://docs.astral.sh/ruff/rules/B011>B011</a>, <a href=https://docs.astral.sh/ruff/rules/B012>B012</a>, <a href=https://docs.astral.sh/ruff/rules/B013>B013</a>, <a href=https://docs.astral.sh/ruff/rules/B014>B014</a>, <a href=https://docs.astral.sh/ruff/rules/B015>B015</a>, <a href=https://docs.astral.sh/ruff/rules/B016>B016</a>, <a href=https://docs.astral.sh/ruff/rules/B017>B017</a>, <a href=https://docs.astral.sh/ruff/rules/B018>B018</a>, <a href=https://docs.astral.sh/ruff/rules/B019>B019</a>, <a href=https://docs.astral.sh/ruff/rules/B020>B020</a>, <a href=https://docs.astral.sh/ruff/rules/B021>B021</a>, <a href=https://docs.astral.sh/ruff/rules/B022>B022</a>, <a href=https://docs.astral.sh/ruff/rules/B023>B023</a>, <a href=https://docs.astral.sh/ruff/rules/B024>B024</a>, <a href=https://docs.astral.sh/ruff/rules/B025>B025</a>, <a href=https://docs.astral.sh/ruff/rules/B026>B026</a>, <a href=https://docs.astral.sh/ruff/rules/B028>B028</a>, <a href=https://docs.astral.sh/ruff/rules/B029>B029</a>, <a href=https://docs.astral.sh/ruff/rules/B030>B030</a>, <a href=https://docs.astral.sh/ruff/rules/B031>B031</a>, <a href=https://docs.astral.sh/ruff/rules/B032>B032</a>, <a href=https://docs.astral.sh/ruff/rules/B033>B033</a>, <a href=https://docs.astral.sh/ruff/rules/B034>B034</a>, <a href=https://docs.astral.sh/ruff/rules/B035>B035</a>, <a href=https://docs.astral.sh/ruff/rules/B904>B904</a>, <a href=https://docs.astral.sh/ruff/rules/B905>B905</a>, <a href=https://docs.astral.sh/ruff/rules/B909>B909</a><sup>P</sup></li> <li><a href=https://docs.astral.sh/ruff/rules/BLE001>BLE001</a></li> <li><a href=https://docs.astral.sh/ruff/rules/C400>C400</a>, <a href=https://docs.astral.sh/ruff/rules/C401>C401</a>, <a href=https://docs.astral.sh/ruff/rules/C402>C402</a>, <a href=https://docs.astral.sh/ruff/rules/C403>C403</a>, <a href=https://docs.astral.sh/ruff/rules/C404>C404</a>, <a href=https://docs.astral.sh/ruff/rules/C405>C405</a>, <a href=https://docs.astral.sh/ruff/rules/C406>C406</a>, <a href=https://docs.astral.sh/ruff/rules/C408>C408</a>, <a href=https://docs.astral.sh/ruff/rules/C409>C409</a>, <a href=https://docs.astral.sh/ruff/rules/C410>C410</a>, <a href=https://docs.astral.sh/ruff/rules/C411>C411</a>, <a href=https://docs.astral.sh/ruff/rules/C413>C413</a>, <a href=https://docs.astral.sh/ruff/rules/C414>C414</a>, <a href=https://docs.astral.sh/ruff/rules/C415>C415</a>, <a href=https://docs.astral.sh/ruff/rules/C416>C416</a>, <a href=https://docs.astral.sh/ruff/rules/C417>C417</a>, <a href=https://docs.astral.sh/ruff/rules/C418>C418</a>, <a href=https://docs.astral.sh/ruff/rules/C419>C419</a></li> <li><a href=https://docs.astral.sh/ruff/rules/COM818>COM818</a></li> <li><a href=https://docs.astral.sh/ruff/rules/DTZ001>DTZ001</a>, <a href=https://docs.astral.sh/ruff/rules/DTZ002>DTZ002</a>, <a href=https://docs.astral.sh/ruff/rules/DTZ003>DTZ003</a>, <a href=https://docs.astral.sh/ruff/rules/DTZ004>DTZ004</a>, <a href=https://docs.astral.sh/ruff/rules/DTZ005>DTZ005</a>, <a href=https://docs.astral.sh/ruff/rules/DTZ006>DTZ006</a>, <a href=https://docs.astral.sh/ruff/rules/DTZ007>DTZ007</a>, <a href=https://docs.astral.sh/ruff/rules/DTZ011>DTZ011</a>, <a href=https://docs.astral.sh/ruff/rules/DTZ012>DTZ012</a></li> <li><a href=https://docs.astral.sh/ruff/rules/E101>E101</a>, <a href=https://docs.astral.sh/ruff/rules/E112>E112</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E113>E113</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E115>E115</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E116>E116</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E201>E201</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E202>E202</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E203>E203</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E211>E211</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E221>E221</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E222>E222</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E223>E223</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E224>E224</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E225>E225</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E226>E226</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E227>E227</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E228>E228</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E231>E231</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E241>E241</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E242>E242</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E251>E251</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E252>E252</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E261>E261</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E262>E262</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E265>E265</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E266>E266</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E271>E271</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E272>E272</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E273>E273</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E274>E274</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E275>E275</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E401>E401</a>, <a href=https://docs.astral.sh/ruff/rules/E402>E402</a>, <a href=https://docs.astral.sh/ruff/rules/E502>E502</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/E701>E701</a>, <a href=https://docs.astral.sh/ruff/rules/E702>E702</a>, <a href=https://docs.astral.sh/ruff/rules/E703>E703</a>, <a href=https://docs.astral.sh/ruff/rules/E711>E711</a>, <a href=https://docs.astral.sh/ruff/rules/E712>E712</a>, <a href=https://docs.astral.sh/ruff/rules/E713>E713</a>, <a href=https://docs.astral.sh/ruff/rules/E714>E714</a>, <a href=https://docs.astral.sh/ruff/rules/E721>E721</a>, <a href=https://docs.astral.sh/ruff/rules/E722>E722</a>, <a href=https://docs.astral.sh/ruff/rules/E731>E731</a>, <a href=https://docs.astral.sh/ruff/rules/E741>E741</a>, <a href=https://docs.astral.sh/ruff/rules/E742>E742</a>, <a href=https://docs.astral.sh/ruff/rules/E743>E743</a>, <a href=https://docs.astral.sh/ruff/rules/E902>E902</a>, <a href=https://docs.astral.sh/ruff/rules/E999>E999</a></li> <li><a href=https://docs.astral.sh/ruff/rules/EM101>EM101</a>, <a href=https://docs.astral.sh/ruff/rules/EM102>EM102</a>, <a href=https://docs.astral.sh/ruff/rules/EM103>EM103</a></li> <li><a href=https://docs.astral.sh/ruff/rules/EXE001>EXE001</a>, <a href=https://docs.astral.sh/ruff/rules/EXE002>EXE002</a>, <a href=https://docs.astral.sh/ruff/rules/EXE003>EXE003</a>, <a href=https://docs.astral.sh/ruff/rules/EXE004>EXE004</a>, <a href=https://docs.astral.sh/ruff/rules/EXE005>EXE005</a></li> <li><a href=https://docs.astral.sh/ruff/rules/F401>F401</a>, <a href=https://docs.astral.sh/ruff/rules/F402>F402</a>, <a href=https://docs.astral.sh/ruff/rules/F403>F403</a>, <a href=https://docs.astral.sh/ruff/rules/F404>F404</a>, <a href=https://docs.astral.sh/ruff/rules/F405>F405</a>, <a href=https://docs.astral.sh/ruff/rules/F406>F406</a>, <a href=https://docs.astral.sh/ruff/rules/F407>F407</a>, <a href=https://docs.astral.sh/ruff/rules/F501>F501</a>, <a href=https://docs.astral.sh/ruff/rules/F502>F502</a>, <a href=https://docs.astral.sh/ruff/rules/F503>F503</a>, <a href=https://docs.astral.sh/ruff/rules/F504>F504</a>, <a href=https://docs.astral.sh/ruff/rules/F505>F505</a>, <a href=https://docs.astral.sh/ruff/rules/F506>F506</a>, <a href=https://docs.astral.sh/ruff/rules/F507>F507</a>, <a href=https://docs.astral.sh/ruff/rules/F508>F508</a>, <a href=https://docs.astral.sh/ruff/rules/F509>F509</a>, <a href=https://docs.astral.sh/ruff/rules/F521>F521</a>, <a href=https://docs.astral.sh/ruff/rules/F522>F522</a>, <a href=https://docs.astral.sh/ruff/rules/F523>F523</a>, <a href=https://docs.astral.sh/ruff/rules/F524>F524</a>, <a href=https://docs.astral.sh/ruff/rules/F525>F525</a>, <a href=https://docs.astral.sh/ruff/rules/F541>F541</a>, <a href=https://docs.astral.sh/ruff/rules/F601>F601</a>, <a href=https://docs.astral.sh/ruff/rules/F602>F602</a>, <a href=https://docs.astral.sh/ruff/rules/F621>F621</a>, <a href=https://docs.astral.sh/ruff/rules/F622>F622</a>, <a href=https://docs.astral.sh/ruff/rules/F631>F631</a>, <a href=https://docs.astral.sh/ruff/rules/F632>F632</a>, <a href=https://docs.astral.sh/ruff/rules/F633>F633</a>, <a href=https://docs.astral.sh/ruff/rules/F634>F634</a>, <a href=https://docs.astral.sh/ruff/rules/F701>F701</a>, <a href=https://docs.astral.sh/ruff/rules/F702>F702</a>, <a href=https://docs.astral.sh/ruff/rules/F704>F704</a>, <a href=https://docs.astral.sh/ruff/rules/F706>F706</a>, <a href=https://docs.astral.sh/ruff/rules/F707>F707</a>, <a href=https://docs.astral.sh/ruff/rules/F722>F722</a>, <a href=https://docs.astral.sh/ruff/rules/F811>F811</a>, <a href=https://docs.astral.sh/ruff/rules/F821>F821</a>, <a href=https://docs.astral.sh/ruff/rules/F822>F822</a>, <a href=https://docs.astral.sh/ruff/rules/F823>F823</a>, <a href=https://docs.astral.sh/ruff/rules/F841>F841</a>, <a href=https://docs.astral.sh/ruff/rules/F842>F842</a>, <a href=https://docs.astral.sh/ruff/rules/F901>F901</a></li> <li><a href=https://docs.astral.sh/ruff/rules/FA100>FA100</a>, <a href=https://docs.astral.sh/ruff/rules/FA102>FA102</a></li> <li><a href=https://docs.astral.sh/ruff/rules/FBT001>FBT001</a>, <a href=https://docs.astral.sh/ruff/rules/FBT002>FBT002</a></li> <li><a href=https://docs.astral.sh/ruff/rules/FLY002>FLY002</a></li> <li><a href=https://docs.astral.sh/ruff/rules/FURB105>FURB105</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB110>FURB110</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB113>FURB113</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB118>FURB118</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB129>FURB129</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB131>FURB131</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB132>FURB132</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB136>FURB136</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB142>FURB142</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB145>FURB145</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB148>FURB148</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB152>FURB152</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB157>FURB157</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB161>FURB161</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB163>FURB163</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB164>FURB164</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB166>FURB166</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB167>FURB167</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB168>FURB168</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB169>FURB169</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB171>FURB171</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB177>FURB177</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB180>FURB180</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB181>FURB181</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB187>FURB187</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/FURB192>FURB192</a><sup>P</sup></li> <li><a href=https://docs.astral.sh/ruff/rules/G001>G001</a>, <a href=https://docs.astral.sh/ruff/rules/G002>G002</a>, <a href=https://docs.astral.sh/ruff/rules/G003>G003</a>, <a href=https://docs.astral.sh/ruff/rules/G004>G004</a>, <a href=https://docs.astral.sh/ruff/rules/G010>G010</a>, <a href=https://docs.astral.sh/ruff/rules/G101>G101</a>, <a href=https://docs.astral.sh/ruff/rules/G201>G201</a>, <a href=https://docs.astral.sh/ruff/rules/G202>G202</a></li> <li><a href=https://docs.astral.sh/ruff/rules/I001>I001</a>, <a href=https://docs.astral.sh/ruff/rules/I002>I002</a></li> <li><a href=https://docs.astral.sh/ruff/rules/ICN001>ICN001</a>, <a href=https://docs.astral.sh/ruff/rules/ICN002>ICN002</a>, <a href=https://docs.astral.sh/ruff/rules/ICN003>ICN003</a></li> <li><a href=https://docs.astral.sh/ruff/rules/INP001>INP001</a></li> <li><a href=https://docs.astral.sh/ruff/rules/INT001>INT001</a>, <a href=https://docs.astral.sh/ruff/rules/INT002>INT002</a>, <a href=https://docs.astral.sh/ruff/rules/INT003>INT003</a></li> <li><a href=https://docs.astral.sh/ruff/rules/ISC003>ISC003</a></li> <li><a href=https://docs.astral.sh/ruff/rules/LOG001>LOG001</a>, <a href=https://docs.astral.sh/ruff/rules/LOG002>LOG002</a>, <a href=https://docs.astral.sh/ruff/rules/LOG007>LOG007</a>, <a href=https://docs.astral.sh/ruff/rules/LOG009>LOG009</a></li> <li><a href=https://docs.astral.sh/ruff/rules/N801>N801</a>, <a href=https://docs.astral.sh/ruff/rules/N802>N802</a>, <a href=https://docs.astral.sh/ruff/rules/N803>N803</a>, <a href=https://docs.astral.sh/ruff/rules/N804>N804</a>, <a href=https://docs.astral.sh/ruff/rules/N805>N805</a>, <a href=https://docs.astral.sh/ruff/rules/N806>N806</a>, <a href=https://docs.astral.sh/ruff/rules/N807>N807</a>, <a href=https://docs.astral.sh/ruff/rules/N811>N811</a>, <a href=https://docs.astral.sh/ruff/rules/N812>N812</a>, <a href=https://docs.astral.sh/ruff/rules/N813>N813</a>, <a href=https://docs.astral.sh/ruff/rules/N814>N814</a>, <a href=https://docs.astral.sh/ruff/rules/N815>N815</a>, <a href=https://docs.astral.sh/ruff/rules/N816>N816</a>, <a href=https://docs.astral.sh/ruff/rules/N817>N817</a>, <a href=https://docs.astral.sh/ruff/rules/N818>N818</a>, <a href=https://docs.astral.sh/ruff/rules/N999>N999</a></li> <li><a href=https://docs.astral.sh/ruff/rules/PERF101>PERF101</a>, <a href=https://docs.astral.sh/ruff/rules/PERF102>PERF102</a>, <a href=https://docs.astral.sh/ruff/rules/PERF401>PERF401</a>, <a href=https://docs.astral.sh/ruff/rules/PERF402>PERF402</a>, <a href=https://docs.astral.sh/ruff/rules/PERF403>PERF403</a><sup>P</sup></li> <li><a href=https://docs.astral.sh/ruff/rules/PGH005>PGH005</a></li> <li><a href=https://docs.astral.sh/ruff/rules/PIE790>PIE790</a>, <a href=https://docs.astral.sh/ruff/rules/PIE794>PIE794</a>, <a href=https://docs.astral.sh/ruff/rules/PIE796>PIE796</a>, <a href=https://docs.astral.sh/ruff/rules/PIE800>PIE800</a>, <a href=https://docs.astral.sh/ruff/rules/PIE804>PIE804</a>, <a href=https://docs.astral.sh/ruff/rules/PIE807>PIE807</a>, <a href=https://docs.astral.sh/ruff/rules/PIE808>PIE808</a>, <a href=https://docs.astral.sh/ruff/rules/PIE810>PIE810</a></li> <li><a href=https://docs.astral.sh/ruff/rules/PLC0105>PLC0105</a>, <a href=https://docs.astral.sh/ruff/rules/PLC0131>PLC0131</a>, <a href=https://docs.astral.sh/ruff/rules/PLC0132>PLC0132</a>, <a href=https://docs.astral.sh/ruff/rules/PLC0205>PLC0205</a>, <a href=https://docs.astral.sh/ruff/rules/PLC0208>PLC0208</a>, <a href=https://docs.astral.sh/ruff/rules/PLC0414>PLC0414</a>, <a href=https://docs.astral.sh/ruff/rules/PLC0415>PLC0415</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLC1901>PLC1901</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLC2401>PLC2401</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLC2403>PLC2403</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLC2701>PLC2701</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLC2801>PLC2801</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLC3002>PLC3002</a></li> <li><a href=https://docs.astral.sh/ruff/rules/PLE0100>PLE0100</a>, <a href=https://docs.astral.sh/ruff/rules/PLE0101>PLE0101</a>, <a href=https://docs.astral.sh/ruff/rules/PLE0115>PLE0115</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLE0116>PLE0116</a>, <a href=https://docs.astral.sh/ruff/rules/PLE0117>PLE0117</a>, <a href=https://docs.astral.sh/ruff/rules/PLE0118>PLE0118</a>, <a href=https://docs.astral.sh/ruff/rules/PLE0237>PLE0237</a>, <a href=https://docs.astral.sh/ruff/rules/PLE0241>PLE0241</a>, <a href=https://docs.astral.sh/ruff/rules/PLE0302>PLE0302</a>, <a href=https://docs.astral.sh/ruff/rules/PLE0303>PLE0303</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLE0304>PLE0304</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLE0305>PLE0305</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLE0307>PLE0307</a>, <a href=https://docs.astral.sh/ruff/rules/PLE0308>PLE0308</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLE0309>PLE0309</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLE0604>PLE0604</a>, <a href=https://docs.astral.sh/ruff/rules/PLE0605>PLE0605</a>, <a href=https://docs.astral.sh/ruff/rules/PLE0643>PLE0643</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLE0704>PLE0704</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLE1132>PLE1132</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLE1141>PLE1141</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLE1142>PLE1142</a>, <a href=https://docs.astral.sh/ruff/rules/PLE1205>PLE1205</a>, <a href=https://docs.astral.sh/ruff/rules/PLE1206>PLE1206</a>, <a href=https://docs.astral.sh/ruff/rules/PLE1300>PLE1300</a>, <a href=https://docs.astral.sh/ruff/rules/PLE1307>PLE1307</a>, <a href=https://docs.astral.sh/ruff/rules/PLE1310>PLE1310</a>, <a href=https://docs.astral.sh/ruff/rules/PLE1507>PLE1507</a>, <a href=https://docs.astral.sh/ruff/rules/PLE1519>PLE1519</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLE1520>PLE1520</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLE1700>PLE1700</a>, <a href=https://docs.astral.sh/ruff/rules/PLE2502>PLE2502</a>, <a href=https://docs.astral.sh/ruff/rules/PLE2510>PLE2510</a>, <a href=https://docs.astral.sh/ruff/rules/PLE2512>PLE2512</a>, <a href=https://docs.astral.sh/ruff/rules/PLE2513>PLE2513</a>, <a href=https://docs.astral.sh/ruff/rules/PLE2514>PLE2514</a>, <a href=https://docs.astral.sh/ruff/rules/PLE2515>PLE2515</a>, <a href=https://docs.astral.sh/ruff/rules/PLE4703>PLE4703</a><sup>P</sup></li> <li><a href=https://docs.astral.sh/ruff/rules/PLR0124>PLR0124</a>, <a href=https://docs.astral.sh/ruff/rules/PLR0133>PLR0133</a>, <a href=https://docs.astral.sh/ruff/rules/PLR0202>PLR0202</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLR0203>PLR0203</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLR0206>PLR0206</a>, <a href=https://docs.astral.sh/ruff/rules/PLR0402>PLR0402</a>, <a href=https://docs.astral.sh/ruff/rules/PLR1701>PLR1701</a>, <a href=https://docs.astral.sh/ruff/rules/PLR1704>PLR1704</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLR1711>PLR1711</a>, <a href=https://docs.astral.sh/ruff/rules/PLR1714>PLR1714</a>, <a href=https://docs.astral.sh/ruff/rules/PLR1722>PLR1722</a>, <a href=https://docs.astral.sh/ruff/rules/PLR1730>PLR1730</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLR1733>PLR1733</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLR1736>PLR1736</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLR2004>PLR2004</a>, <a href=https://docs.astral.sh/ruff/rules/PLR2044>PLR2044</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLR5501>PLR5501</a>, <a href=https://docs.astral.sh/ruff/rules/PLR6104>PLR6104</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLR6201>PLR6201</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLR6301>PLR6301</a><sup>P</sup></li> <li><a href=https://docs.astral.sh/ruff/rules/PLW0108>PLW0108</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW0120>PLW0120</a>, <a href=https://docs.astral.sh/ruff/rules/PLW0127>PLW0127</a>, <a href=https://docs.astral.sh/ruff/rules/PLW0128>PLW0128</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW0129>PLW0129</a>, <a href=https://docs.astral.sh/ruff/rules/PLW0131>PLW0131</a>, <a href=https://docs.astral.sh/ruff/rules/PLW0133>PLW0133</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW0177>PLW0177</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW0211>PLW0211</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW0245>PLW0245</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW0406>PLW0406</a>, <a href=https://docs.astral.sh/ruff/rules/PLW0602>PLW0602</a>, <a href=https://docs.astral.sh/ruff/rules/PLW0603>PLW0603</a>, <a href=https://docs.astral.sh/ruff/rules/PLW0604>PLW0604</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW0642>PLW0642</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW0711>PLW0711</a>, <a href=https://docs.astral.sh/ruff/rules/PLW1501>PLW1501</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW1508>PLW1508</a>, <a href=https://docs.astral.sh/ruff/rules/PLW1509>PLW1509</a>, <a href=https://docs.astral.sh/ruff/rules/PLW1510>PLW1510</a>, <a href=https://docs.astral.sh/ruff/rules/PLW1514>PLW1514</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW1641>PLW1641</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW2101>PLW2101</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW2901>PLW2901</a>, <a href=https://docs.astral.sh/ruff/rules/PLW3201>PLW3201</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/PLW3301>PLW3301</a></li> <li><a href=https://docs.astral.sh/ruff/rules/PT001>PT001</a>, <a href=https://docs.astral.sh/ruff/rules/PT002>PT002</a>, <a href=https://docs.astral.sh/ruff/rules/PT003>PT003</a>, <a href=https://docs.astral.sh/ruff/rules/PT006>PT006</a>, <a href=https://docs.astral.sh/ruff/rules/PT007>PT007</a>, <a href=https://docs.astral.sh/ruff/rules/PT008>PT008</a>, <a href=https://docs.astral.sh/ruff/rules/PT009>PT009</a>, <a href=https://docs.astral.sh/ruff/rules/PT010>PT010</a>, <a href=https://docs.astral.sh/ruff/rules/PT011>PT011</a>, <a href=https://docs.astral.sh/ruff/rules/PT012>PT012</a>, <a href=https://docs.astral.sh/ruff/rules/PT013>PT013</a>, <a href=https://docs.astral.sh/ruff/rules/PT014>PT014</a>, <a href=https://docs.astral.sh/ruff/rules/PT015>PT015</a>, <a href=https://docs.astral.sh/ruff/rules/PT016>PT016</a>, <a href=https://docs.astral.sh/ruff/rules/PT017>PT017</a>, <a href=https://docs.astral.sh/ruff/rules/PT018>PT018</a>, <a href=https://docs.astral.sh/ruff/rules/PT019>PT019</a>, <a href=https://docs.astral.sh/ruff/rules/PT020>PT020</a>, <a href=https://docs.astral.sh/ruff/rules/PT021>PT021</a>, <a href=https://docs.astral.sh/ruff/rules/PT022>PT022</a>, <a href=https://docs.astral.sh/ruff/rules/PT023>PT023</a>, <a href=https://docs.astral.sh/ruff/rules/PT024>PT024</a>, <a href=https://docs.astral.sh/ruff/rules/PT025>PT025</a>, <a href=https://docs.astral.sh/ruff/rules/PT026>PT026</a>, <a href=https://docs.astral.sh/ruff/rules/PT027>PT027</a></li> <li><a href=https://docs.astral.sh/ruff/rules/PYI001>PYI001</a>, <a href=https://docs.astral.sh/ruff/rules/PYI002>PYI002</a>, <a href=https://docs.astral.sh/ruff/rules/PYI003>PYI003</a>, <a href=https://docs.astral.sh/ruff/rules/PYI004>PYI004</a>, <a href=https://docs.astral.sh/ruff/rules/PYI005>PYI005</a>, <a href=https://docs.astral.sh/ruff/rules/PYI006>PYI006</a>, <a href=https://docs.astral.sh/ruff/rules/PYI007>PYI007</a>, <a href=https://docs.astral.sh/ruff/rules/PYI008>PYI008</a>, <a href=https://docs.astral.sh/ruff/rules/PYI009>PYI009</a>, <a href=https://docs.astral.sh/ruff/rules/PYI010>PYI010</a>, <a href=https://docs.astral.sh/ruff/rules/PYI011>PYI011</a>, <a href=https://docs.astral.sh/ruff/rules/PYI012>PYI012</a>, <a href=https://docs.astral.sh/ruff/rules/PYI013>PYI013</a>, <a href=https://docs.astral.sh/ruff/rules/PYI014>PYI014</a>, <a href=https://docs.astral.sh/ruff/rules/PYI015>PYI015</a>, <a href=https://docs.astral.sh/ruff/rules/PYI016>PYI016</a>, <a href=https://docs.astral.sh/ruff/rules/PYI017>PYI017</a>, <a href=https://docs.astral.sh/ruff/rules/PYI018>PYI018</a>, <a href=https://docs.astral.sh/ruff/rules/PYI019>PYI019</a>, <a href=https://docs.astral.sh/ruff/rules/PYI020>PYI020</a>, <a href=https://docs.astral.sh/ruff/rules/PYI021>PYI021</a>, <a href=https://docs.astral.sh/ruff/rules/PYI024>PYI024</a>, <a href=https://docs.astral.sh/ruff/rules/PYI025>PYI025</a>, <a href=https://docs.astral.sh/ruff/rules/PYI026>PYI026</a>, <a href=https://docs.astral.sh/ruff/rules/PYI029>PYI029</a>, <a href=https://docs.astral.sh/ruff/rules/PYI030>PYI030</a>, <a href=https://docs.astral.sh/ruff/rules/PYI032>PYI032</a>, <a href=https://docs.astral.sh/ruff/rules/PYI033>PYI033</a>, <a href=https://docs.astral.sh/ruff/rules/PYI034>PYI034</a>, <a href=https://docs.astral.sh/ruff/rules/PYI035>PYI035</a>, <a href=https://docs.astral.sh/ruff/rules/PYI036>PYI036</a>, <a href=https://docs.astral.sh/ruff/rules/PYI041>PYI041</a>, <a href=https://docs.astral.sh/ruff/rules/PYI042>PYI042</a>, <a href=https://docs.astral.sh/ruff/rules/PYI043>PYI043</a>, <a href=https://docs.astral.sh/ruff/rules/PYI044>PYI044</a>, <a href=https://docs.astral.sh/ruff/rules/PYI045>PYI045</a>, <a href=https://docs.astral.sh/ruff/rules/PYI046>PYI046</a>, <a href=https://docs.astral.sh/ruff/rules/PYI047>PYI047</a>, <a href=https://docs.astral.sh/ruff/rules/PYI048>PYI048</a>, <a href=https://docs.astral.sh/ruff/rules/PYI049>PYI049</a>, <a href=https://docs.astral.sh/ruff/rules/PYI050>PYI050</a>, <a href=https://docs.astral.sh/ruff/rules/PYI051>PYI051</a>, <a href=https://docs.astral.sh/ruff/rules/PYI052>PYI052</a>, <a href=https://docs.astral.sh/ruff/rules/PYI053>PYI053</a>, <a href=https://docs.astral.sh/ruff/rules/PYI054>PYI054</a>, <a href=https://docs.astral.sh/ruff/rules/PYI055>PYI055</a>, <a href=https://docs.astral.sh/ruff/rules/PYI056>PYI056</a>, <a href=https://docs.astral.sh/ruff/rules/PYI058>PYI058</a></li> <li><a href=https://docs.astral.sh/ruff/rules/RET503>RET503</a>, <a href=https://docs.astral.sh/ruff/rules/RET504>RET504</a>, <a href=https://docs.astral.sh/ruff/rules/RET505>RET505</a>, <a href=https://docs.astral.sh/ruff/rules/RET506>RET506</a>, <a href=https://docs.astral.sh/ruff/rules/RET507>RET507</a>, <a href=https://docs.astral.sh/ruff/rules/RET508>RET508</a></li> <li><a href=https://docs.astral.sh/ruff/rules/RSE102>RSE102</a></li> <li><a href=https://docs.astral.sh/ruff/rules/RUF001>RUF001</a>, <a href=https://docs.astral.sh/ruff/rules/RUF002>RUF002</a>, <a href=https://docs.astral.sh/ruff/rules/RUF003>RUF003</a>, <a href=https://docs.astral.sh/ruff/rules/RUF005>RUF005</a>, <a href=https://docs.astral.sh/ruff/rules/RUF006>RUF006</a>, <a href=https://docs.astral.sh/ruff/rules/RUF007>RUF007</a>, <a href=https://docs.astral.sh/ruff/rules/RUF008>RUF008</a>, <a href=https://docs.astral.sh/ruff/rules/RUF009>RUF009</a>, <a href=https://docs.astral.sh/ruff/rules/RUF010>RUF010</a>, <a href=https://docs.astral.sh/ruff/rules/RUF012>RUF012</a>, <a href=https://docs.astral.sh/ruff/rules/RUF013>RUF013</a>, <a href=https://docs.astral.sh/ruff/rules/RUF015>RUF015</a>, <a href=https://docs.astral.sh/ruff/rules/RUF016>RUF016</a>, <a href=https://docs.astral.sh/ruff/rules/RUF017>RUF017</a>, <a href=https://docs.astral.sh/ruff/rules/RUF018>RUF018</a>, <a href=https://docs.astral.sh/ruff/rules/RUF019>RUF019</a>, <a href=https://docs.astral.sh/ruff/rules/RUF020>RUF020</a>, <a href=https://docs.astral.sh/ruff/rules/RUF021>RUF021</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/RUF022>RUF022</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/RUF023>RUF023</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/RUF024>RUF024</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/RUF025>RUF025</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/RUF026>RUF026</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/RUF027>RUF027</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/RUF028>RUF028</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/RUF029>RUF029</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/RUF100>RUF100</a></li> <li><a href=https://docs.astral.sh/ruff/rules/S101>S101</a>, <a href=https://docs.astral.sh/ruff/rules/S102>S102</a>, <a href=https://docs.astral.sh/ruff/rules/S103>S103</a>, <a href=https://docs.astral.sh/ruff/rules/S104>S104</a>, <a href=https://docs.astral.sh/ruff/rules/S105>S105</a>, <a href=https://docs.astral.sh/ruff/rules/S106>S106</a>, <a href=https://docs.astral.sh/ruff/rules/S107>S107</a>, <a href=https://docs.astral.sh/ruff/rules/S108>S108</a>, <a href=https://docs.astral.sh/ruff/rules/S110>S110</a>, <a href=https://docs.astral.sh/ruff/rules/S112>S112</a>, <a href=https://docs.astral.sh/ruff/rules/S113>S113</a>, <a href=https://docs.astral.sh/ruff/rules/S201>S201</a>, <a href=https://docs.astral.sh/ruff/rules/S202>S202</a>, <a href=https://docs.astral.sh/ruff/rules/S301>S301</a>, <a href=https://docs.astral.sh/ruff/rules/S302>S302</a>, <a href=https://docs.astral.sh/ruff/rules/S303>S303</a>, <a href=https://docs.astral.sh/ruff/rules/S304>S304</a>, <a href=https://docs.astral.sh/ruff/rules/S305>S305</a>, <a href=https://docs.astral.sh/ruff/rules/S306>S306</a>, <a href=https://docs.astral.sh/ruff/rules/S307>S307</a>, <a href=https://docs.astral.sh/ruff/rules/S308>S308</a>, <a href=https://docs.astral.sh/ruff/rules/S310>S310</a>, <a href=https://docs.astral.sh/ruff/rules/S311>S311</a>, <a href=https://docs.astral.sh/ruff/rules/S312>S312</a>, <a href=https://docs.astral.sh/ruff/rules/S313>S313</a>, <a href=https://docs.astral.sh/ruff/rules/S314>S314</a>, <a href=https://docs.astral.sh/ruff/rules/S315>S315</a>, <a href=https://docs.astral.sh/ruff/rules/S316>S316</a>, <a href=https://docs.astral.sh/ruff/rules/S317>S317</a>, <a href=https://docs.astral.sh/ruff/rules/S318>S318</a>, <a href=https://docs.astral.sh/ruff/rules/S319>S319</a>, <a href=https://docs.astral.sh/ruff/rules/S320>S320</a>, <a href=https://docs.astral.sh/ruff/rules/S321>S321</a>, <a href=https://docs.astral.sh/ruff/rules/S323>S323</a>, <a href=https://docs.astral.sh/ruff/rules/S324>S324</a>, <a href=https://docs.astral.sh/ruff/rules/S401>S401</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S402>S402</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S403>S403</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S405>S405</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S406>S406</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S407>S407</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S408>S408</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S409>S409</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S411>S411</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S412>S412</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S413>S413</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S415>S415</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S501>S501</a>, <a href=https://docs.astral.sh/ruff/rules/S502>S502</a>, <a href=https://docs.astral.sh/ruff/rules/S503>S503</a>, <a href=https://docs.astral.sh/ruff/rules/S504>S504</a>, <a href=https://docs.astral.sh/ruff/rules/S505>S505</a>, <a href=https://docs.astral.sh/ruff/rules/S506>S506</a>, <a href=https://docs.astral.sh/ruff/rules/S507>S507</a>, <a href=https://docs.astral.sh/ruff/rules/S508>S508</a>, <a href=https://docs.astral.sh/ruff/rules/S509>S509</a>, <a href=https://docs.astral.sh/ruff/rules/S601>S601</a>, <a href=https://docs.astral.sh/ruff/rules/S602>S602</a>, <a href=https://docs.astral.sh/ruff/rules/S604>S604</a>, <a href=https://docs.astral.sh/ruff/rules/S605>S605</a>, <a href=https://docs.astral.sh/ruff/rules/S606>S606</a>, <a href=https://docs.astral.sh/ruff/rules/S607>S607</a>, <a href=https://docs.astral.sh/ruff/rules/S608>S608</a>, <a href=https://docs.astral.sh/ruff/rules/S609>S609</a>, <a href=https://docs.astral.sh/ruff/rules/S610>S610</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/S611>S611</a>, <a href=https://docs.astral.sh/ruff/rules/S612>S612</a>, <a href=https://docs.astral.sh/ruff/rules/S701>S701</a>, <a href=https://docs.astral.sh/ruff/rules/S702>S702</a></li> <li><a href=https://docs.astral.sh/ruff/rules/SIM101>SIM101</a>, <a href=https://docs.astral.sh/ruff/rules/SIM102>SIM102</a>, <a href=https://docs.astral.sh/ruff/rules/SIM103>SIM103</a>, <a href=https://docs.astral.sh/ruff/rules/SIM105>SIM105</a>, <a href=https://docs.astral.sh/ruff/rules/SIM107>SIM107</a>, <a href=https://docs.astral.sh/ruff/rules/SIM108>SIM108</a>, <a href=https://docs.astral.sh/ruff/rules/SIM109>SIM109</a>, <a href=https://docs.astral.sh/ruff/rules/SIM110>SIM110</a>, <a href=https://docs.astral.sh/ruff/rules/SIM112>SIM112</a>, <a href=https://docs.astral.sh/ruff/rules/SIM113>SIM113</a>, <a href=https://docs.astral.sh/ruff/rules/SIM114>SIM114</a>, <a href=https://docs.astral.sh/ruff/rules/SIM115>SIM115</a>, <a href=https://docs.astral.sh/ruff/rules/SIM116>SIM116</a>, <a href=https://docs.astral.sh/ruff/rules/SIM117>SIM117</a>, <a href=https://docs.astral.sh/ruff/rules/SIM118>SIM118</a>, <a href=https://docs.astral.sh/ruff/rules/SIM201>SIM201</a>, <a href=https://docs.astral.sh/ruff/rules/SIM202>SIM202</a>, <a href=https://docs.astral.sh/ruff/rules/SIM208>SIM208</a>, <a href=https://docs.astral.sh/ruff/rules/SIM210>SIM210</a>, <a href=https://docs.astral.sh/ruff/rules/SIM211>SIM211</a>, <a href=https://docs.astral.sh/ruff/rules/SIM212>SIM212</a>, <a href=https://docs.astral.sh/ruff/rules/SIM220>SIM220</a>, <a href=https://docs.astral.sh/ruff/rules/SIM221>SIM221</a>, <a href=https://docs.astral.sh/ruff/rules/SIM222>SIM222</a>, <a href=https://docs.astral.sh/ruff/rules/SIM223>SIM223</a>, <a href=https://docs.astral.sh/ruff/rules/SIM300>SIM300</a>, <a href=https://docs.astral.sh/ruff/rules/SIM910>SIM910</a>, <a href=https://docs.astral.sh/ruff/rules/SIM911>SIM911</a></li> <li><a href=https://docs.astral.sh/ruff/rules/SLF001>SLF001</a></li> <li><a href=https://docs.astral.sh/ruff/rules/SLOT000>SLOT000</a>, <a href=https://docs.astral.sh/ruff/rules/SLOT001>SLOT001</a>, <a href=https://docs.astral.sh/ruff/rules/SLOT002>SLOT002</a></li> <li><a href=https://docs.astral.sh/ruff/rules/T100>T100</a>, <a href=https://docs.astral.sh/ruff/rules/T201>T201</a>, <a href=https://docs.astral.sh/ruff/rules/T203>T203</a></li> <li><a href=https://docs.astral.sh/ruff/rules/TCH001>TCH001</a>, <a href=https://docs.astral.sh/ruff/rules/TCH002>TCH002</a>, <a href=https://docs.astral.sh/ruff/rules/TCH003>TCH003</a>, <a href=https://docs.astral.sh/ruff/rules/TCH004>TCH004</a>, <a href=https://docs.astral.sh/ruff/rules/TCH005>TCH005</a>, <a href=https://docs.astral.sh/ruff/rules/TCH010>TCH010</a></li> <li><a href=https://docs.astral.sh/ruff/rules/TD004>TD004</a>, <a href=https://docs.astral.sh/ruff/rules/TD005>TD005</a>, <a href=https://docs.astral.sh/ruff/rules/TD006>TD006</a>, <a href=https://docs.astral.sh/ruff/rules/TD007>TD007</a></li> <li><a href=https://docs.astral.sh/ruff/rules/TID251>TID251</a>, <a href=https://docs.astral.sh/ruff/rules/TID252>TID252</a>, <a href=https://docs.astral.sh/ruff/rules/TID253>TID253</a></li> <li><a href=https://docs.astral.sh/ruff/rules/TRIO100>TRIO100</a>, <a href=https://docs.astral.sh/ruff/rules/TRIO105>TRIO105</a>, <a href=https://docs.astral.sh/ruff/rules/TRIO109>TRIO109</a>, <a href=https://docs.astral.sh/ruff/rules/TRIO110>TRIO110</a>, <a href=https://docs.astral.sh/ruff/rules/TRIO115>TRIO115</a></li> <li><a href=https://docs.astral.sh/ruff/rules/TRY002>TRY002</a>, <a href=https://docs.astral.sh/ruff/rules/TRY003>TRY003</a>, <a href=https://docs.astral.sh/ruff/rules/TRY004>TRY004</a>, <a href=https://docs.astral.sh/ruff/rules/TRY201>TRY201</a>, <a href=https://docs.astral.sh/ruff/rules/TRY300>TRY300</a>, <a href=https://docs.astral.sh/ruff/rules/TRY301>TRY301</a>, <a href=https://docs.astral.sh/ruff/rules/TRY302>TRY302</a>, <a href=https://docs.astral.sh/ruff/rules/TRY400>TRY400</a>, <a href=https://docs.astral.sh/ruff/rules/TRY401>TRY401</a></li> <li><a href=https://docs.astral.sh/ruff/rules/UP001>UP001</a>, <a href=https://docs.astral.sh/ruff/rules/UP003>UP003</a>, <a href=https://docs.astral.sh/ruff/rules/UP004>UP004</a>, <a href=https://docs.astral.sh/ruff/rules/UP005>UP005</a>, <a href=https://docs.astral.sh/ruff/rules/UP006>UP006</a>, <a href=https://docs.astral.sh/ruff/rules/UP007>UP007</a>, <a href=https://docs.astral.sh/ruff/rules/UP008>UP008</a>, <a href=https://docs.astral.sh/ruff/rules/UP009>UP009</a>, <a href=https://docs.astral.sh/ruff/rules/UP010>UP010</a>, <a href=https://docs.astral.sh/ruff/rules/UP011>UP011</a>, <a href=https://docs.astral.sh/ruff/rules/UP012>UP012</a>, <a href=https://docs.astral.sh/ruff/rules/UP013>UP013</a>, <a href=https://docs.astral.sh/ruff/rules/UP014>UP014</a>, <a href=https://docs.astral.sh/ruff/rules/UP015>UP015</a>, <a href=https://docs.astral.sh/ruff/rules/UP017>UP017</a>, <a href=https://docs.astral.sh/ruff/rules/UP018>UP018</a>, <a href=https://docs.astral.sh/ruff/rules/UP019>UP019</a>, <a href=https://docs.astral.sh/ruff/rules/UP020>UP020</a>, <a href=https://docs.astral.sh/ruff/rules/UP021>UP021</a>, <a href=https://docs.astral.sh/ruff/rules/UP022>UP022</a>, <a href=https://docs.astral.sh/ruff/rules/UP023>UP023</a>, <a href=https://docs.astral.sh/ruff/rules/UP024>UP024</a>, <a href=https://docs.astral.sh/ruff/rules/UP025>UP025</a>, <a href=https://docs.astral.sh/ruff/rules/UP026>UP026</a>, <a href=https://docs.astral.sh/ruff/rules/UP027>UP027</a>, <a href=https://docs.astral.sh/ruff/rules/UP028>UP028</a>, <a href=https://docs.astral.sh/ruff/rules/UP029>UP029</a>, <a href=https://docs.astral.sh/ruff/rules/UP030>UP030</a>, <a href=https://docs.astral.sh/ruff/rules/UP031>UP031</a>, <a href=https://docs.astral.sh/ruff/rules/UP032>UP032</a>, <a href=https://docs.astral.sh/ruff/rules/UP033>UP033</a>, <a href=https://docs.astral.sh/ruff/rules/UP034>UP034</a>, <a href=https://docs.astral.sh/ruff/rules/UP035>UP035</a>, <a href=https://docs.astral.sh/ruff/rules/UP036>UP036</a>, <a href=https://docs.astral.sh/ruff/rules/UP037>UP037</a>, <a href=https://docs.astral.sh/ruff/rules/UP038>UP038</a>, <a href=https://docs.astral.sh/ruff/rules/UP039>UP039</a>, <a href=https://docs.astral.sh/ruff/rules/UP040>UP040</a>, <a href=https://docs.astral.sh/ruff/rules/UP041>UP041</a>, <a href=https://docs.astral.sh/ruff/rules/UP042>UP042</a><sup>P</sup></li> <li><a href=https://docs.astral.sh/ruff/rules/W291>W291</a>, <a href=https://docs.astral.sh/ruff/rules/W292>W292</a>, <a href=https://docs.astral.sh/ruff/rules/W293>W293</a>, <a href=https://docs.astral.sh/ruff/rules/W391>W391</a><sup>P</sup>, <a href=https://docs.astral.sh/ruff/rules/W505>W505</a>, <a href=https://docs.astral.sh/ruff/rules/W605>W605</a></li> <li><a href=https://docs.astral.sh/ruff/rules/YTT101>YTT101</a>, <a href=https://docs.astral.sh/ruff/rules/YTT102>YTT102</a>, <a href=https://docs.astral.sh/ruff/rules/YTT103>YTT103</a>, <a href=https://docs.astral.sh/ruff/rules/YTT201>YTT201</a>, <a href=https://docs.astral.sh/ruff/rules/YTT202>YTT202</a>, <a href=https://docs.astral.sh/ruff/rules/YTT203>YTT203</a>, <a href=https://docs.astral.sh/ruff/rules/YTT204>YTT204</a>, <a href=https://docs.astral.sh/ruff/rules/YTT301>YTT301</a>, <a href=https://docs.astral.sh/ruff/rules/YTT302>YTT302</a>, <a href=https://docs.astral.sh/ruff/rules/YTT303>YTT303</a></li> </ul> <aside class=md-source-file> <span class=md-source-file__fact> <span class=md-icon title="Last update"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"/></svg> </span> <span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">April 22, 2024</span> </span> <span class=md-source-file__fact> <span class=md-icon title=Contributors> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34-.46-1.16-1.11-1.47-1.11-1.47-.91-.62.07-.6.07-.6 1 .07 1.53 1.03 1.53 1.03.87 1.52 2.34 1.07 2.91.83.09-.65.35-1.09.63-1.34-2.22-.25-4.55-1.11-4.55-4.92 0-1.11.38-2 1.03-2.71-.1-.25-.45-1.29.1-2.64 0 0 .84-.27 2.75 1.02.79-.22 1.65-.33 2.5-.33.85 0 1.71.11 2.5.33 1.91-1.29 2.75-1.02 2.75-1.02.55 1.35.2 2.39.1 2.64.65.71 1.03 1.6 1.03 2.71 0 3.82-2.34 4.66-4.57 4.91.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2Z"/></svg> </span> <span>GitHub</span> <nav> <a href=https://github.com/ofek class=md-author title=@ofek> <img src="https://avatars.githubusercontent.com/u/9677399?v=4&size=72" alt=ofek> </a> </nav> </span> </aside> </article> </div> <script>var tabs=__md_get("__tabs");if(Array.isArray(tabs))e:for(var set of document.querySelectorAll(".tabbed-set")){var tab,labels=set.querySelector(".tabbed-labels");for(tab of tabs)for(var label of labels.getElementsByTagName("label"))if(label.innerText.trim()===tab){var input=document.getElementById(label.htmlFor);input.checked=!0;continue e}}</script> <script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script> </div> </main> <footer class=md-footer> <nav class="md-footer__inner md-grid" aria-label=Footer> <a href=../testing/ class="md-footer__link md-footer__link--prev" aria-label="Previous: Testing"> <div class="md-footer__button md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg> </div> <div class=md-footer__title> <span class=md-footer__direction> Previous </span> <div class=md-ellipsis> Testing </div> </div> </a> <a href=../../context/ class="md-footer__link md-footer__link--next" aria-label="Next: Context formatting"> <div class=md-footer__title> <span class=md-footer__direction> Next </span> <div class=md-ellipsis> Context formatting </div> </div> <div class="md-footer__button md-icon"> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11H4Z"/></svg> </div> </a> </nav> <div class="md-footer-meta md-typeset"> <div class="md-footer-meta__inner md-grid"> <div class=md-copyright> <div class=md-copyright__highlight> Copyright © Ofek Lev 2017-present </div> <div> Logo by <a href=https://openai.com/dall-e-2/ target=_blank rel=noopener> DALL·E </a> and <a href=https://boriscrowther.com/ target=_blank rel=noopener> Boris Crowther </a> </div> Made with <a href=https://squidfunk.github.io/mkdocs-material/ target=_blank rel=noopener> Material for MkDocs </a> </div> <div class=md-social> <a href=https://github.com/ofek target=_blank rel=noopener title=github.com class=md-social__link> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 480 512"><!-- Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M186.1 328.7c0 20.9-10.9 55.1-36.7 55.1s-36.7-34.2-36.7-55.1 10.9-55.1 36.7-55.1 36.7 34.2 36.7 55.1zM480 278.2c0 31.9-3.2 65.7-17.5 95-37.9 76.6-142.1 74.8-216.7 74.8-75.8 0-186.2 2.7-225.6-74.8-14.6-29-20.2-63.1-20.2-95 0-41.9 13.9-81.5 41.5-113.6-5.2-15.8-7.7-32.4-7.7-48.8 0-21.5 4.9-32.3 14.6-51.8 45.3 0 74.3 9 108.8 36 29-6.9 58.8-10 88.7-10 27 0 54.2 2.9 80.4 9.2 34-26.7 63-35.2 107.8-35.2 9.8 19.5 14.6 30.3 14.6 51.8 0 16.4-2.6 32.7-7.7 48.2 27.5 32.4 39 72.3 39 114.2zm-64.3 50.5c0-43.9-26.7-82.6-73.5-82.6-18.9 0-37 3.4-56 6-14.9 2.3-29.8 3.2-45.1 3.2-15.2 0-30.1-.9-45.1-3.2-18.7-2.6-37-6-56-6-46.8 0-73.5 38.7-73.5 82.6 0 87.8 80.4 101.3 150.4 101.3h48.2c70.3 0 150.6-13.4 150.6-101.3zm-82.6-55.1c-25.8 0-36.7 34.2-36.7 55.1s10.9 55.1 36.7 55.1 36.7-34.2 36.7-55.1-10.9-55.1-36.7-55.1z"/></svg> </a> <a href=https://ofek.dev/words/ target=_blank rel=noopener title=ofek.dev class=md-social__link> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 512 512"><!-- Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M192 32c0 17.7 14.3 32 32 32 123.7 0 224 100.3 224 224 0 17.7 14.3 32 32 32s32-14.3 32-32C512 128.9 383.1 0 224 0c-17.7 0-32 14.3-32 32zm0 96c0 17.7 14.3 32 32 32 70.7 0 128 57.3 128 128 0 17.7 14.3 32 32 32s32-14.3 32-32c0-106-86-192-192-192-17.7 0-32 14.3-32 32zm-96 16c0-26.5-21.5-48-48-48S0 117.5 0 144v224c0 79.5 64.5 144 144 144s144-64.5 144-144-64.5-144-144-144h-16v96h16c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48V144z"/></svg> </a> <a href=https://twitter.com/Ofekmeister target=_blank rel=noopener title=twitter.com class=md-social__link> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 512 512"><!-- Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg> </a> <a href=https://www.linkedin.com/in/ofeklev/ target=_blank rel=noopener title=www.linkedin.com class=md-social__link> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 448 512"><!-- Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"/></svg> </a> </div> </div> </div> </footer> </div> <div class=md-dialog data-md-component=dialog> <div class="md-dialog__inner md-typeset"></div> </div> <script id=__config type=application/json>{"base": "../../..", "features": ["content.action.edit", "content.code.copy", "content.tabs.link", "content.tooltips", "navigation.expand", "navigation.footer", "navigation.instant", "navigation.sections", "navigation.tabs", "navigation.tabs.sticky"], "search": "../../../assets/javascripts/workers/search.1e90e0fb.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": {"provider": "mike"}}</script> <script src=../../../assets/javascripts/bundle.ede584c9.min.js></script> <script>document$.subscribe(() => {const lightbox = GLightbox({"touchNavigation": true, "loop": false, "zoomable": true, "draggable": true, "openEffect": "zoom", "closeEffect": "zoom", "slideEffect": "slide"});})</script></body> </html> |