view contrib/nix/flake.lock @ 51685:0eb515c7bec8

typing: add trivial type hints to the convert extension's common modules This started as ensuring that the `encoding` and `orig_encoding` attributes has a type other than `Any`, so pytype can catch problems where it needs to be str for stdlib encoding and decoding. It turns out that adding the hint in `mercurial.encoding` is what was needed, but I picked a bunch of low hanging fruit while here. There's definitely more to do, and I see a problem where `shlex.shlex` is being fed bytes instead of str, but there are not enough type hints yet to make pytype notice.
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 11 Jul 2024 20:54:06 -0400
parents be676c313c7b
children
line wrap: on
line source

{
  "nodes": {
    "flake-utils": {
      "inputs": {
        "systems": "systems"
      },
      "locked": {
        "lastModified": 1681202837,
        "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=",
        "owner": "numtide",
        "repo": "flake-utils",
        "rev": "cfacdce06f30d2b68473a46042957675eebb3401",
        "type": "github"
      },
      "original": {
        "owner": "numtide",
        "repo": "flake-utils",
        "type": "github"
      }
    },
    "flaky-utils": {
      "locked": {
        "lastModified": 1668472805,
        "narHash": "sha256-hjRe8QFh2JMo9u6AaxQNGWfDWZxk3psULmPglqsjsLk=",
        "ref": "refs/heads/master",
        "rev": "c3f9daf4ec56276e040bc33e29c7eeaf1b99d91c",
        "revCount": 33,
        "type": "git",
        "url": "https://cgit.pacien.net/libs/flaky-utils"
      },
      "original": {
        "type": "git",
        "url": "https://cgit.pacien.net/libs/flaky-utils"
      }
    },
    "nixpkgs": {
      "locked": {
        "lastModified": 1681482634,
        "narHash": "sha256-cT/nr3L8khEYZSGp8qqwxFH+/q4/547MfyOdSj6MhBk=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "fda0d99c2cbbb5c89d8855d258cb0821bd9113ad",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "nixos-22.11",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "nixpkgs-black": {
      "locked": {
        "lastModified": 1605911135,
        "narHash": "sha256-PoVe4Nu7UzYtOboytSzRY9sks6euoEzeCckBN+AIoTU=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "c7cb72b0cae397d311236d6773338efb4bd4f2d1",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "c7cb72b0",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "root": {
      "inputs": {
        "flake-utils": "flake-utils",
        "flaky-utils": "flaky-utils",
        "nixpkgs": "nixpkgs",
        "nixpkgs-black": "nixpkgs-black"
      }
    },
    "systems": {
      "locked": {
        "lastModified": 1681028828,
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
        "owner": "nix-systems",
        "repo": "default",
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
        "type": "github"
      },
      "original": {
        "owner": "nix-systems",
        "repo": "default",
        "type": "github"
      }
    }
  },
  "root": "root",
  "version": 7
}