view contrib/nix/flake.lock @ 51721:ed28085827ec

typing: explicitly type some `mercurial.util` eol code to avoid @overload Unlike the previous commit, this makes a material difference in the generated stub file- the `pycompat.identity()` aliases generated an @overload like this: @overload def fromnativeeol(a: _T0) -> _T0: ... ... which might fail to detect a bad argument, like str. This drops the @overload for the 3 related methods, so there's a single definition for each. The `typelib.BinaryIO_Proxy` is used for subclassing (the same as was done in 8147abc05794), so that it is a `BinaryIO` type during type checking, but still inherits `object` at runtime. That way, we don't need to implement unused abstract methods.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 19 Jul 2024 16:49:46 -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
}