-
Notifications
You must be signed in to change notification settings - Fork 32
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 #63 from willnet/fix-type
steepによる型チェックを修正してCIに組み込んだ
- Loading branch information
Showing
9 changed files
with
74 additions
and
17 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
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
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,13 @@ | ||
D = Steep::Diagnostic | ||
|
||
target :lib do | ||
signature "sig" | ||
|
||
check "lib" | ||
|
||
library "forwardable" | ||
library "yaml" | ||
|
||
configure_code_diagnostics(D::Ruby.strict) | ||
end | ||
|
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
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
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
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
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,4 @@ | ||
module Romaji | ||
def self.romaji2kana: (String, Hash[Symbol, Symbol]?) -> String | ||
def self.kana2romaji: (String) -> String | ||
end |
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,23 @@ | ||
--- | ||
- file: lib/gimei.rb | ||
diagnostics: | ||
- range: | ||
start: | ||
line: 27 | ||
character: 4 | ||
end: | ||
line: 27 | ||
character: 18 | ||
severity: ERROR | ||
message: Type `singleton(::Class)` does not have method `def_delegators` | ||
code: Ruby::NoMethod | ||
- range: | ||
start: | ||
line: 28 | ||
character: 4 | ||
end: | ||
line: 28 | ||
character: 18 | ||
severity: ERROR | ||
message: Type `singleton(::Class)` does not have method `def_delegators` | ||
code: Ruby::NoMethod |