Skip to content
This repository was archived by the owner on Feb 9, 2025. It is now read-only.

Commit d8e231c

Browse files
authored
Merge pull request #550 from koddsson/patch-1
2 parents 2785ca4 + 2b6c691 commit d8e231c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/pycall-setup.rb

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# frozen_string_literal: true
33

44
require "pycall/import"
5-
include PyCall::Import # rubocop:disable Style/MixinUsage
5+
# This was a rewrite from `include(Module.new(...))`,
6+
# to appease Sorbet, so let's keep the existing behaviour
7+
# and silence RuboCop.
8+
# rubocop:disable Style/MixinUsage
9+
include PyCall::Import
10+
# rubocop:enable Style/MixinUsage
611

712
pyfrom "influxdb_client_3", import: :InfluxDBClient3

0 commit comments

Comments
 (0)