Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ AllCops:
SuggestExtensions: false
TargetRubyVersion: 3.1.0

# Whether MFA is required or not should be left to the token configuration
# Whether MFA is required or not should be left to the token configuration.
Gemspec/RequireMFA:
Enabled: false

Expand Down Expand Up @@ -72,6 +72,10 @@ Lint/EmptyInPattern:
Exclude:
- "test/**/*"

Lint/MissingCopEnableDirective:
Exclude:
- "examples/**/*.rb"

Lint/MissingSuper:
Exclude:
- "**/*.rbi"
Expand Down Expand Up @@ -237,3 +241,8 @@ Style/StringLiterals:
# Prefer explicit symbols for clarity; you can search for `:the_symbol`.
Style/SymbolArray:
EnforcedStyle: brackets

# This option makes examples harder to read for ruby novices.
Style/SymbolProc:
Exclude:
- "examples/**/*.rb"
3 changes: 2 additions & 1 deletion .solargraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
max_files: 0
include:
- '*.gemspec'
- '/test/openai/test_helper.rb'
- 'Rakefile'
- 'examples/**/*.rb'
- 'lib/**/*.rb'
- 'test/openai/test_helper.rb'
exclude:
- 'rbi/**/*'
4 changes: 4 additions & 0 deletions examples/.keep
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
File generated from our OpenAPI spec by Stainless.

This directory can be used to store example files demonstrating usage of this SDK.
It is ignored by Stainless code generation and its content (other than this keep file) won't be touched.