-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvement: Add wait option to Statements.Insert and testcase. (#3)
- Loading branch information
Showing
19 changed files
with
471 additions
and
308 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: reviewdog on Pull Request | ||
on: [pull_request] | ||
jobs: | ||
golangci-lint: | ||
name: runner / golangci-lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v1 | ||
- name: golangci-lint | ||
uses: reviewdog/action-golangci-lint@v1 | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
golangci_lint_flags: "--enable-all --exclude-use-default=false" | ||
reporter: github-check | ||
|
||
misspell: | ||
name: runner / misspell | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code. | ||
uses: actions/checkout@v1 | ||
- name: misspell | ||
uses: reviewdog/action-misspell@v1 | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
reporter: github-check |
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,6 +1,9 @@ | ||
.envrc | ||
.vscode | ||
.bin | ||
*.zip | ||
node_modules | ||
apache-livy-0.7.0-incubating-bin | ||
|
||
jars/target | ||
jars/project/target | ||
|
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,63 @@ | ||
linters-settings: | ||
golint: | ||
# minimal confidence for issues, default is 0.8 | ||
min-confidence: 1.1 | ||
|
||
lll: | ||
line-length: 180 | ||
|
||
funlen: | ||
lines: 200 | ||
statements: 130 | ||
dupl: | ||
threshold: 150 | ||
gocognit: | ||
min-complexity: 40 | ||
errcheck: | ||
# report about not checking of errors in type assertions: `a := b.(MyStruct)`; | ||
# default is false: such cases aren't reported by default. | ||
check-type-assertions: false | ||
|
||
# report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`; | ||
# default is false: such cases aren't reported by default. | ||
check-blank: false | ||
|
||
# [deprecated] comma-separated list of pairs of the form pkg:regex | ||
# the regex is used to ignore names within pkg. (default "fmt:.*"). | ||
# see https://github.com/kisielk/errcheck#the-deprecated-method for details | ||
ignore: "fmt:.*,os:.*,Close" | ||
|
||
linters: | ||
disable: | ||
- dupl | ||
- maligned | ||
- gochecknoglobals | ||
- gomnd | ||
- wsl | ||
- godox | ||
- gocyclo | ||
- interfacer | ||
- unconvert | ||
|
||
issues: | ||
exclude-rules: | ||
- path: _test\.go | ||
linters: | ||
- ineffassign | ||
- gocyclo | ||
- errcheck | ||
- dupl | ||
- gosec | ||
# List of regexps of issue texts to exclude, empty list by default. | ||
# But independently from this option we use default exclude patterns, | ||
# it can be disabled by `exclude-use-default: false`. To list all | ||
# excluded by default patterns execute `golangci-lint run --help` | ||
exclude: | ||
- should have comment or be unexported | ||
- S1000 | ||
- ST1000 | ||
- ST1003 | ||
- ST1020 | ||
- ST1021 | ||
- G304 | ||
- G402 |
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,10 @@ | ||
|
||
livy.install: | ||
wget -q -O tmp.zip http://ftp.kddilabs.jp/infosystems/apache/incubator/livy/0.7.0-incubating/apache-livy-0.7.0-incubating-bin.zip && unzip tmp.zip && rm -f tmp.zip | ||
|
||
livy.start: | ||
apache-livy-0.7.0-incubating-bin/bin/livy-server start | ||
|
||
livy.stop: | ||
apache-livy-0.7.0-incubating-bin/bin/livy-server stop | ||
|
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 +1,20 @@ | ||
# livy-go | ||
|
||
## Getting Started | ||
|
||
### Livy Setup | ||
|
||
1. livy install | ||
``` | ||
make livy.install | ||
``` | ||
|
||
2. livy start | ||
``` | ||
make livy.start | ||
``` | ||
|
||
3. livy stop | ||
``` | ||
make livy.stop | ||
``` |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.