-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #538 from Homebrew/sorbet
Enable Sorbet typechecking
- Loading branch information
Showing
2 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
# typed: false | ||
# frozen_string_literal: true | ||
|
||
require "pycall/import" | ||
include PyCall::Import # rubocop:disable Style/MixinUsage | ||
|
||
include(Module.new do | ||
extend PyCall::Import | ||
|
||
pyfrom "influxdb_client_3", import: :InfluxDBClient3 | ||
end) | ||
pyfrom "influxdb_client_3", import: :InfluxDBClient3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# typed: true | ||
|
||
module InfluxDBClient3; end | ||
|
||
module PyCall | ||
def self.init(*args); end | ||
|
||
module Import | ||
def self.pyfrom(*args); end | ||
|
||
def self.import(*args); end | ||
end | ||
|
||
class PyError; end # rubocop:disable Lint/EmptyClass | ||
end |