831 Commits

Author SHA1 Message Date
BrewTestBot
d73a0e3040 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-11-09 00:42:36 +00:00
BrewTestBot
763e761a20 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-11-06 08:02:09 +00:00
Jonathan Chang
2c68f317ff Update RBI definitions. 2020-11-06 17:58:29 +11:00
BrewTestBot
75e2f1a2a9 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-27 01:00:30 +00:00
BrewTestBot
392f2e3a5c sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-22 00:58:31 +00:00
BrewTestBot
4f7497ddf9 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-21 00:57:15 +00:00
Markus Reiter
ab33bc638d Add type signatures for UnpackStrategy::Zip. 2020-10-20 09:50:21 +02:00
BrewTestBot
2f8b787701 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-15 00:55:49 +00:00
BrewTestBot
dfaa98b676 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-14 00:55:26 +00:00
BrewTestBot
5e0998d2ce sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-13 11:30:12 +00:00
Markus Reiter
bf7fe45e89
Merge pull request #8896 from reitermarkus/sorbet-inline
Inline type annotations.
2020-10-13 10:40:53 +02:00
BrewTestBot
d7dad10771 sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-10-11 00:56:30 +00:00
Markus Reiter
61b79318ed Move include Kernel into .rbi files again and split up existing .rbi files. 2020-10-10 19:10:58 +02:00
Markus Reiter
4382ee9d14 Remove files.yaml for Sorbet. 2020-10-10 19:10:58 +02:00
Markus Reiter
d5e600e3af Remove unknown Homebrew::Error class. 2020-10-10 16:06:48 +02:00
Markus Reiter
e20c982d1a Inline utils.rbi. 2020-10-10 15:53:33 +02:00
Markus Reiter
059122c724 Inline type annotations for User. 2020-10-10 15:53:14 +02:00
Markus Reiter
fc7a34585f Inline type annotations for Tty. 2020-10-10 15:49:18 +02:00
Markus Reiter
e1e9f2d9bd Inline type annotations for Utils::Svn. 2020-10-10 15:35:20 +02:00
Markus Reiter
12e173cd50 Inline type annotations for SPDX. 2020-10-10 15:33:15 +02:00
Markus Reiter
8fabc56a22 Inline type annotations for Utils::Shell. 2020-10-10 15:31:32 +02:00
Markus Reiter
ff653571b1 Create Utils::Curl module and explicitly include it. 2020-10-10 15:23:03 +02:00
Markus Reiter
318091cccc Move StringInreplaceExtension into separate file. 2020-10-10 15:06:19 +02:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter
fb9aafbb08
Merge pull request #8781 from reitermarkus/rubocop-sorbet
Add and vendor `rubocop-sorbet` and `sorbet-runtime-stub`.
2020-10-10 10:30:31 +02:00
BrewTestBot
aead44947c sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-10-10 00:53:54 +00:00
Markus Reiter
5660947b5e Don't typecheck /test/.gem. 2020-10-09 16:45:13 +02:00
Markus Reiter
c2a0ba8e87 Enable rubocop-sorbet. 2020-10-09 16:45:13 +02:00
Markus Reiter
17544fc275 Replace usage of DelegateClass with SimpleDelegator. 2020-10-09 16:45:13 +02:00
BrewTestBot
a8629dcda0 sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-10-07 00:52:51 +00:00
Issy Long
469bcb25a0
sorbet: Start typechecking install.rb and reinstall.rb 2020-10-06 21:22:35 +01:00
BrewTestBot
5645f79b7a sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-10-05 00:53:04 +00:00
BrewTestBot
b3d12361ac sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-09-30 00:50:09 +00:00
BrewTestBot
87b05a9be2 sorbet: Update RBI files and prune files.yaml.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml).
2020-09-22 00:48:51 +00:00
BrewTestBot
4aa11717ae sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-21 00:45:25 +00:00
Issy Long
cb027474f5
Merge pull request #8774 from reitermarkus/sorbet-fixes
Fix some typechecking errors.
2020-09-19 09:24:45 +01:00
Markus Reiter
cc3eceb04f Fix inreplace signature. 2020-09-19 02:03:56 +02:00
Issy Long
191a82d4eb
sorbet/files.yaml: Merge the two false lists into one
- I've been asked a couple of times now what the two different `false:`
  lists mean. And the answer is "nothing". So to avoid confusion (and to
  stop my YAML linter moaning about duplicate keys), merge the two lists
  and re-alphabetize.
2020-09-18 21:57:02 +01:00
Issy Long
7ecb73f9da
sorbet/files.yaml: Preserve newline at EOF 2020-09-18 14:59:04 +01:00
BrewTestBot
e03a1b822c sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-18 12:07:30 +00:00
BrewTestBot
5a8cc37a9c sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-17 00:42:59 +00:00
BrewTestBot
875696de1b sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-16 00:42:18 +00:00
Mike McQuaid
828eb0b690
tapioca sync 2020-09-15 13:04:15 +01:00
BrewTestBot
5f0a55a199 sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-15 00:43:09 +00:00
BrewTestBot
8a4b433dbf sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-13 00:44:56 +00:00
vidusheeamoli
cccbb0b4ef sorbet: add new files and solve existing errors
Add 12 new files to sorbet/files.yaml and solve existing type errors.
36 errors=> 33 errors.
2020-09-12 23:43:24 +05:30
Issy Long
f9dd8ae6f9
Merge pull request #8705 from issyl0/sorbet-svn-rbi
sorbet: Add a RBI file for `utils/svn.rb` typechecking
2020-09-12 18:04:13 +01:00
Issy Long
06b4b4d521
sorbet: Regenerate RBI file for the spoom gem
- Sorbet was reporting parameter ordering errors in a previous version
  of this RBI file due to [a bug in Tapioca](https://github.com/Shopify/tapioca/issues/116).
- Rather than wait for a new version of the `spoom` gem for
  `brew typecheck --update-definitions` to work on, I manually deleted the
  RBI file and used that command to generate an updated one with the
  latest Tapioca version (0.4.5) which fixes the ordering bug.
- Before, `brew typecheck` surfaced 36 errors. Now, it surfaces 24. Much more pleasant.
2020-09-12 16:08:13 +01:00
Issy Long
c98deebdbf
sorbet: Add a RBI file for utils/svn.rb typechecking
- Needed to `include Kernel` otherwise Sorbet couldn't find the
  `system_command` method.
- I've also attempted to construct method signatures for all the methods.
- Before, `brew typecheck` surfaced 36 errors. Now we're down to 33 errors.
2020-09-12 16:03:19 +01:00
BrewTestBot
7654cf87e9 sorbet: update RBI files using Tapioca.
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/tapioca.yml).
2020-09-12 00:41:56 +00:00