{
  "id": "task_libraries:linter/python",
  "path": "/exapedia/python-linter-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python linter libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python linter libraries read source code without running it and report errors, style violations, and suspicious patterns. A linter parses each file into a syntax tree and checks it against a set of rules. These libraries let developers and AI coding agents catch mistakes before code review."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python linter libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#ruff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pycodestyle",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F137"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyflakes",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F153"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#flake",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F171"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pylint",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F187"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pydocstyle",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F203"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#prospector",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F221"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pylama",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F239"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F248"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "PyPI"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#ruff",
          "label": [
            {
              "t": "text",
              "text": "Ruff"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F126"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Automatic fixes",
            "Docstring checks",
            "JSON reports"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#ruff",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pycodestyle",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F137"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pyflakes",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F153"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F165"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#flake",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F171"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pylint",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F187"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pydocstyle",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F203"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F214"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#prospector",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F221"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F231"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#pylama",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F239"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "ruff",
          "name": [
            {
              "t": "fact",
              "fact": "F125"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/astral-sh/ruff"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/ruff"
            },
            {
              "label": "Docs",
              "href": "https://docs.astral.sh/ruff/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F128"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://docs.astral.sh/ruff/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F125"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "ruff check .\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/astral-sh/ruff/blob/0.17.6/docs/linter.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "linter.md"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20applications%20using%20ruff%20native%20diagnostic%20checks%20custom%20reporters%20source%20linting&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "Find projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F125"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F130"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pycodestyle",
          "name": [
            {
              "t": "fact",
              "fact": "F137"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/PyCQA/pycodestyle"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pycodestyle"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/pypi/pycodestyle/json"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F33"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/pycodestyle/json",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F137"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F34"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F35"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F36"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F37"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F152"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/klen/pylama",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F151"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def run_check(self, ctx: RunContext):  # noqa\n    \"\"\"Check code with pycodestyle.\"\"\"\n    params = ctx.get_params(\"pycodestyle\")\n    options = ctx.options\n    if options:\n        params.setdefault(\"max_line_length\", options.max_line_length)\n\n    if params:\n        parser = get_parser()\n        for option in parser.option_list:\n            if option.dest and option.dest in params:\n                value = params[option.dest]\n                if isinstance(value, str):\n                    params[option.dest] = option.convert_value(option, value)\n\n    style = StyleGuide(reporter=_PycodestyleReport, **params)\n    options = style.options\n    options.report.ctx = ctx  # type: ignore\n    checker = Checker(ctx.filename, lines=ctx.lines, options=options)\n    checker.check_all()\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/klen/pylama/blob/53ad214de0aa9534e59bcd5f97d9d723d16cfdb8/pylama/lint/pylama_pycodestyle.py#L13-L32",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F150"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20applications%20using%20pycodestyle%20native%20diagnostic%20checks%20custom%20reporters%20source%20linting&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F137"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "pycodestyle .\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pycodestyle.pycqa.org/en/latest/intro.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "advanced.rst"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F142"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pyflakes",
          "name": [
            {
              "t": "fact",
              "fact": "F153"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/PyCQA/pyflakes"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pyflakes"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/pypi/pyflakes/json"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F160"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/pyflakes/json",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F153"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F170"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/klen/pylama",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F169"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def run_check(self, context: RunContext):  # noqa\n    \"\"\"Check code with pyflakes.\"\"\"\n    params = context.get_params(\"pyflakes\")\n    builtins = params.get(\"builtins\", \"\")\n    if builtins:\n        builtins = builtins.split(\",\")\n\n    check = checker.Checker(context.ast, context.filename, builtins=builtins)\n    for msg in check.messages:\n        context.push(\n            lnum=msg.lineno,\n            col=msg.col + 1,\n            text=msg.message % msg.message_args,\n            number=CODES.get(msg.message, \"\"),\n            source=\"pyflakes\",\n        )\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/klen/pylama/blob/53ad214de0aa9534e59bcd5f97d9d723d16cfdb8/pylama/lint/pylama_pyflakes.py#L38-L53",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F168"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pyflakes%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F153"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "pyflakes .\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/PyCQA/pyflakes/blob/4.1.0/pyflakes/api.py",
                  "label": [
                    {
                      "t": "text",
                      "text": "api.py"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F158"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "flake",
          "name": [
            {
              "t": "fact",
              "fact": "F171"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/PyCQA/flake8"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/flake8"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/pypi/flake8/json"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F58"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/flake8/json",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F171"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F59"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F60"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F61"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F62"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/python-lsp/python-lsp-server",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F185"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def run_flake8(flake8_executable, args, document, source):\n    \"\"\"Run flake8 with the provided arguments, logs errors\n    from stderr if any.\n    \"\"\"\n    # a quick temporary fix to deal with Atom\n    args = [\n        (i if not i.startswith(\"--ignore=\") else FIX_IGNORES_RE.sub(\"\", i))\n        for i in args\n        if i is not None\n    ]\n\n    if document.path and document.path.startswith(document._workspace.root_path):\n        args.extend(\n            [\n                \"--stdin-display-name\",\n                os.path.relpath(document.path, document._workspace.root_path),\n            ]\n        )\n\n    # if executable looks like a path resolve it\n    if not os.path.isfile(flake8_executable) and os.sep in flake8_executable:\n        flake8_executable = os.path.abspath(\n            os.path.expanduser(os.path.expandvars(flake8_executable))\n        )\n\n    log.debug(\"Calling %s with args: '%s'\", flake8_executable, args)\n    popen_kwargs = {\"creationflags\": CREATE_NO_WINDOW}\n    if cwd := document._workspace.root_path:\n        popen_kwargs[\"cwd\"] = cwd\n    try:\n        cmd = [flake8_executable]\n        cmd.extend(args)\n        p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, **popen_kwargs)\n    except OSError:\n        log.debug(\n            \"Can't execute %s. Trying with '%s -m flake8'\",\n            flake8_executable,\n            sys.executable,\n        )\n        cmd = [sys.executable, \"-m\", \"flake8\"]\n        cmd.extend(args)\n        p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, **popen_kwargs)\n    (stdout, stderr) = p.communicate(source.encode())\n    if stderr:\n        log.error(\"Error while running flake8 '%s'\", stderr.decode())\n    return stdout.decode()\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/python-lsp/python-lsp-server/blob/a3620069a607a63ed52569fde188e9301feae93a/pylsp/plugins/flake8_lint.py#L112-L157",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20applications%20using%20flake8%20native%20diagnostic%20checks%20custom%20reporters%20source%20linting&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F171"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "flake8 .\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/PyCQA/flake8/blob/1c7fec1973ed3a7c192dbe1e96906fbbd1dbe49e/docs/source/user/invocation.rst",
                  "label": [
                    {
                      "t": "text",
                      "text": "configuration.rst"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F176"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pylint",
          "name": [
            {
              "t": "fact",
              "fact": "F187"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pylint-dev/pylint"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pylint"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/pypi/pylint/4.1.4/json"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F81"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/pylint/4.1.4/json",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F187"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F82"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F83"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F84"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F85"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F86"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F87"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F88"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F89"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/klen/pylama",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F201"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def run_check(self, ctx: RunContext):\n    \"\"\"Pylint code checking.\"\"\"\n    logger.debug(\"Start pylint\")\n    params = ctx.get_params(\"pylint\")\n    options = ctx.options\n    if options:\n        params.setdefault(\"max_line_length\", options.max_line_length)\n        params.setdefault(\"confidence\", options.pylint_confidence)\n\n    params.setdefault(\"enable\", ctx.select | ctx.get_filter(\"pylint\", \"select\"))\n    params.setdefault(\"disable\", ctx.ignore | ctx.get_filter(\"pylint\", \"ignore\"))\n    # if params.get(\"disable\"):\n    #     params[\"disable\"].add(\"W0012\")\n\n    class Reporter(BaseReporter):\n        \"\"\"Handle messages.\"\"\"\n\n        def _display(self, _):\n            pass\n\n        def handle_message(self, msg):\n            msg_id = msg.msg_id\n            ctx.push(\n                filtrate=False,\n                col=msg.column + 1,\n                lnum=msg.line,\n                number=msg_id,\n                text=msg.msg,\n                type=msg_id[0],\n                source=\"pylint\",\n            )\n\n    logger.debug(params)\n\n    reporter = Reporter()\n    args = _Params(params).to_attrs()\n    Run([ctx.temp_filename] + args, reporter=reporter, exit=False)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/klen/pylama/blob/53ad214de0aa9534e59bcd5f97d9d723d16cfdb8/pylama/lint/pylama_pylint.py#L35-L71",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F200"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20applications%20using%20pylint%20native%20diagnostic%20checks%20custom%20reporters%20source%20linting&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F187"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "pylint --recursive=y .\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/pylint-dev/pylint/blob/edc8e376ba4affd43bc07571bdf3a90efc281ba7/doc/user_guide/usage/run.rst",
                  "label": [
                    {
                      "t": "text",
                      "text": "pylint.rst"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F192"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pydocstyle",
          "name": [
            {
              "t": "fact",
              "fact": "F203"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/PyCQA/pydocstyle"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pydocstyle"
            },
            {
              "label": "Docs",
              "href": "https://www.pydocstyle.org/en/stable/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F210"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F204"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://www.pydocstyle.org/en/stable/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F203"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F219"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/klen/pylama",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def run_check(self, ctx: RunContext):  # noqa\n    \"\"\"Check code with pydocstyle.\"\"\"\n    params = ctx.get_params(\"pydocstyle\")\n    options = ctx.options\n    if options and options.pydocstyle_convention:\n        params.setdefault(\"convention\", options.pydocstyle_convention)\n    convention_codes = conventions.get(params.get(\"convention\"))\n    for err in PyDocChecker().check_source(\n        ctx.source,\n        ctx.filename,\n        params.get(\"ignore_decorators\"),\n        params.get(\"ignore_inline_noqa\", False),\n    ):\n        if convention_codes is None or err.code in convention_codes:\n            ctx.push(\n                lnum=err.line,\n                text=err.short_desc,\n                type=\"D\",\n                number=err.code,\n                source=\"pydocstyle\",\n            )\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/klen/pylama/blob/53ad214de0aa9534e59bcd5f97d9d723d16cfdb8/pylama/lint/pylama_pydocstyle.py#L26-L46",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F218"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pydocstyle%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F203"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "pydocstyle .\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/pydocstyle/json",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.rst"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F208"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "prospector",
          "name": [
            {
              "t": "fact",
              "fact": "F221"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/prospector-dev/prospector"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/prospector"
            },
            {
              "label": "Docs",
              "href": "https://pypi.org/pypi/prospector/json"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F228"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://pypi.org/pypi/prospector/json",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F221"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/DonJayamanne/pythonVSCode",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F237"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def main():\n    invoke = sys.argv[1]\n    if invoke == \"-m\":\n        linter = sys.argv[2]\n        args = [sys.executable, \"-m\", linter] + linter_settings[linter][\"args\"] + sys.argv[3:]\n    else:\n        linter = sys.argv[2]\n        args = [sys.argv[3]] + linter_settings[linter][\"args\"] + sys.argv[4:]\n\n    if hasattr(subprocess, \"run\"):\n        subprocess.run(args, encoding=\"utf-8\", stdout=sys.stdout, stderr=sys.stderr)\n    else:\n        subprocess.call(args, stdout=sys.stdout, stderr=sys.stderr)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/DonJayamanne/pythonVSCode/blob/01c3f16217a5777476e59fe8bd7fdb2bc87f26b6/python_files/linter.py#L36-L48",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F236"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=prospector%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F221"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "prospector .\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://prospector.landscape.io/en/master/usage.html",
                  "label": [
                    {
                      "t": "text",
                      "text": "usage.rst"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F226"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "pylama",
          "name": [
            {
              "t": "fact",
              "fact": "F239"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/klen/pylama"
            },
            {
              "label": "PyPI",
              "href": "https://pypi.org/project/pylama"
            },
            {
              "label": "Docs",
              "href": "https://klen.github.io/pylama"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F246"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F248"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://klen.github.io/pylama",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F239"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/DonJayamanne/pythonVSCode",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F255"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def main():\n    invoke = sys.argv[1]\n    if invoke == \"-m\":\n        linter = sys.argv[2]\n        args = [sys.executable, \"-m\", linter] + linter_settings[linter][\"args\"] + sys.argv[3:]\n    else:\n        linter = sys.argv[2]\n        args = [sys.argv[3]] + linter_settings[linter][\"args\"] + sys.argv[4:]\n\n    if hasattr(subprocess, \"run\"):\n        subprocess.run(args, encoding=\"utf-8\", stdout=sys.stdout, stderr=sys.stderr)\n    else:\n        subprocess.call(args, stdout=sys.stdout, stderr=sys.stderr)\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/DonJayamanne/pythonVSCode/blob/01c3f16217a5777476e59fe8bd7fdb2bc87f26b6/python_files/linter.py#L36-L48",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F254"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=pylama%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F239"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "pylama .\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/klen/pylama/blob/8.4.1/README.rst",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.rst"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F244"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python linter should I use?",
      "a": [
        {
          "t": "link",
          "href": "#ruff",
          "label": [
            {
              "t": "text",
              "text": "Ruff"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits most projects, with automatic fixes and rules reimplemented from many other linters. "
        },
        {
          "t": "link",
          "href": "#pylint",
          "label": [
            {
              "t": "text",
              "text": "Pylint"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits teams that want deeper inference and design checks alongside Ruff. "
        },
        {
          "t": "link",
          "href": "#flake",
          "label": [
            {
              "t": "fact",
              "fact": "F171"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits projects that rely on its plugins."
        }
      ]
    },
    {
      "q": "What is Ruff?",
      "a": [
        {
          "t": "link",
          "href": "#ruff",
          "label": [
            {
              "t": "text",
              "text": "Ruff"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a Python linter and code formatter written in Rust. It reimplements rule families from other linters and fixes many issues automatically. It does not support custom rules written in Python."
        }
      ]
    },
    {
      "q": "What is Pylint?",
      "a": [
        {
          "t": "link",
          "href": "#pylint",
          "label": [
            {
              "t": "text",
              "text": "Pylint"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a static checker that finds errors, convention violations, and refactoring opportunities without running the code. It reports in JSON natively and does not fix code automatically."
        }
      ]
    },
    {
      "q": "What is Flake8?",
      "a": [
        {
          "t": "link",
          "href": "#flake",
          "label": [
            {
              "t": "fact",
              "fact": "F171"
            }
          ]
        },
        {
          "t": "text",
          "text": " combines Pyflakes, pycodestyle, and McCabe checks in one command. Plugins add further rules and report formats."
        }
      ]
    },
    {
      "q": "Ruff vs Pylint: do I need both?",
      "a": [
        {
          "t": "link",
          "href": "#pylint",
          "label": [
            {
              "t": "text",
              "text": "Pylint"
            }
          ]
        },
        {
          "t": "text",
          "text": " complements "
        },
        {
          "t": "link",
          "href": "#ruff",
          "label": [
            {
              "t": "text",
              "text": "Ruff"
            }
          ]
        },
        {
          "t": "text",
          "text": " rather than duplicating its rules. Ruff covers style and correctness checks with automatic fixes. Pylint adds deeper inference and design diagnostics."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, ruff",
      "display": "Ruff",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, ruff",
      "display": "417.6M",
      "asOf": "2026-11-17"
    },
    "F3": {
      "label": "License, ruff",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, ruff",
      "display": "0.17.5, Nov 2026",
      "asOf": "2026-11-12"
    },
    "F5": {
      "label": "Package release date, ruff",
      "display": "Nov 2026",
      "asOf": "2026-11-12"
    },
    "F6": {
      "label": "Repository stars, ruff",
      "display": "51.3K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Directory checks, ruff",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Custom checks, ruff",
      "display": "Unsupported",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Inline ignores, ruff",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Automatic fixes, ruff",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, ruff",
      "display": "pip install ruff",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, ruff",
      "display": "Lints Python files and directories with optional automatic fixes.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, ruff",
      "display": "Applies safe fixes by default",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, ruff",
      "display": "Use check --fix to apply available safe changes.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, ruff",
      "display": "Rechecks files as they change",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, ruff",
      "display": "Use check --watch for continuous directory linting.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, ruff",
      "display": "Custom rules need another tool",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, ruff",
      "display": "Choose Flake8 when adding project-specific Python checks.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, ruff",
      "display": "Unsafe fixes can change behavior",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, ruff",
      "display": "Review unsafe changes before enabling --unsafe-fixes.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, ruff",
      "display": "ruff check                  # Lint files in the current directory.\nruff check --fix            # Lint files in the current directory and fix any fixable errors.\nruff check --watch          # Lint files in the current directory and re-lint on change.\nruff check path/to/code/    # Lint files in `path/to/code`.\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Library name, pycodestyle",
      "display": "pycodestyle",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Monthly downloads, pycodestyle",
      "display": "61.9M",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "License, pycodestyle",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Package release, pycodestyle",
      "display": "2.15.0, Sep 2026",
      "asOf": "2026-09-22"
    },
    "F26": {
      "label": "Package release date, pycodestyle",
      "display": "Sep 2026",
      "asOf": "2026-09-22"
    },
    "F27": {
      "label": "Repository stars, pycodestyle",
      "display": "5.2K",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Directory checks, pycodestyle",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Custom checks, pycodestyle",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Inline ignores, pycodestyle",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Automatic fixes, pycodestyle",
      "display": "Unsupported",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Install, pycodestyle",
      "display": "pip install pycodestyle",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "What it does, pycodestyle",
      "display": "Checks Python code against a subset of PEP 8 style conventions.",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "strengths lead, pycodestyle",
      "display": "Needs only the standard library",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "strengths, pycodestyle",
      "display": "Embed its single Python module for style checking.",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "strengths lead, pycodestyle",
      "display": "Accepts custom style checks",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "strengths, pycodestyle",
      "display": "Register additional checks through its plugin architecture.",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "limitations lead, pycodestyle",
      "display": "Style coverage is deliberately partial",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "limitations, pycodestyle",
      "display": "Some PEP 8 rules are outside its scope.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "limitations lead, pycodestyle",
      "display": "Leaves automatic fixes to others",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "limitations, pycodestyle",
      "display": "Use a separate fixer to change source code.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "Quickstart, pycodestyle",
      "display": "#!python\nimport pycodestyle\n\nLINES_SLICE = slice(14, -20)\n\nclass StyleGuide(pycodestyle.StyleGuide):\n    \"\"\"This subclass of pycodestyle.StyleGuide will skip the first and last lines\n    of each file.\"\"\"\n\n    def input_file(self, filename, lines=None, expected=None, line_offset=0):\n        if lines is None:\n            assert line_offset == 0\n            line_offset = LINES_SLICE.start or 0\n            lines = pycodestyle.readlines(filename)[LINES_SLICE]\n        return super(StyleGuide, self).input_file(\n            filename, lines=lines, expected=expected, line_offset=line_offset)\n\nif __name__ == '__main__':\n    style = StyleGuide(parse_argv=True, config_file=True)\n    report = style.check_files()\n    if report.total_errors:\n        raise SystemExit(1)\n",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "Project function, pycodestyle",
      "display": "def run_check(self, ctx: RunContext):  # noqa\n    \"\"\"Check code with pycodestyle.\"\"\"\n    params = ctx.get_params(\"pycodestyle\")\n    options = ctx.options\n    if options:\n        params.setdefault(\"max_line_length\", options.max_line_length)\n\n    if params:\n        parser = get_parser()\n        for option in parser.option_list:\n            if option.dest and option.dest in params:\n                value = params[option.dest]\n                if isinstance(value, str):\n                    params[option.dest] = option.convert_value(option, value)\n\n    style = StyleGuide(reporter=_PycodestyleReport, **params)\n    options = style.options\n    options.report.ctx = ctx  # type: ignore\n    checker = Checker(ctx.filename, lines=ctx.lines, options=options)\n    checker.check_all()\n",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "Project function reference, pycodestyle",
      "display": "pylama_pycodestyle.py · run_check()",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Project repository, pycodestyle",
      "display": "klen/pylama",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Project stars, klen/pylama",
      "display": "1.0K",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project push date, klen/pylama",
      "display": "Jun 2026",
      "asOf": "2026-06-22"
    },
    "F48": {
      "label": "Library name, flake8",
      "display": "Flake8",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Monthly downloads, flake8",
      "display": "42.2M",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "License, flake8",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Package release, flake8",
      "display": "7.5.0, Oct 2026",
      "asOf": "2026-10-28"
    },
    "F52": {
      "label": "Package release date, flake8",
      "display": "Oct 2026",
      "asOf": "2026-10-28"
    },
    "F53": {
      "label": "Repository stars, flake8",
      "display": "3.8K",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Directory checks, flake8",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Custom checks, flake8",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Inline ignores, flake8",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Install, flake8",
      "display": "pip install flake8",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "What it does, flake8",
      "display": "Combines PyFlakes, pycodestyle, and McCabe checks in one per-file warning stream.",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "strengths lead, flake8",
      "display": "Combines error and style checks",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "strengths, flake8",
      "display": "Run PyFlakes, pycodestyle, and complexity checks through one command.",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "strengths lead, flake8",
      "display": "Loads custom checkers and formatters",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "strengths, flake8",
      "display": "Extend diagnostics through extension and formatting entry points.",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "limitations lead, flake8",
      "display": "Python API has compatibility gaps",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "limitations, flake8",
      "display": "The legacy API does not preserve every argument or required type.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "Quickstart, flake8",
      "display": "flake8 --extend-ignore E203 \\\n         --exclude .git,__pycache__,docs/source/conf.py,old,build,dist \\\n         --max-complexity 10\n",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "Project function, flake8",
      "display": "def main():\n    from flake8.api.legacy import get_style_guide\n    from flake8.hooks import run\n\n    gitcmd = \"git diff-index --cached --name-only HEAD\"\n\n    _, files_modified, _ = run(gitcmd)\n\n    try:\n        text_type = unicode\n    except NameError:\n        text_type = str\n\n    files_modified = [text_type(x) for x in files_modified]\n\n    # remove non-py files and files which no longer exist\n    files_modified = filter(\n        lambda x: x.endswith('.py') and os.path.exists(x),\n        files_modified)\n\n    flake8_style = get_style_guide(parse_argv=True)\n    report = flake8_style.check_files(files_modified)\n\n    return report.total_errors != 0\n",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "Project function reference, flake8",
      "display": "pre-commit.flake8 · main()",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "Project repository, flake8",
      "display": "getsentry/raven-python",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "Project stars, getsentry/raven-python",
      "display": "1.7K",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Project push date, getsentry/raven-python",
      "display": "Jan 2022",
      "asOf": "2022-01-27"
    },
    "F71": {
      "label": "Library name, pylint",
      "display": "Pylint",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Monthly downloads, pylint",
      "display": "39.9M",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "License, pylint",
      "display": "GPL-2.0-or-later",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Package release, pylint",
      "display": "4.1.4, Nov 2026",
      "asOf": "2026-11-14"
    },
    "F75": {
      "label": "Package release date, pylint",
      "display": "Nov 2026",
      "asOf": "2026-11-14"
    },
    "F76": {
      "label": "Repository stars, pylint",
      "display": "5.8K",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Directory checks, pylint",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Custom checks, pylint",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Inline ignores, pylint",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Install, pylint",
      "display": "pip install pylint",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "What it does, pylint",
      "display": "Checks errors, coding conventions, and refactoring opportunities without running the target code.",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "strengths lead, pylint",
      "display": "Infers values behind variable names",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "strengths, pylint",
      "display": "Finds issues in code that is not fully typed.",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "strengths lead, pylint",
      "display": "Captures reports in custom streams",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "strengths, pylint",
      "display": "Pass a reporter with an open stream to Run.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "limitations lead, pylint",
      "display": "Full checks slow live feedback",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "limitations, pylint",
      "display": "Run full checks on save or in CI instead of each keystroke.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "limitations lead, pylint",
      "display": "Third-party support is incomplete",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "limitations, pylint",
      "display": "Load a checker plugin for unsupported framework behavior.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "Quickstart, pylint",
      "display": "from io import StringIO\n\nfrom pylint.lint import Run\nfrom pylint.reporters.text import TextReporter\n\npylint_output = StringIO()  # Custom open stream\nreporter = TextReporter(pylint_output)\nRun([\"test_file.py\"], reporter=reporter, exit=False)\nprint(pylint_output.getvalue())  # Retrieve and print the text report\n",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "Project function, pylint",
      "display": "def run_check(self, ctx: RunContext):\n    \"\"\"Pylint code checking.\"\"\"\n    logger.debug(\"Start pylint\")\n    params = ctx.get_params(\"pylint\")\n    options = ctx.options\n    if options:\n        params.setdefault(\"max_line_length\", options.max_line_length)\n        params.setdefault(\"confidence\", options.pylint_confidence)\n\n    params.setdefault(\"enable\", ctx.select | ctx.get_filter(\"pylint\", \"select\"))\n    params.setdefault(\"disable\", ctx.ignore | ctx.get_filter(\"pylint\", \"ignore\"))\n    # if params.get(\"disable\"):\n    #     params[\"disable\"].add(\"W0012\")\n\n    class Reporter(BaseReporter):\n        \"\"\"Handle messages.\"\"\"\n\n        def _display(self, _):\n            pass\n\n        def handle_message(self, msg):\n            msg_id = msg.msg_id\n            ctx.push(\n                filtrate=False,\n                col=msg.column + 1,\n                lnum=msg.line,\n                number=msg_id,\n                text=msg.msg,\n                type=msg_id[0],\n                source=\"pylint\",\n            )\n\n    logger.debug(params)\n\n    reporter = Reporter()\n    args = _Params(params).to_attrs()\n    Run([ctx.temp_filename] + args, reporter=reporter, exit=False)\n",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "Project function reference, pylint",
      "display": "pylama_pylint.py · run_check()",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "Project repository, pylint",
      "display": "klen/pylama",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Project stars, klen/pylama",
      "display": "1.0K",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Project push date, klen/pylama",
      "display": "Jun 2026",
      "asOf": "2026-06-22"
    },
    "F96": {
      "label": "Developer need",
      "display": "Finding issues in partially typed code",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Why choose pylint",
      "display": "inferred values behind names",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Developer need in introduction",
      "display": "finding issues in partially typed code",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "When to consider ruff",
      "display": "applying safe fixes is the main requirement",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need",
      "display": "Loading project-specific checkers",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Why choose flake8",
      "display": "custom extension entry points",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need in introduction",
      "display": "loading project-specific checkers",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "When to consider pylint",
      "display": "inferred values matter beyond combined lint checks",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need",
      "display": "Embedding standard-library-only style checks",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Why choose pycodestyle",
      "display": "one-module style checking",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need in introduction",
      "display": "embedding standard-library-only style checks",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Developer need",
      "display": "Applying available safe fixes",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Why choose ruff",
      "display": "safe automatic source fixes",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "Developer need in introduction",
      "display": "applying available safe fixes",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "When to consider flake8",
      "display": "the project needs custom Python lint rules",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "Page introduction",
      "display": "Python linter libraries let developers check source code for errors and convention violations.",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "FAQ: Can Pylint report into an in-memory stream?",
      "display": "Pass a TextReporter backed by StringIO to Run with exit=False to capture its report.",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "FAQ: What if linted code changes between Pylint calls?",
      "display": "Clear Pylint’s inference cache before repeating checks on changed files.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Should Pylint receive only a subset of files?",
      "display": "Pylint recommends analyzing the whole codebase together to preserve value inference across calls.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Can Pylint save JSON while printing another report?",
      "display": "Its output-format option can send JSON to a file and a colorized report to stdout.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Does Flake8 run separate checking tools?",
      "display": "Flake8 combines PyFlakes, pycodestyle, and McCabe checks.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Should applications construct a Flake8 StyleGuide directly?",
      "display": "Use the legacy get_style_guide factory and review the compatibility API before embedding.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Where does Flake8 look for project configuration?",
      "display": "Flake8 supports setup.cfg, tox.ini or .flake8 project configuration.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Does pycodestyle enforce the entire style guide?",
      "display": "pycodestyle deliberately checks only part of the style guide.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Can pycodestyle suppress every violation with noqa?",
      "display": "Only checks marked with a caret support line-level noqa suppression.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Does pycodestyle fix detected problems?",
      "display": "Automatic fixing is outside pycodestyle’s scope; use another fixer to modify source.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Can Ruff load a custom Flake8 rule?",
      "display": "Ruff does not load custom lint rules; supported Flake8 checks are implemented natively.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Does Ruff apply unsafe fixes automatically?",
      "display": "Ruff applies safe fixes by default; unsafe fixes require explicit opt-in and can change runtime behavior.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Does enabling all Ruff rules stay fixed across upgrades?",
      "display": "Selecting ALL enables new rules when Ruff is upgraded; use an explicit selection to control changes.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "Library name, ruff",
      "display": "Ruff",
      "asOf": "2026-11-20"
    },
    "F126": {
      "label": "Monthly downloads, ruff",
      "display": "432.1M",
      "asOf": "2026-11-20"
    },
    "F127": {
      "label": "License, ruff",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F128": {
      "label": "Package release, ruff",
      "display": "0.17.6",
      "asOf": "2026-11-20"
    },
    "F129": {
      "label": "Package release date, ruff",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Install, ruff",
      "display": "python -m pip install ruff==0.17.6",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Quickstart, ruff",
      "display": "ruff check .\n",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Repository stars, ruff",
      "display": "51.3K",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Automatic fixes, ruff",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Docstring checks, ruff",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "JSON reports, ruff",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Rule and integration scope, ruff",
      "display": "Native Rust CLI, fixes, caching, and reimplemented rule families. D rules need explicit selection/convention; custom Python rules are not supported. Current selected0.17.6 release, not the consumer pin, controls command verification.",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Library name, pycodestyle",
      "display": "pycodestyle",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Monthly downloads, pycodestyle",
      "display": "63.2M",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "License, pycodestyle",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Package release, pycodestyle",
      "display": "2.15.0",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Package release date, pycodestyle",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Install, pycodestyle",
      "display": "python -m pip install pycodestyle==2.15.0",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Quickstart, pycodestyle",
      "display": "pycodestyle .\n",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Repository stars, pycodestyle",
      "display": "5.2K",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Automatic fixes, pycodestyle",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Docstring checks, pycodestyle",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "JSON reports, pycodestyle",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Rule and integration scope, pycodestyle",
      "display": "PEP8 style-only engine with custom checks and a Python StyleGuide/Checker interface. Own introduction explicitly excludes naming, docstring conventions, and automatic fixing. It is also a Flake8/aggregator dependency; downloads overlap. Pep8 is its separately counted predecessor name.",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Project function, pycodestyle",
      "display": "def run_check(self, ctx: RunContext):  # noqa\n    \"\"\"Check code with pycodestyle.\"\"\"\n    params = ctx.get_params(\"pycodestyle\")\n    options = ctx.options\n    if options:\n        params.setdefault(\"max_line_length\", options.max_line_length)\n\n    if params:\n        parser = get_parser()\n        for option in parser.option_list:\n            if option.dest and option.dest in params:\n                value = params[option.dest]\n                if isinstance(value, str):\n                    params[option.dest] = option.convert_value(option, value)\n\n    style = StyleGuide(reporter=_PycodestyleReport, **params)\n    options = style.options\n    options.report.ctx = ctx  # type: ignore\n    checker = Checker(ctx.filename, lines=ctx.lines, options=options)\n    checker.check_all()\n",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Project source file, pycodestyle",
      "display": "pylama/lint/pylama_pycodestyle.py",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Project full_name, pycodestyle",
      "display": "klen/pylama",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Project stargazers_count, pycodestyle",
      "display": "1.0K",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Library name, pyflakes",
      "display": "Pyflakes",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Monthly downloads, pyflakes",
      "display": "53.8M",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "License, pyflakes",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Package release, pyflakes",
      "display": "4.1.0",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Package release date, pyflakes",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Install, pyflakes",
      "display": "python -m pip install pyflakes==4.1.0",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Quickstart, pyflakes",
      "display": "pyflakes .\n",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Official description, pyflakes",
      "display": "Checks Python programs without running them.",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Quickstart source file, pyflakes",
      "display": "pyflakes/api.py",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Repository stars, pyflakes",
      "display": "1.5K",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Automatic fixes, pyflakes",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Docstring checks, pyflakes",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "JSON reports, pyflakes",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Rule and integration scope, pyflakes",
      "display": "AST-based undefined-name/unused-import and related correctness diagnostics; excludes style checks and arbitrary source execution. The Python Checker/API supports custom reporting and extra builtins; that is different from a built-in JSON CLI report or type checker.",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Project function, pyflakes",
      "display": "def run_check(self, context: RunContext):  # noqa\n    \"\"\"Check code with pyflakes.\"\"\"\n    params = context.get_params(\"pyflakes\")\n    builtins = params.get(\"builtins\", \"\")\n    if builtins:\n        builtins = builtins.split(\",\")\n\n    check = checker.Checker(context.ast, context.filename, builtins=builtins)\n    for msg in check.messages:\n        context.push(\n            lnum=msg.lineno,\n            col=msg.col + 1,\n            text=msg.message % msg.message_args,\n            number=CODES.get(msg.message, \"\"),\n            source=\"pyflakes\",\n        )\n",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Project source file, pyflakes",
      "display": "pylama/lint/pylama_pyflakes.py",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Project full_name, pyflakes",
      "display": "klen/pylama",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Project stargazers_count, pyflakes",
      "display": "1.0K",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Library name, flake8",
      "display": "Flake8",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Monthly downloads, flake8",
      "display": "43.3M",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "License, flake8",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Package release, flake8",
      "display": "7.5.0",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Package release date, flake8",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Install, flake8",
      "display": "python -m pip install flake8==7.5.0",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Quickstart, flake8",
      "display": "flake8 .\n",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Repository stars, flake8",
      "display": "3.8K",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Automatic fixes, flake8",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Docstring checks, flake8",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "JSON reports, flake8",
      "display": "Via plugin",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Rule and integration scope, flake8",
      "display": "Modular CLI combines Pyflakes, pycodestyle, and McCabe and supports additional rule/report plugins. Docstring-convention and JSON reporting need extra plugins. Its legacy Python API is a documented compatibility surface; prefer current CLI for editor integration, not removed flake8.hooks.",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Project function, flake8",
      "display": "def run_flake8(flake8_executable, args, document, source):\n    \"\"\"Run flake8 with the provided arguments, logs errors\n    from stderr if any.\n    \"\"\"\n    # a quick temporary fix to deal with Atom\n    args = [\n        (i if not i.startswith(\"--ignore=\") else FIX_IGNORES_RE.sub(\"\", i))\n        for i in args\n        if i is not None\n    ]\n\n    if document.path and document.path.startswith(document._workspace.root_path):\n        args.extend(\n            [\n                \"--stdin-display-name\",\n                os.path.relpath(document.path, document._workspace.root_path),\n            ]\n        )\n\n    # if executable looks like a path resolve it\n    if not os.path.isfile(flake8_executable) and os.sep in flake8_executable:\n        flake8_executable = os.path.abspath(\n            os.path.expanduser(os.path.expandvars(flake8_executable))\n        )\n\n    log.debug(\"Calling %s with args: '%s'\", flake8_executable, args)\n    popen_kwargs = {\"creationflags\": CREATE_NO_WINDOW}\n    if cwd := document._workspace.root_path:\n        popen_kwargs[\"cwd\"] = cwd\n    try:\n        cmd = [flake8_executable]\n        cmd.extend(args)\n        p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, **popen_kwargs)\n    except OSError:\n        log.debug(\n            \"Can't execute %s. Trying with '%s -m flake8'\",\n            flake8_executable,\n            sys.executable,\n        )\n        cmd = [sys.executable, \"-m\", \"flake8\"]\n        cmd.extend(args)\n        p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, **popen_kwargs)\n    (stdout, stderr) = p.communicate(source.encode())\n    if stderr:\n        log.error(\"Error while running flake8 '%s'\", stderr.decode())\n    return stdout.decode()\n",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Project source file, flake8",
      "display": "pylsp/plugins/flake8_lint.py",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Project full_name, flake8",
      "display": "python-lsp/python-lsp-server",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Project stargazers_count, flake8",
      "display": "2.6K",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Library name, pylint",
      "display": "Pylint",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Monthly downloads, pylint",
      "display": "40.8M",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "License, pylint",
      "display": "GPL-2.0-or-later",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Package release, pylint",
      "display": "4.1.4",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Package release date, pylint",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Install, pylint",
      "display": "python -m pip install pylint==4.1.4",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Quickstart, pylint",
      "display": "pylint --recursive=y .\n",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Repository stars, pylint",
      "display": "5.8K",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Automatic fixes, pylint",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Docstring checks, pylint",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "JSON reports, pylint",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Rule and integration scope, pylint",
      "display": "Python static analysis with deeper inference/design diagnostics, configuration, custom checkers, and native JSON reporting. Complements Ruff rather than having identical rules. Missing-docstring checks are native; native general automatic fixing is absent.",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Project function, pylint",
      "display": "def run_check(self, ctx: RunContext):\n    \"\"\"Pylint code checking.\"\"\"\n    logger.debug(\"Start pylint\")\n    params = ctx.get_params(\"pylint\")\n    options = ctx.options\n    if options:\n        params.setdefault(\"max_line_length\", options.max_line_length)\n        params.setdefault(\"confidence\", options.pylint_confidence)\n\n    params.setdefault(\"enable\", ctx.select | ctx.get_filter(\"pylint\", \"select\"))\n    params.setdefault(\"disable\", ctx.ignore | ctx.get_filter(\"pylint\", \"ignore\"))\n    # if params.get(\"disable\"):\n    #     params[\"disable\"].add(\"W0012\")\n\n    class Reporter(BaseReporter):\n        \"\"\"Handle messages.\"\"\"\n\n        def _display(self, _):\n            pass\n\n        def handle_message(self, msg):\n            msg_id = msg.msg_id\n            ctx.push(\n                filtrate=False,\n                col=msg.column + 1,\n                lnum=msg.line,\n                number=msg_id,\n                text=msg.msg,\n                type=msg_id[0],\n                source=\"pylint\",\n            )\n\n    logger.debug(params)\n\n    reporter = Reporter()\n    args = _Params(params).to_attrs()\n    Run([ctx.temp_filename] + args, reporter=reporter, exit=False)\n",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Project source file, pylint",
      "display": "pylama/lint/pylama_pylint.py",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Project full_name, pylint",
      "display": "klen/pylama",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Project stargazers_count, pylint",
      "display": "1.0K",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Library name, pydocstyle",
      "display": "pydocstyle",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Monthly downloads, pydocstyle",
      "display": "4.4M",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "License, pydocstyle",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Package release, pydocstyle",
      "display": "6.3.0",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Package release date, pydocstyle",
      "display": "Jan 2023",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Install, pydocstyle",
      "display": "python -m pip install pydocstyle==6.3.0",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Quickstart, pydocstyle",
      "display": "pydocstyle .\n",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Official description, pydocstyle",
      "display": "Checks docstring style.",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Quickstart source file, pydocstyle",
      "display": "README.rst",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Repository stars, pydocstyle",
      "display": "1.1K",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Automatic fixes, pydocstyle",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Docstring checks, pydocstyle",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "JSON reports, pydocstyle",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Rule and integration scope, pydocstyle",
      "display": "Dedicated PEP257/Google/NumPy docstring checker; not general correctness/style/formatting. Latest6.3.0 package was published2023 and upstream repository is archived, retained as a real supported-code example with no modern grammar promise.",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Project function, pydocstyle",
      "display": "def run_check(self, ctx: RunContext):  # noqa\n    \"\"\"Check code with pydocstyle.\"\"\"\n    params = ctx.get_params(\"pydocstyle\")\n    options = ctx.options\n    if options and options.pydocstyle_convention:\n        params.setdefault(\"convention\", options.pydocstyle_convention)\n    convention_codes = conventions.get(params.get(\"convention\"))\n    for err in PyDocChecker().check_source(\n        ctx.source,\n        ctx.filename,\n        params.get(\"ignore_decorators\"),\n        params.get(\"ignore_inline_noqa\", False),\n    ):\n        if convention_codes is None or err.code in convention_codes:\n            ctx.push(\n                lnum=err.line,\n                text=err.short_desc,\n                type=\"D\",\n                number=err.code,\n                source=\"pydocstyle\",\n            )\n",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Project source file, pydocstyle",
      "display": "pylama/lint/pylama_pydocstyle.py",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Project full_name, pydocstyle",
      "display": "klen/pylama",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Project stargazers_count, pydocstyle",
      "display": "1.0K",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Library name, prospector",
      "display": "Prospector",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Monthly downloads, prospector",
      "display": "325.9K",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "License, prospector",
      "display": "GPL-2.0-or-later",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Package release, prospector",
      "display": "1.20.1",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Package release date, prospector",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Install, prospector",
      "display": "python -m pip install prospector==1.20.1",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Quickstart, prospector",
      "display": "prospector .\n",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Official description, prospector",
      "display": "Analyzes Python code by combining the results of other tools.",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Quickstart source file, prospector",
      "display": "docs/usage.rst",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Repository stars, prospector",
      "display": "2.1K",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Automatic fixes, prospector",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Docstring checks, prospector",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "JSON reports, prospector",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Rule and integration scope, prospector",
      "display": "Aggregates other analysis tools with profiles, optional tool selection, framework adaptation, and JSON reports. Pydocstyle is a bundled but off-by-default subtool and must be enabled; capability is available, not default coverage. Reports diagnostics rather than rewriting source. Aggregate counts overlap its component engines.",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Project function, prospector",
      "display": "def main():\n    invoke = sys.argv[1]\n    if invoke == \"-m\":\n        linter = sys.argv[2]\n        args = [sys.executable, \"-m\", linter] + linter_settings[linter][\"args\"] + sys.argv[3:]\n    else:\n        linter = sys.argv[2]\n        args = [sys.argv[3]] + linter_settings[linter][\"args\"] + sys.argv[4:]\n\n    if hasattr(subprocess, \"run\"):\n        subprocess.run(args, encoding=\"utf-8\", stdout=sys.stdout, stderr=sys.stderr)\n    else:\n        subprocess.call(args, stdout=sys.stdout, stderr=sys.stderr)\n",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Project source file, prospector",
      "display": "python_files/linter.py",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Project full_name, prospector",
      "display": "DonJayamanne/pythonVSCode",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Project stargazers_count, prospector",
      "display": "2.1K",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Library name, pylama",
      "display": "Pylama",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Monthly downloads, pylama",
      "display": "98.3K",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "License, pylama",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Package release, pylama",
      "display": "8.4.1",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Package release date, pylama",
      "display": "Aug 2022",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Install, pylama",
      "display": "python -m pip install pylama==8.4.1",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Quickstart, pylama",
      "display": "pylama .\n",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Official description, pylama",
      "display": "Audits Python code.",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Quickstart source file, pylama",
      "display": "README.rst",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Repository stars, pylama",
      "display": "1.0K",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Automatic fixes, pylama",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Docstring checks, pylama",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "JSON reports, pylama",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Rule and integration scope, pylama",
      "display": "Configurable Python audit wrapper around its actual separately installed/bundled engines, with native Python API, modelines, deduplication, and tool selection. Docstring diagnostics use pydocstyle. Current8.4.1 CLI explicitly supports json as well as pydocstyle/pycodestyle/Pylint/parsable text styles.2022 selected-version date remains visible.",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Project function, pylama",
      "display": "def main():\n    invoke = sys.argv[1]\n    if invoke == \"-m\":\n        linter = sys.argv[2]\n        args = [sys.executable, \"-m\", linter] + linter_settings[linter][\"args\"] + sys.argv[3:]\n    else:\n        linter = sys.argv[2]\n        args = [sys.argv[3]] + linter_settings[linter][\"args\"] + sys.argv[4:]\n\n    if hasattr(subprocess, \"run\"):\n        subprocess.run(args, encoding=\"utf-8\", stdout=sys.stdout, stderr=sys.stderr)\n    else:\n        subprocess.call(args, stdout=sys.stdout, stderr=sys.stderr)\n",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Project source file, pylama",
      "display": "python_files/linter.py",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Project full_name, pylama",
      "display": "DonJayamanne/pythonVSCode",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Project stargazers_count, pylama",
      "display": "2.1K",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python linter libraries Pylint Flake8 pycodestyle Ruff code examples custom rules diagnostics automatic fixes",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
