diff --git a/Formula/b/basedpyright.rb b/Formula/b/basedpyright.rb index eff2d68fa2ef5..a2e9e49e3e2f8 100644 --- a/Formula/b/basedpyright.rb +++ b/Formula/b/basedpyright.rb @@ -1,19 +1,19 @@ class Basedpyright < Formula desc "Pyright fork with various improvements and built-in pylance features" homepage "https://github.com/DetachHead/basedpyright" - url "https://registry.npmjs.org/basedpyright/-/basedpyright-1.17.0.tgz" - sha256 "fab05665048eff8a51746ef9ec0caab423d08ba0eac1afbc17564c46ee53a219" + url "https://registry.npmjs.org/basedpyright/-/basedpyright-1.17.1.tgz" + sha256 "82a27e8cc3fbe608cbfb2aa1ff08428bf686a1a08db2eddc2ecb29f8177fe368" license "MIT" head "https://github.com/detachhead/basedpyright.git", branch: "main" bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "b094068117b6a0fe6957e4d0ebadf072e246baa94dc93231fdd126dfae05c508" - sha256 cellar: :any_skip_relocation, arm64_ventura: "b094068117b6a0fe6957e4d0ebadf072e246baa94dc93231fdd126dfae05c508" - sha256 cellar: :any_skip_relocation, arm64_monterey: "b094068117b6a0fe6957e4d0ebadf072e246baa94dc93231fdd126dfae05c508" - sha256 cellar: :any_skip_relocation, sonoma: "2f48dbd4935389d20b8ee93e58c8e8b1d1bfd69f062321039cd8ecdf6d3d603c" - sha256 cellar: :any_skip_relocation, ventura: "2f48dbd4935389d20b8ee93e58c8e8b1d1bfd69f062321039cd8ecdf6d3d603c" - sha256 cellar: :any_skip_relocation, monterey: "2f48dbd4935389d20b8ee93e58c8e8b1d1bfd69f062321039cd8ecdf6d3d603c" - sha256 cellar: :any_skip_relocation, x86_64_linux: "b094068117b6a0fe6957e4d0ebadf072e246baa94dc93231fdd126dfae05c508" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "116d9042bbf40cfbb27b536a943c3d8d927a1946d334a97e5c60fda1492f4851" + sha256 cellar: :any_skip_relocation, arm64_ventura: "116d9042bbf40cfbb27b536a943c3d8d927a1946d334a97e5c60fda1492f4851" + sha256 cellar: :any_skip_relocation, arm64_monterey: "116d9042bbf40cfbb27b536a943c3d8d927a1946d334a97e5c60fda1492f4851" + sha256 cellar: :any_skip_relocation, sonoma: "10d00876d7dbcb50e5187e45ca16b331373707c828a119c6506fe1232d52262f" + sha256 cellar: :any_skip_relocation, ventura: "10d00876d7dbcb50e5187e45ca16b331373707c828a119c6506fe1232d52262f" + sha256 cellar: :any_skip_relocation, monterey: "10d00876d7dbcb50e5187e45ca16b331373707c828a119c6506fe1232d52262f" + sha256 cellar: :any_skip_relocation, x86_64_linux: "116d9042bbf40cfbb27b536a943c3d8d927a1946d334a97e5c60fda1492f4851" end depends_on "node" @@ -30,6 +30,6 @@ def wrong_types(a: int, b: int) -> str: return a + b EOS output = pipe_output("#{bin}/basedpyright broken.py 2>&1") - assert_match 'error: Expression of type "int" is incompatible with return type "str"', output + assert_match "error: Type \"int\" is not assignable to return type \"str\"", output end end