danger-packwerk 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/danger-packwerk/version.rb +1 -1
- metadata +2 -88
- data/sorbet/config +0 -4
- data/sorbet/rbi/gems/actionview@7.0.4.rbi +0 -11543
- data/sorbet/rbi/gems/activesupport@7.0.4.rbi +0 -12959
- data/sorbet/rbi/gems/addressable@2.8.1.rbi +0 -1505
- data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -522
- data/sorbet/rbi/gems/better_html@2.0.1.rbi +0 -286
- data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
- data/sorbet/rbi/gems/claide-plugins@0.9.2.rbi +0 -791
- data/sorbet/rbi/gems/claide@1.1.0.rbi +0 -1132
- data/sorbet/rbi/gems/code_ownership@1.29.2.rbi +0 -525
- data/sorbet/rbi/gems/code_teams@1.0.0.rbi +0 -120
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -2256
- data/sorbet/rbi/gems/colored2@3.1.2.rbi +0 -130
- data/sorbet/rbi/gems/concurrent-ruby@1.1.10.rbi +0 -8695
- data/sorbet/rbi/gems/constant_resolver@0.2.0.rbi +0 -30
- data/sorbet/rbi/gems/cork@0.3.0.rbi +0 -248
- data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -436
- data/sorbet/rbi/gems/danger-plugin-api@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/danger@9.0.0.rbi +0 -4722
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -862
- data/sorbet/rbi/gems/erubi@1.11.0.rbi +0 -102
- data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +0 -266
- data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +0 -209
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +0 -212
- data/sorbet/rbi/gems/faraday-http-cache@2.4.1.rbi +0 -805
- data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +0 -221
- data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +0 -266
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +0 -216
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +0 -206
- data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +0 -212
- data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +0 -225
- data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +0 -222
- data/sorbet/rbi/gems/faraday@1.10.2.rbi +0 -1862
- data/sorbet/rbi/gems/git@1.12.0.rbi +0 -1936
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +0 -1643
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +0 -8
- data/sorbet/rbi/gems/kramdown@2.4.0.rbi +0 -2168
- data/sorbet/rbi/gems/loofah@2.19.0.rbi +0 -646
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -199
- data/sorbet/rbi/gems/minitest@5.16.3.rbi +0 -997
- data/sorbet/rbi/gems/multipart-post@2.2.3.rbi +0 -165
- data/sorbet/rbi/gems/nap@1.1.0.rbi +0 -351
- data/sorbet/rbi/gems/no_proxy_fix@0.1.2.rbi +0 -8
- data/sorbet/rbi/gems/nokogiri@1.13.8.rbi +0 -4916
- data/sorbet/rbi/gems/octokit@5.6.1.rbi +0 -8939
- data/sorbet/rbi/gems/open4@1.3.4.rbi +0 -8
- data/sorbet/rbi/gems/packs@0.0.5.rbi +0 -111
- data/sorbet/rbi/gems/packwerk@2.2.1-e998ef65194de398f0baaf03a0ba33390b30351e.rbi +0 -2161
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +0 -163
- data/sorbet/rbi/gems/parse_packwerk@0.18.0.rbi +0 -225
- data/sorbet/rbi/gems/parser@3.1.2.1.rbi +0 -5988
- data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -6969
- data/sorbet/rbi/gems/public_suffix@5.0.0.rbi +0 -779
- data/sorbet/rbi/gems/racc@1.6.0.rbi +0 -92
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -8
- data/sorbet/rbi/gems/rails-html-sanitizer@1.4.3.rbi +0 -493
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -227
- data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -1865
- data/sorbet/rbi/gems/rbi@0.0.14.rbi +0 -2337
- data/sorbet/rbi/gems/rchardet@1.8.0.rbi +0 -587
- data/sorbet/rbi/gems/regexp_parser@2.5.0.rbi +0 -1851
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -3852
- data/sorbet/rbi/gems/rspec-core@3.11.0.rbi +0 -7725
- data/sorbet/rbi/gems/rspec-expectations@3.11.0.rbi +0 -6201
- data/sorbet/rbi/gems/rspec-mocks@3.11.1.rbi +0 -3625
- data/sorbet/rbi/gems/rspec-support@3.11.0.rbi +0 -1176
- data/sorbet/rbi/gems/rspec@3.11.0.rbi +0 -40
- data/sorbet/rbi/gems/rubocop-ast@1.21.0.rbi +0 -4193
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.8.rbi +0 -677
- data/sorbet/rbi/gems/rubocop@1.36.0.rbi +0 -37914
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -732
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +0 -8
- data/sorbet/rbi/gems/sawyer@0.9.2.rbi +0 -513
- data/sorbet/rbi/gems/smart_properties@1.17.0.rbi +0 -326
- data/sorbet/rbi/gems/spoom@1.1.11.rbi +0 -1600
- data/sorbet/rbi/gems/tapioca@0.8.0.rbi +0 -1959
- data/sorbet/rbi/gems/terminal-table@3.0.2.rbi +0 -438
- data/sorbet/rbi/gems/thor@1.2.1.rbi +0 -2921
- data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +0 -4879
- data/sorbet/rbi/gems/unicode-display_width@2.3.0.rbi +0 -27
- data/sorbet/rbi/gems/unparser@0.6.5.rbi +0 -2789
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +0 -1802
- data/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +0 -288
- data/sorbet/rbi/gems/yard@0.9.27.rbi +0 -12668
- data/sorbet/rbi/todo.rbi +0 -125
- data/sorbet/tapioca/require.rb +0 -4
@@ -1,163 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `parallel` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem parallel`.
|
6
|
-
|
7
|
-
module Parallel
|
8
|
-
extend ::Parallel::ProcessorCount
|
9
|
-
|
10
|
-
class << self
|
11
|
-
# @return [Boolean]
|
12
|
-
def all?(*args, &block); end
|
13
|
-
|
14
|
-
# @return [Boolean]
|
15
|
-
def any?(*args, &block); end
|
16
|
-
|
17
|
-
def each(array, options = T.unsafe(nil), &block); end
|
18
|
-
def each_with_index(array, options = T.unsafe(nil), &block); end
|
19
|
-
def flat_map(*args, &block); end
|
20
|
-
def in_processes(options = T.unsafe(nil), &block); end
|
21
|
-
def in_threads(options = T.unsafe(nil)); end
|
22
|
-
def map(source, options = T.unsafe(nil), &block); end
|
23
|
-
def map_with_index(array, options = T.unsafe(nil), &block); end
|
24
|
-
def worker_number; end
|
25
|
-
|
26
|
-
# TODO: this does not work when doing threads in forks, so should remove and yield the number instead if needed
|
27
|
-
def worker_number=(worker_num); end
|
28
|
-
|
29
|
-
private
|
30
|
-
|
31
|
-
def add_progress_bar!(job_factory, options); end
|
32
|
-
def call_with_index(item, index, options, &block); end
|
33
|
-
def create_workers(job_factory, options, &block); end
|
34
|
-
|
35
|
-
# options is either a Integer or a Hash with :count
|
36
|
-
def extract_count_from_options(options); end
|
37
|
-
|
38
|
-
def instrument_finish(item, index, result, options); end
|
39
|
-
def instrument_start(item, index, options); end
|
40
|
-
def process_incoming_jobs(read, write, job_factory, options, &block); end
|
41
|
-
def replace_worker(job_factory, workers, index, options, blk); end
|
42
|
-
def with_instrumentation(item, index, options); end
|
43
|
-
def work_direct(job_factory, options, &block); end
|
44
|
-
def work_in_processes(job_factory, options, &blk); end
|
45
|
-
def work_in_ractors(job_factory, options); end
|
46
|
-
def work_in_threads(job_factory, options, &block); end
|
47
|
-
def worker(job_factory, options, &block); end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
|
51
|
-
class Parallel::Break < ::StandardError
|
52
|
-
# @return [Break] a new instance of Break
|
53
|
-
def initialize(value = T.unsafe(nil)); end
|
54
|
-
|
55
|
-
# Returns the value of attribute value.
|
56
|
-
def value; end
|
57
|
-
end
|
58
|
-
|
59
|
-
class Parallel::DeadWorker < ::StandardError; end
|
60
|
-
|
61
|
-
class Parallel::ExceptionWrapper
|
62
|
-
# @return [ExceptionWrapper] a new instance of ExceptionWrapper
|
63
|
-
def initialize(exception); end
|
64
|
-
|
65
|
-
# Returns the value of attribute exception.
|
66
|
-
def exception; end
|
67
|
-
end
|
68
|
-
|
69
|
-
class Parallel::JobFactory
|
70
|
-
# @return [JobFactory] a new instance of JobFactory
|
71
|
-
def initialize(source, mutex); end
|
72
|
-
|
73
|
-
def next; end
|
74
|
-
|
75
|
-
# generate item that is sent to workers
|
76
|
-
# just index is faster + less likely to blow up with unserializable errors
|
77
|
-
def pack(item, index); end
|
78
|
-
|
79
|
-
def size; end
|
80
|
-
|
81
|
-
# unpack item that is sent to workers
|
82
|
-
def unpack(data); end
|
83
|
-
|
84
|
-
private
|
85
|
-
|
86
|
-
# @return [Boolean]
|
87
|
-
def producer?; end
|
88
|
-
|
89
|
-
def queue_wrapper(array); end
|
90
|
-
end
|
91
|
-
|
92
|
-
class Parallel::Kill < ::Parallel::Break; end
|
93
|
-
|
94
|
-
# TODO: inline this method into parallel.rb and kill physical_processor_count in next major release
|
95
|
-
module Parallel::ProcessorCount
|
96
|
-
# Number of physical processor cores on the current system.
|
97
|
-
def physical_processor_count; end
|
98
|
-
|
99
|
-
# Number of processors seen by the OS, used for process scheduling
|
100
|
-
def processor_count; end
|
101
|
-
end
|
102
|
-
|
103
|
-
Parallel::Stop = T.let(T.unsafe(nil), Object)
|
104
|
-
|
105
|
-
class Parallel::UndumpableException < ::StandardError
|
106
|
-
# @return [UndumpableException] a new instance of UndumpableException
|
107
|
-
def initialize(original); end
|
108
|
-
|
109
|
-
# Returns the value of attribute backtrace.
|
110
|
-
def backtrace; end
|
111
|
-
end
|
112
|
-
|
113
|
-
class Parallel::UserInterruptHandler
|
114
|
-
class << self
|
115
|
-
def kill(thing); end
|
116
|
-
|
117
|
-
# kill all these pids or threads if user presses Ctrl+c
|
118
|
-
def kill_on_ctrl_c(pids, options); end
|
119
|
-
|
120
|
-
private
|
121
|
-
|
122
|
-
def restore_interrupt(old, signal); end
|
123
|
-
def trap_interrupt(signal); end
|
124
|
-
end
|
125
|
-
end
|
126
|
-
|
127
|
-
Parallel::UserInterruptHandler::INTERRUPT_SIGNAL = T.let(T.unsafe(nil), Symbol)
|
128
|
-
Parallel::VERSION = T.let(T.unsafe(nil), String)
|
129
|
-
Parallel::Version = T.let(T.unsafe(nil), String)
|
130
|
-
|
131
|
-
class Parallel::Worker
|
132
|
-
# @return [Worker] a new instance of Worker
|
133
|
-
def initialize(read, write, pid); end
|
134
|
-
|
135
|
-
# might be passed to started_processes and simultaneously closed by another thread
|
136
|
-
# when running in isolation mode, so we have to check if it is closed before closing
|
137
|
-
def close_pipes; end
|
138
|
-
|
139
|
-
# Returns the value of attribute pid.
|
140
|
-
def pid; end
|
141
|
-
|
142
|
-
# Returns the value of attribute read.
|
143
|
-
def read; end
|
144
|
-
|
145
|
-
def stop; end
|
146
|
-
|
147
|
-
# Returns the value of attribute thread.
|
148
|
-
def thread; end
|
149
|
-
|
150
|
-
# Sets the attribute thread
|
151
|
-
#
|
152
|
-
# @param value the value to set the attribute thread to.
|
153
|
-
def thread=(_arg0); end
|
154
|
-
|
155
|
-
def work(data); end
|
156
|
-
|
157
|
-
# Returns the value of attribute write.
|
158
|
-
def write; end
|
159
|
-
|
160
|
-
private
|
161
|
-
|
162
|
-
def wait; end
|
163
|
-
end
|
@@ -1,225 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `parse_packwerk` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem parse_packwerk`.
|
6
|
-
|
7
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#3
|
8
|
-
module ParsePackwerk
|
9
|
-
class << self
|
10
|
-
# source://parse_packwerk//lib/parse_packwerk.rb#28
|
11
|
-
sig { returns(T::Array[::ParsePackwerk::Package]) }
|
12
|
-
def all; end
|
13
|
-
|
14
|
-
# source://parse_packwerk//lib/parse_packwerk.rb#110
|
15
|
-
sig { void }
|
16
|
-
def bust_cache!; end
|
17
|
-
|
18
|
-
# source://parse_packwerk//lib/parse_packwerk.rb#33
|
19
|
-
sig { params(name: ::String).returns(T.nilable(::ParsePackwerk::Package)) }
|
20
|
-
def find(name); end
|
21
|
-
|
22
|
-
# source://parse_packwerk//lib/parse_packwerk.rb#43
|
23
|
-
sig { params(file_path: T.any(::Pathname, ::String)).returns(::ParsePackwerk::Package) }
|
24
|
-
def package_from_path(file_path); end
|
25
|
-
|
26
|
-
# source://parse_packwerk//lib/parse_packwerk.rb#54
|
27
|
-
sig { params(package: ::ParsePackwerk::Package).void }
|
28
|
-
def write_package_yml!(package); end
|
29
|
-
|
30
|
-
# source://parse_packwerk//lib/parse_packwerk.rb#38
|
31
|
-
sig { returns(::ParsePackwerk::Configuration) }
|
32
|
-
def yml; end
|
33
|
-
|
34
|
-
private
|
35
|
-
|
36
|
-
# We memoize packages_by_name for fast lookup.
|
37
|
-
# Since Graph is an immutable value object, we can create indexes and general caching mechanisms safely.
|
38
|
-
#
|
39
|
-
# source://parse_packwerk//lib/parse_packwerk.rb#98
|
40
|
-
sig { returns(T::Hash[::String, ::ParsePackwerk::Package]) }
|
41
|
-
def packages_by_name; end
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
# source://parse_packwerk//lib/parse_packwerk/configuration.rb#4
|
46
|
-
class ParsePackwerk::Configuration < ::T::Struct
|
47
|
-
const :exclude, T::Array[::String]
|
48
|
-
const :package_paths, T::Array[::String]
|
49
|
-
|
50
|
-
class << self
|
51
|
-
# source://parse_packwerk//lib/parse_packwerk/configuration.rb#28
|
52
|
-
sig { params(config_hash: T::Hash[T.untyped, T.untyped]).returns(T::Array[::String]) }
|
53
|
-
def excludes(config_hash); end
|
54
|
-
|
55
|
-
# source://parse_packwerk//lib/parse_packwerk/configuration.rb#11
|
56
|
-
sig { returns(::ParsePackwerk::Configuration) }
|
57
|
-
def fetch; end
|
58
|
-
|
59
|
-
# source://sorbet-runtime/0.5.10588/lib/types/struct.rb#13
|
60
|
-
def inherited(s); end
|
61
|
-
|
62
|
-
# source://parse_packwerk//lib/parse_packwerk/configuration.rb#40
|
63
|
-
sig { params(config_hash: T::Hash[T.untyped, T.untyped]).returns(T::Array[::String]) }
|
64
|
-
def package_paths(config_hash); end
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#22
|
69
|
-
ParsePackwerk::DEFAULT_EXCLUDE_GLOBS = T.let(T.unsafe(nil), Array)
|
70
|
-
|
71
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#23
|
72
|
-
ParsePackwerk::DEFAULT_PACKAGE_PATHS = T.let(T.unsafe(nil), Array)
|
73
|
-
|
74
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#24
|
75
|
-
ParsePackwerk::DEFAULT_PUBLIC_PATH = T.let(T.unsafe(nil), String)
|
76
|
-
|
77
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#14
|
78
|
-
ParsePackwerk::DEPENDENCIES = T.let(T.unsafe(nil), String)
|
79
|
-
|
80
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#10
|
81
|
-
ParsePackwerk::DEPENDENCY_VIOLATION_TYPE = T.let(T.unsafe(nil), String)
|
82
|
-
|
83
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#8
|
84
|
-
ParsePackwerk::ENFORCE_DEPENDENCIES = T.let(T.unsafe(nil), String)
|
85
|
-
|
86
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#9
|
87
|
-
ParsePackwerk::ENFORCE_PRIVACY = T.let(T.unsafe(nil), String)
|
88
|
-
|
89
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#13
|
90
|
-
ParsePackwerk::METADATA = T.let(T.unsafe(nil), String)
|
91
|
-
|
92
|
-
# Since this metadata is unstructured YAML, it could be any type. We leave it to clients of `ParsePackwerk::Package`
|
93
|
-
# to add types based on their known usage of metadata.
|
94
|
-
#
|
95
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#18
|
96
|
-
ParsePackwerk::MetadataYmlType = T.type_alias { T::Hash[T.untyped, T.untyped] }
|
97
|
-
|
98
|
-
# source://parse_packwerk//lib/parse_packwerk.rb#14
|
99
|
-
class ParsePackwerk::MissingConfiguration < ::StandardError
|
100
|
-
# source://parse_packwerk//lib/parse_packwerk.rb#18
|
101
|
-
sig { params(packwerk_file_name: ::Pathname).void }
|
102
|
-
def initialize(packwerk_file_name); end
|
103
|
-
end
|
104
|
-
|
105
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#7
|
106
|
-
ParsePackwerk::PACKAGE_TODO_YML_NAME = T.let(T.unsafe(nil), String)
|
107
|
-
|
108
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#5
|
109
|
-
ParsePackwerk::PACKAGE_YML_NAME = T.let(T.unsafe(nil), String)
|
110
|
-
|
111
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#6
|
112
|
-
ParsePackwerk::PACKWERK_YML_NAME = T.let(T.unsafe(nil), String)
|
113
|
-
|
114
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#11
|
115
|
-
ParsePackwerk::PRIVACY_VIOLATION_TYPE = T.let(T.unsafe(nil), String)
|
116
|
-
|
117
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#12
|
118
|
-
ParsePackwerk::PUBLIC_PATH = T.let(T.unsafe(nil), String)
|
119
|
-
|
120
|
-
# source://parse_packwerk//lib/parse_packwerk/package.rb#4
|
121
|
-
class ParsePackwerk::Package < ::T::Struct
|
122
|
-
const :name, ::String
|
123
|
-
const :enforce_dependencies, T.any(::String, T::Boolean)
|
124
|
-
const :enforce_privacy, T.any(::String, T::Boolean)
|
125
|
-
const :public_path, ::String, default: T.unsafe(nil)
|
126
|
-
const :metadata, T::Hash[T.untyped, T.untyped]
|
127
|
-
const :dependencies, T::Array[::String]
|
128
|
-
const :config, T::Hash[T.untyped, T.untyped]
|
129
|
-
|
130
|
-
# source://parse_packwerk//lib/parse_packwerk/package.rb#37
|
131
|
-
sig { returns(::Pathname) }
|
132
|
-
def directory; end
|
133
|
-
|
134
|
-
# source://parse_packwerk//lib/parse_packwerk/package.rb#47
|
135
|
-
sig { returns(T.any(::String, T::Boolean)) }
|
136
|
-
def enforces_dependencies?; end
|
137
|
-
|
138
|
-
# source://parse_packwerk//lib/parse_packwerk/package.rb#52
|
139
|
-
sig { returns(T.any(::String, T::Boolean)) }
|
140
|
-
def enforces_privacy?; end
|
141
|
-
|
142
|
-
# source://parse_packwerk//lib/parse_packwerk/package.rb#42
|
143
|
-
sig { returns(::Pathname) }
|
144
|
-
def public_directory; end
|
145
|
-
|
146
|
-
# source://parse_packwerk//lib/parse_packwerk/package.rb#57
|
147
|
-
sig { returns(T::Array[::ParsePackwerk::Violation]) }
|
148
|
-
def violations; end
|
149
|
-
|
150
|
-
# source://parse_packwerk//lib/parse_packwerk/package.rb#32
|
151
|
-
sig { returns(::Pathname) }
|
152
|
-
def yml; end
|
153
|
-
|
154
|
-
class << self
|
155
|
-
# source://parse_packwerk//lib/parse_packwerk/package.rb#16
|
156
|
-
sig { params(pathname: ::Pathname).returns(::ParsePackwerk::Package) }
|
157
|
-
def from(pathname); end
|
158
|
-
|
159
|
-
# source://sorbet-runtime/0.5.10588/lib/types/struct.rb#13
|
160
|
-
def inherited(s); end
|
161
|
-
end
|
162
|
-
end
|
163
|
-
|
164
|
-
# source://parse_packwerk//lib/parse_packwerk/package_set.rb#8
|
165
|
-
class ParsePackwerk::PackageSet
|
166
|
-
class << self
|
167
|
-
# source://parse_packwerk//lib/parse_packwerk/package_set.rb#12
|
168
|
-
sig do
|
169
|
-
params(
|
170
|
-
package_pathspec: T::Array[::String],
|
171
|
-
exclude_pathspec: T::Array[::String]
|
172
|
-
).returns(T::Array[::ParsePackwerk::Package])
|
173
|
-
end
|
174
|
-
def from(package_pathspec:, exclude_pathspec:); end
|
175
|
-
|
176
|
-
private
|
177
|
-
|
178
|
-
# source://parse_packwerk//lib/parse_packwerk/package_set.rb#28
|
179
|
-
sig { params(globs: T::Array[::String], path: ::Pathname).returns(T::Boolean) }
|
180
|
-
def exclude_path?(globs, path); end
|
181
|
-
end
|
182
|
-
end
|
183
|
-
|
184
|
-
# source://parse_packwerk//lib/parse_packwerk/package_todo.rb#4
|
185
|
-
class ParsePackwerk::PackageTodo < ::T::Struct
|
186
|
-
const :pathname, ::Pathname
|
187
|
-
const :violations, T::Array[::ParsePackwerk::Violation]
|
188
|
-
|
189
|
-
class << self
|
190
|
-
# source://parse_packwerk//lib/parse_packwerk/package_todo.rb#11
|
191
|
-
sig { params(package: ::ParsePackwerk::Package).returns(::ParsePackwerk::PackageTodo) }
|
192
|
-
def for(package); end
|
193
|
-
|
194
|
-
# source://parse_packwerk//lib/parse_packwerk/package_todo.rb#17
|
195
|
-
sig { params(pathname: ::Pathname).returns(::ParsePackwerk::PackageTodo) }
|
196
|
-
def from(pathname); end
|
197
|
-
|
198
|
-
# source://sorbet-runtime/0.5.10588/lib/types/struct.rb#13
|
199
|
-
def inherited(s); end
|
200
|
-
end
|
201
|
-
end
|
202
|
-
|
203
|
-
# source://parse_packwerk//lib/parse_packwerk/constants.rb#4
|
204
|
-
ParsePackwerk::ROOT_PACKAGE_NAME = T.let(T.unsafe(nil), String)
|
205
|
-
|
206
|
-
# source://parse_packwerk//lib/parse_packwerk/violation.rb#4
|
207
|
-
class ParsePackwerk::Violation < ::T::Struct
|
208
|
-
const :type, ::String
|
209
|
-
const :to_package_name, ::String
|
210
|
-
const :class_name, ::String
|
211
|
-
const :files, T::Array[::String]
|
212
|
-
|
213
|
-
# source://parse_packwerk//lib/parse_packwerk/violation.rb#13
|
214
|
-
sig { returns(T::Boolean) }
|
215
|
-
def dependency?; end
|
216
|
-
|
217
|
-
# source://parse_packwerk//lib/parse_packwerk/violation.rb#18
|
218
|
-
sig { returns(T::Boolean) }
|
219
|
-
def privacy?; end
|
220
|
-
|
221
|
-
class << self
|
222
|
-
# source://sorbet-runtime/0.5.10588/lib/types/struct.rb#13
|
223
|
-
def inherited(s); end
|
224
|
-
end
|
225
|
-
end
|