content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
linters-settings:\n govet:\n check-shadowing: true\n golint:\n min-confidence: 0\n gocyclo:\n min-complexity: 45\n maligned:\n suggest-new: true\n dupl:\n threshold: 200\n goconst:\n min-len: 2\n min-occurrences: 3\n\nlinters:\n enable-all: true\n disable:\n - maligned\n - unparam\n - lll\n - gochecknoinits\n - gochecknoglobals\n - funlen\n - godox\n - gocognit\n - whitespace\n - wsl\n - wrapcheck\n - testpackage\n - nlreturn\n - gomnd\n - exhaustivestruct\n - goerr113\n - errorlint\n - nestif\n - godot\n - gofumpt\n - paralleltest\n - tparallel\n - thelper\n - ifshort\n - exhaustruct\n - varnamelen\n - gci\n - depguard\n - errchkjson\n - inamedparam\n - nonamedreturns\n - musttag\n - ireturn\n - forcetypeassert\n - cyclop\n # deprecated linters\n - deadcode\n - interfacer\n - scopelint\n - varcheck\n - structcheck\n - golint\n - nosnakecase\n
dataset_sample\yaml\grafana_loki\vendor\github.com\go-openapi\analysis\.golangci.yml
.golangci.yml
YAML
952
0.8
0
0.016667
awesome-app
512
2024-02-24T20:01:58.902759
BSD-3-Clause
false
5fa10422ff35ead3a43c944de0f814b8
linters-settings:\n govet:\n check-shadowing: true\n golint:\n min-confidence: 0\n gocyclo:\n min-complexity: 45\n maligned:\n suggest-new: true\n dupl:\n threshold: 200\n goconst:\n min-len: 2\n min-occurrences: 3\n\nlinters:\n enable-all: true\n disable:\n - errname # this repo doesn't follow the convention advised by this linter\n - maligned\n - unparam\n - lll\n - gochecknoinits\n - gochecknoglobals\n - funlen\n - godox\n - gocognit\n - whitespace\n - wsl\n - wrapcheck\n - testpackage\n - nlreturn\n - gomnd\n - exhaustivestruct\n - goerr113\n - errorlint\n - nestif\n - godot\n - gofumpt\n - paralleltest\n - tparallel\n - thelper\n - ifshort\n - exhaustruct\n - varnamelen\n - gci\n - depguard\n - errchkjson\n - inamedparam\n - nonamedreturns\n - musttag\n - ireturn\n - forcetypeassert\n - cyclop\n # deprecated linters\n - deadcode\n - interfacer\n - scopelint\n - varcheck\n - structcheck\n - golint\n - nosnakecase\n
dataset_sample\yaml\grafana_loki\vendor\github.com\go-openapi\errors\.golangci.yml
.golangci.yml
YAML
1,031
0.8
0
0.016393
vue-tools
853
2024-09-29T16:50:33.995398
Apache-2.0
false
4d34db0b15aa02398a89e08ed196d577
linters-settings:\n govet:\n check-shadowing: true\n golint:\n min-confidence: 0\n gocyclo:\n min-complexity: 45\n maligned:\n suggest-new: true\n dupl:\n threshold: 200\n goconst:\n min-len: 2\n min-occurrences: 3\n\nlinters:\n enable-all: true\n disable:\n - maligned\n - unparam\n - lll\n - gochecknoinits\n - gochecknoglobals\n - funlen\n - godox\n - gocognit\n - whitespace\n - wsl\n - wrapcheck\n - testpackage\n - nlreturn\n - gomnd\n - exhaustivestruct\n - goerr113\n - errorlint\n - nestif\n - godot\n - gofumpt\n - paralleltest\n - tparallel\n - thelper\n - ifshort\n - exhaustruct\n - varnamelen\n - gci\n - depguard\n - errchkjson\n - inamedparam\n - nonamedreturns\n - musttag\n - ireturn\n - forcetypeassert\n - cyclop\n # deprecated linters\n - deadcode\n - interfacer\n - scopelint\n - varcheck\n - structcheck\n - golint\n - nosnakecase\n
dataset_sample\yaml\grafana_loki\vendor\github.com\go-openapi\jsonpointer\.golangci.yml
.golangci.yml
YAML
952
0.8
0
0.016667
awesome-app
604
2024-07-28T05:20:58.606277
GPL-3.0
false
5fa10422ff35ead3a43c944de0f814b8
linters-settings:\n govet:\n check-shadowing: true\n golint:\n min-confidence: 0\n gocyclo:\n min-complexity: 45\n maligned:\n suggest-new: true\n dupl:\n threshold: 200\n goconst:\n min-len: 2\n min-occurrences: 3\n\nlinters:\n enable-all: true\n disable:\n - maligned\n - unparam\n - lll\n - gochecknoinits\n - gochecknoglobals\n - funlen\n - godox\n - gocognit\n - whitespace\n - wsl\n - wrapcheck\n - testpackage\n - nlreturn\n - gomnd\n - exhaustivestruct\n - goerr113\n - errorlint\n - nestif\n - godot\n - gofumpt\n - paralleltest\n - tparallel\n - thelper\n - ifshort\n - exhaustruct\n - varnamelen\n - gci\n - depguard\n - errchkjson\n - inamedparam\n - nonamedreturns\n - musttag\n - ireturn\n - forcetypeassert\n - cyclop\n # deprecated linters\n - deadcode\n - interfacer\n - scopelint\n - varcheck\n - structcheck\n - golint\n - nosnakecase\n
dataset_sample\yaml\grafana_loki\vendor\github.com\go-openapi\jsonreference\.golangci.yml
.golangci.yml
YAML
952
0.8
0
0.016667
awesome-app
700
2024-08-30T09:01:58.244121
MIT
false
5fa10422ff35ead3a43c944de0f814b8
linters-settings:\n govet:\n check-shadowing: true\n golint:\n min-confidence: 0\n gocyclo:\n min-complexity: 45\n maligned:\n suggest-new: true\n dupl:\n threshold: 200\n goconst:\n min-len: 2\n min-occurrences: 3\n\nlinters:\n enable-all: true\n disable:\n - maligned\n - unparam\n - lll\n - gochecknoinits\n - gochecknoglobals\n - funlen\n - godox\n - gocognit\n - whitespace\n - wsl\n - wrapcheck\n - testpackage\n - nlreturn\n - gomnd\n - exhaustivestruct\n - goerr113\n - errorlint\n - nestif\n - godot\n - gofumpt\n - paralleltest\n - tparallel\n - thelper\n - ifshort\n - exhaustruct\n - varnamelen\n - gci\n - depguard\n - errchkjson\n - inamedparam\n - nonamedreturns\n - musttag\n - ireturn\n - forcetypeassert\n - cyclop\n # deprecated linters\n - deadcode\n - interfacer\n - scopelint\n - varcheck\n - structcheck\n - golint\n - nosnakecase\n
dataset_sample\yaml\grafana_loki\vendor\github.com\go-openapi\loads\.golangci.yml
.golangci.yml
YAML
952
0.8
0
0.016667
node-utils
397
2024-12-30T12:33:13.549666
GPL-3.0
false
5fa10422ff35ead3a43c944de0f814b8
after_success:\n- bash <(curl -s https://codecov.io/bash)\ngo:\n- 1.16.x\n- 1.x\ninstall:\n- go get gotest.tools/gotestsum\nlanguage: go\narch:\n- amd64\n- ppc64le\njobs:\n include:\n # include linting job, but only for latest go version and amd64 arch\n - go: 1.x\n arch: amd64\n install:\n go get github.com/golangci/golangci-lint/cmd/golangci-lint\n script:\n - golangci-lint run --new-from-rev master\nnotifications:\n slack:\n secure: OxkPwVp35qBTUilgWC8xykSj+sGMcj0h8IIOKD+Rflx2schZVlFfdYdyVBM+s9OqeOfvtuvnR9v1Ye2rPKAvcjWdC4LpRGUsgmItZaI6Um8Aj6+K9udCw5qrtZVfOVmRu8LieH//XznWWKdOultUuniW0MLqw5+II87Gd00RWbCGi0hk0PykHe7uK+PDA2BEbqyZ2WKKYCvfB3j+0nrFOHScXqnh0V05l2E83J4+Sgy1fsPy+1WdX58ZlNBG333ibaC1FS79XvKSmTgKRkx3+YBo97u6ZtUmJa5WZjf2OdLG3KIckGWAv6R5xgxeU31N0Ng8L332w/Edpp2O/M2bZwdnKJ8hJQikXIAQbICbr+lTDzsoNzMdEIYcHpJ5hjPbiUl3Bmd+Jnsjf5McgAZDiWIfpCKZ29tPCEkVwRsOCqkyPRMNMzHHmoja495P5jR+ODS7+J8RFg5xgcnOgpP9D4Wlhztlf5WyZMpkLxTUD+bZq2SRf50HfHFXTkfq22zPl3d1eq0yrLwh/Z/fWKkfb6SyysROL8y6s8u3dpFX1YHSg0BR6i913h4aoZw9B2BG27cafLLTwKYsp2dFo1PWl4O6u9giFJIeqwloZHLKKrwh0cBFhB7RH0I58asxkZpCH6uWjJierahmHe7iS+E6i+9oCHkOZ59hmCYNimIs3hM=\nscript:\n- gotestsum -f short-verbose -- -race -timeout=20m -coverprofile=coverage.txt -covermode=atomic ./...\n
dataset_sample\yaml\grafana_loki\vendor\github.com\go-openapi\loads\.travis.yml
.travis.yml
YAML
1,237
0.8
0.04
0.04
awesome-app
19
2023-09-09T14:26:48.940114
MIT
false
819ed6e3adb0a645d1c5596f760ade94
linters-settings:\n govet:\n check-shadowing: true\n golint:\n min-confidence: 0\n gocyclo:\n min-complexity: 45\n maligned:\n suggest-new: true\n dupl:\n threshold: 200\n goconst:\n min-len: 2\n min-occurrences: 3\n\nlinters:\n enable-all: true\n disable:\n - maligned\n - unparam\n - lll\n - gochecknoinits\n - gochecknoglobals\n - funlen\n - godox\n - gocognit\n - whitespace\n - wsl\n - wrapcheck\n - testpackage\n - nlreturn\n - gomnd\n - exhaustivestruct\n - goerr113\n - errorlint\n - nestif\n - godot\n - gofumpt\n - paralleltest\n - tparallel\n - thelper\n - ifshort\n - exhaustruct\n - varnamelen\n - gci\n - depguard\n - errchkjson\n - inamedparam\n - nonamedreturns\n - musttag\n - ireturn\n - forcetypeassert\n - cyclop\n # deprecated linters\n - deadcode\n - interfacer\n - scopelint\n - varcheck\n - structcheck\n - golint\n - nosnakecase\n
dataset_sample\yaml\grafana_loki\vendor\github.com\go-openapi\spec\.golangci.yml
.golangci.yml
YAML
952
0.8
0
0.016667
python-kit
112
2025-06-08T06:49:14.702293
MIT
false
5fa10422ff35ead3a43c944de0f814b8
linters-settings:\n govet:\n check-shadowing: true\n golint:\n min-confidence: 0\n gocyclo:\n min-complexity: 45\n maligned:\n suggest-new: true\n dupl:\n threshold: 200\n goconst:\n min-len: 2\n min-occurrences: 3\n\nlinters:\n enable-all: true\n disable:\n - maligned\n - unparam\n - lll\n - gochecknoinits\n - gochecknoglobals\n - funlen\n - godox\n - gocognit\n - whitespace\n - wsl\n - wrapcheck\n - testpackage\n - nlreturn\n - gomnd\n - exhaustivestruct\n - goerr113\n - errorlint\n - nestif\n - godot\n - gofumpt\n - paralleltest\n - tparallel\n - thelper\n - ifshort\n - exhaustruct\n - varnamelen\n - gci\n - depguard\n - errchkjson\n - inamedparam\n - nonamedreturns\n - musttag\n - ireturn\n - forcetypeassert\n - cyclop\n # deprecated linters\n - deadcode\n - interfacer\n - scopelint\n - varcheck\n - structcheck\n - golint\n - nosnakecase\n
dataset_sample\yaml\grafana_loki\vendor\github.com\go-openapi\strfmt\.golangci.yml
.golangci.yml
YAML
952
0.8
0
0.016667
node-utils
165
2024-08-06T16:42:29.214502
BSD-3-Clause
false
5fa10422ff35ead3a43c944de0f814b8
linters-settings:\n govet:\n check-shadowing: true\n golint:\n min-confidence: 0\n gocyclo:\n min-complexity: 45\n maligned:\n suggest-new: true\n dupl:\n threshold: 200\n goconst:\n min-len: 3\n min-occurrences: 3\n\nlinters:\n enable-all: true\n disable:\n - maligned\n - lll\n - gochecknoinits\n - gochecknoglobals\n - funlen\n - godox\n - gocognit\n - whitespace\n - wsl\n - wrapcheck\n - testpackage\n - nlreturn\n - gomnd\n - exhaustivestruct\n - goerr113\n - errorlint\n - nestif\n - godot\n - gofumpt\n - paralleltest\n - tparallel\n - thelper\n - ifshort\n - exhaustruct\n - varnamelen\n - gci\n - depguard\n - errchkjson\n - inamedparam\n - nonamedreturns\n - musttag\n - ireturn\n - forcetypeassert\n - cyclop\n # deprecated linters\n - deadcode\n - interfacer\n - scopelint\n - varcheck\n - structcheck\n - golint\n - nosnakecase\n
dataset_sample\yaml\grafana_loki\vendor\github.com\go-openapi\swag\.golangci.yml
.golangci.yml
YAML
938
0.8
0
0.016949
node-utils
961
2025-03-09T18:47:49.802777
Apache-2.0
false
dcda4b54bcc479ea779a67ad36b2e017
linters-settings:\n govet:\n check-shadowing: true\n golint:\n min-confidence: 0\n gocyclo:\n min-complexity: 45\n maligned:\n suggest-new: true\n dupl:\n threshold: 200\n goconst:\n min-len: 2\n min-occurrences: 3\n\nlinters:\n enable-all: true\n disable:\n - maligned\n - unparam\n - lll\n - gochecknoinits\n - gochecknoglobals\n - funlen\n - godox\n - gocognit\n - whitespace\n - wsl\n - wrapcheck\n - testpackage\n - nlreturn\n - gomnd\n - exhaustivestruct\n - goerr113\n - errorlint\n - nestif\n - godot\n - gofumpt\n - paralleltest\n - tparallel\n - thelper\n - ifshort\n - exhaustruct\n - varnamelen\n - gci\n - depguard\n - errchkjson\n - inamedparam\n - nonamedreturns\n - musttag\n - ireturn\n - forcetypeassert\n - cyclop\n # deprecated linters\n - deadcode\n - interfacer\n - scopelint\n - varcheck\n - structcheck\n - golint\n - nosnakecase\n
dataset_sample\yaml\grafana_loki\vendor\github.com\go-openapi\validate\.golangci.yml
.golangci.yml
YAML
952
0.8
0
0.016667
vue-tools
557
2024-03-11T03:07:37.280491
BSD-3-Clause
false
5fa10422ff35ead3a43c944de0f814b8
language: go\ngo:\n - 1.13.1\n - tip\nmatrix:\n allow_failures:\n - go: tip\n\nnotifications:\n email:\n recipients: dean.karn@gmail.com\n on_success: change\n on_failure: always\n\nbefore_install:\n - go install github.com/mattn/goveralls\n\n# Only clone the most recent commit.\ngit:\n depth: 1\n\nscript:\n - go test -v -race -covermode=atomic -coverprofile=coverage.coverprofile ./...\n\nafter_success: |\n goveralls -coverprofile=coverage.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN
dataset_sample\yaml\grafana_loki\vendor\github.com\go-playground\locales\.travis.yml
.travis.yml
YAML
498
0.8
0
0.047619
python-kit
602
2025-04-15T17:37:56.423273
Apache-2.0
false
55991604a36d2c5ac90ee359c6ead5f0
language: go\ngo:\n - 1.13.4\n - tip\nmatrix:\n allow_failures:\n - go: tip\n\nnotifications:\n email:\n recipients: dean.karn@gmail.com\n on_success: change\n on_failure: always\n\nbefore_install:\n - go install github.com/mattn/goveralls\n\n# Only clone the most recent commit.\ngit:\n depth: 1\n\nscript:\n - go test -v -race -covermode=atomic -coverprofile=coverage.coverprofile ./...\n\nafter_success: |\n [ $TRAVIS_GO_VERSION = 1.13.4 ] &&\n goveralls -coverprofile=coverage.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN
dataset_sample\yaml\grafana_loki\vendor\github.com\go-playground\universal-translator\.travis.yml
.travis.yml
YAML
535
0.8
0
0.045455
vue-tools
764
2023-09-02T06:07:49.797477
GPL-3.0
false
f480179e085c8b2d17003053266f100c
variables:\n GOCACHE: $CI_PROJECT_DIR/.go-build\n\ncache:\n key: "$CI_PROJECT_PATH $CI_BUILD_REF_NAME"\n paths:\n - .go-build\n\nimage: registry.furqansoftware.net/cardboard/golang:1.21.5-bullseye-0\n\nstages:\n - lint\n - build\n - test\n\nlint:\n stage: lint\n script:\n - go install honnef.co/go/tools/cmd/staticcheck@2023.1.5\n - staticcheck ./...\n\nbuild:\n stage: build\n script:\n - go build ./...\n\ntest:build:\n stage: test\n needs:\n - build\n script:\n - make test.build\n artifacts:\n expire_in: 3 hours\n paths:\n - test.out/*\n\ntest:run:\n image: redis:7.2.3\n stage: test\n needs:\n - test:build\n dependencies:\n - test:build\n script:\n - |\n for f in test.out/*; do\n chmod +x $f\n ./$f -test.v\n done\n
dataset_sample\yaml\grafana_loki\vendor\github.com\go-redsync\redsync\v4\.gitlab-ci.yml
.gitlab-ci.yml
YAML
755
0.8
0.02
0
react-lib
736
2023-11-14T11:59:02.549662
MIT
false
7d40b4f6b41d9fced7333d83abf95069
---\nlanguage: go\n\ngo:\n - "1.15"\n - "1.16"\n\nenv:\n global:\n - GO111MODULE=on\n\nservices:\n - redis-server\n
dataset_sample\yaml\grafana_loki\vendor\github.com\go-redsync\redsync\v4\.travis.yml
.travis.yml
YAML
109
0.7
0
0
vue-tools
254
2025-02-17T22:07:14.724576
BSD-3-Clause
false
d855c0c7ad830abbba1134b965558ed0
codecov:\n require_ci_to_pass: yes\n\ncoverage:\n precision: 2\n round: down\n range: "70...100"\n\n status:\n project:\n default:\n target: 70%\n threshold: 2%\n patch: off\n changes: no\n\nparsers:\n gcov:\n branch_detection:\n conditional: yes\n loop: yes\n method: no\n macro: no\n\ncomment:\n layout: "header,diff"\n behavior: default\n require_changes: no\n\nignore:\n - internal/encoder/vm_color\n - internal/encoder/vm_color_indent\n
dataset_sample\yaml\grafana_loki\vendor\github.com\goccy\go-json\.codecov.yml
.codecov.yml
YAML
471
0.85
0
0
awesome-app
196
2024-12-14T20:41:01.114346
BSD-3-Clause
false
d80d5435ab466e992b9a01b0efe5703e
run:\n skip-files:\n - encode_optype.go\n - ".*_test\\.go$"\n\nlinters-settings:\n govet:\n enable-all: true\n disable:\n - shadow\n\nlinters:\n enable-all: true\n disable:\n - dogsled\n - dupl\n - exhaustive\n - exhaustivestruct\n - errorlint\n - forbidigo\n - funlen\n - gci\n - gochecknoglobals\n - gochecknoinits\n - gocognit\n - gocritic\n - gocyclo\n - godot\n - godox\n - goerr113\n - gofumpt\n - gomnd\n - gosec\n - ifshort\n - lll\n - makezero\n - nakedret\n - nestif\n - nlreturn\n - paralleltest\n - testpackage\n - thelper\n - wrapcheck\n - interfacer\n - lll\n - nakedret\n - nestif\n - nlreturn\n - testpackage\n - wsl\n - varnamelen\n - nilnil\n - ireturn\n - govet\n - forcetypeassert\n - cyclop\n - containedctx\n - revive\n - nosnakecase\n - exhaustruct\n - depguard\n\nissues:\n exclude-rules:\n # not needed\n - path: /*.go\n text: "ST1003: should not use underscores in package names"\n linters:\n - stylecheck\n - path: /*.go\n text: "don't use an underscore in package name"\n linters:\n - golint\n - path: rtype.go\n linters:\n - golint\n - stylecheck\n - path: error.go\n linters:\n - staticcheck\n\n # Maximum issues count per one linter. Set to 0 to disable. Default is 50.\n max-issues-per-linter: 0\n\n # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.\n max-same-issues: 0\n
dataset_sample\yaml\grafana_loki\vendor\github.com\goccy\go-json\.golangci.yml
.golangci.yml
YAML
1,496
0.8
0
0.037037
node-utils
362
2024-11-23T22:36:32.259640
BSD-3-Clause
false
05f3a21e1a4d63a0652c4b671a26256b
version: '2'\nservices:\n go-json:\n image: golang:1.18\n volumes:\n - '.:/go/src/go-json'\n deploy:\n resources:\n limits:\n memory: 620M\n working_dir: /go/src/go-json\n command: |\n sh -c "go test -c . && ls go-json.test"\n
dataset_sample\yaml\grafana_loki\vendor\github.com\goccy\go-json\docker-compose.yml
docker-compose.yml
YAML
260
0.7
0
0
vue-tools
979
2024-02-29T22:01:03.364197
BSD-3-Clause
false
d420c19bde7fc2e766c2432b66ec4e51
language: go\n\nsudo: required\ndist: trusty\n\ncache:\n directories:\n - $HOME/.ccm/repository\n - $HOME/.local/lib/python2.7\n\nmatrix:\n fast_finish: true\n\nbranches:\n only:\n - master\n\nenv:\n global:\n - GOMAXPROCS=2\n matrix:\n - CASS=2.1.21\n AUTH=true\n - CASS=2.2.14\n AUTH=true\n - CASS=2.2.14\n AUTH=false\n - CASS=3.0.18\n AUTH=false\n - CASS=3.11.4\n AUTH=false\n\ngo:\n - 1.12.x\n - 1.13.x\n\ninstall:\n - ./install_test_deps.sh $TRAVIS_REPO_SLUG\n - cd ../..\n - cd gocql/gocql\n - go get .\n\nscript:\n - set -e\n - PATH=$PATH:$HOME/.local/bin bash integration.sh $CASS $AUTH\n - go vet .\n\nnotifications:\n - email: false\n
dataset_sample\yaml\grafana_loki\vendor\github.com\gocql\gocql\.travis.yml
.travis.yml
YAML
662
0.85
0
0
awesome-app
400
2024-08-08T22:13:30.320072
Apache-2.0
false
64cf1973a314d304a2e2007c550d81b8
language: go\ngo:\n - 1.14.x\n - 1.15.x\nscript: go test -v -check.vv -race ./...\nsudo: false\nnotifications:\n email:\n on_success: never\n on_failure: always\n
dataset_sample\yaml\grafana_loki\vendor\github.com\gofrs\flock\.travis.yml
.travis.yml
YAML
161
0.7
0
0
react-lib
974
2024-10-12T15:59:23.317877
MIT
false
c997ccdfefc5f5eeaa35ffe6db8e2ba4
version: '{build}'\n\nbuild: false\ndeploy: false\n\nclone_folder: 'c:\gopath\src\github.com\gofrs\flock'\n\nenvironment:\n GOPATH: 'c:\gopath'\n GOVERSION: '1.15'\n\ninit:\n - git config --global core.autocrlf input\n\ninstall:\n - rmdir c:\go /s /q\n - appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi\n - msiexec /i go%GOVERSION%.windows-amd64.msi /q\n - set Path=c:\go\bin;c:\gopath\bin;%Path%\n - go version\n - go env\n\ntest_script:\n - go get -t ./...\n - go test -race -v ./...\n
dataset_sample\yaml\grafana_loki\vendor\github.com\gofrs\flock\appveyor.yml
appveyor.yml
YAML
517
0.8
0
0
vue-tools
510
2024-04-26T21:53:25.375440
BSD-3-Clause
false
c151a5775e3ac96bfa13eaf7cd746706
# Full list of configuration options: https://golangci-lint.run/usage/configuration/\n\nrun:\n timeout: 10m\n\noutput:\n sort-results: true\n\nlinters:\n enable:\n - errcheck # Report unchecked errors\n - goconst # Find repeated strings that could be replaced by constant\n - gofmt # Check whether code was gofmt-ed\n - goimports # Check imports were formatted with gofmt\n - revive # Broad set of rules; replaces deprecated golint\n - gosimple # Check whether code can be simplified\n - ineffassign # Detect when assignment to variable is never used\n - misspell # Report on commonly misspelled English words\n - unconvert # Remove unnecessary type conversions\n - unparam # Detect unused function parameters\n - govet # `go vet`\n - unused # Detect unused constants/variables/functions/types\n - typecheck # Ensure code typechecks\n - makezero # Detect misuse of make with non-zero length and append\n - tenv # Use testing.(*T).Setenv instead of os.Setenv\n - whitespace # Report unnecessary blank lines\n\nissues:\n # We want to use our own exclusion rules and ignore all the defaults.\n exclude-use-default: false\n\n exclude-rules:\n # It's fine if tests ignore errors.\n - path: _test.go\n linters:\n - errcheck\n\n exclude:\n # Ignoring errors on Close, Log, and removing files is OK in most cases.\n - "Error return value of `(.*\\.Close|.*\\.Log|os.Remove)` is not checked"\n\n# Linter settings options: https://golangci-lint.run/usage/linters/\nlinters-settings:\n whitespace:\n # While there normally shouldn't be extra redundant leading/trailing\n # whitespace, if statement conditions and function headers that cross\n # multiple lines are an exception.\n #\n # if true ||\n # false {\n #\n # // ... ^ must have empty line above\n # }\n #\n # func foo(\n # a int,\n # ) {\n #\n # // ... ^ must have empty line above\n # }\n #\n # This helps readers easily separate where the multi-line if/function ends\n # at a glance.\n multi-if: true\n multi-func: true\n\n revive:\n rules:\n - name: package-comments\n disabled: true\n
dataset_sample\yaml\grafana_loki\vendor\github.com\grafana\ckit\.golangci.yml
.golangci.yml
YAML
2,206
0.95
0.114286
0.387097
vue-tools
862
2024-06-19T07:58:44.720294
MIT
false
4af174e1f570ab25c9c8551a00425d4d
language: go\narch:\n - amd64\n - ppc64le\ngo:\n - 1.13.x\n - 1.14.x\n - 1.15.x\n - 1.16.x\n - 1.17.x\n - 1.18.x\nscript: go test -v ./.\n
dataset_sample\yaml\grafana_loki\vendor\github.com\grafana\jsonparser\.travis.yml
.travis.yml
YAML
150
0.7
0
0
node-utils
520
2023-11-16T17:13:44.026621
Apache-2.0
false
3beb111b9e37847aa0aa36bf3fcbcfd3
language: go\n\nscript:\n - go test -race -v ./...\n\ngo:\n - 1.5\n - 1.6\n - 1.7\n - 1.8\n - tip\n\nmatrix:\n allow_failures:\n - go: tip\n\ninstall:\n - go get gopkg.in/fsnotify/fsnotify.v1\n - go get gopkg.in/tomb.v1\n
dataset_sample\yaml\grafana_loki\vendor\github.com\grafana\tail\.travis.yml
.travis.yml
YAML
214
0.7
0
0
python-kit
513
2024-11-20T09:56:15.334852
BSD-3-Clause
false
3dc91268adb2067986b45675686e356f
version: 0.{build}\nskip_tags: true\ncache: C:\Users\appveyor\AppData\Local\NuGet\Cache\nbuild_script:\n- SET GOPATH=c:\workspace\n- go test -v -race ./...\ntest: off\nclone_folder: c:\workspace\src\github.com\hpcloud\tail\nbranches:\n only:\n - master\n
dataset_sample\yaml\grafana_loki\vendor\github.com\grafana\tail\appveyor.yml
appveyor.yml
YAML
245
0.7
0
0
node-utils
727
2024-04-02T02:28:57.052371
MIT
false
8e0ae73fab42cbd158828d308053e47a
sudo: false\n\nlanguage: go\n\ngo:\n - 1.6\n\nbranches:\n only:\n - master\n\nscript: make test\n
dataset_sample\yaml\grafana_loki\vendor\github.com\hashicorp\go-rootcerts\.travis.yml
.travis.yml
YAML
90
0.5
0
0
vue-tools
65
2024-03-03T02:12:38.153617
BSD-3-Clause
false
595c86674ff8afcd05659ee8563ff31c
language: go\n\nsudo: false\n\ngo:\n - 1.4\n - 1.5\n - 1.6\n - tip\n\nscript:\n - go test -bench . -benchmem -v ./...\n
dataset_sample\yaml\grafana_loki\vendor\github.com\hashicorp\go-uuid\.travis.yml
.travis.yml
YAML
112
0.7
0
0
vue-tools
820
2024-06-19T16:45:45.810997
BSD-3-Clause
false
1b90bab49360827f546b034ede7bfd41
# Copyright (c) HashiCorp, Inc.\n# SPDX-License-Identifier: MPL-2.0\n\nlinters:\n fast: false\n disable-all: true\n enable:\n - revive\n - megacheck\n - govet\n - unconvert\n - gas\n - gocyclo\n - dupl\n - misspell\n - unparam\n - unused\n - typecheck\n - ineffassign\n # - stylecheck\n - exportloopref\n - gocritic\n - nakedret\n - gosimple\n - prealloc\n\n# golangci-lint configuration file\nlinters-settings:\n revive:\n ignore-generated-header: true\n severity: warning\n rules:\n - name: package-comments\n severity: warning\n disabled: true\n - name: exported\n severity: warning\n disabled: false\n arguments: ["checkPrivateReceivers", "disableStutteringCheck"]\n\nissues:\n exclude-use-default: false\n exclude-rules:\n - path: _test\.go\n linters:\n - dupl\n
dataset_sample\yaml\grafana_loki\vendor\github.com\hashicorp\golang-lru\v2\.golangci.yml
.golangci.yml
YAML
850
0.8
0
0.093023
react-lib
69
2023-10-24T20:12:50.361969
GPL-3.0
false
5b46862a5b1a01e581c16be258172ba9
# yaml-language-server: $schema=https://golangci-lint.run/jsonschema/golangci.jsonschema.json\nrun:\n timeout: 5m\n\nlinters-settings:\n govet:\n enable-all: true\n disable:\n - fieldalignment\n - shadow\n gocyclo:\n min-complexity: 99\n dupl:\n threshold: 100\n goconst:\n min-len: 2\n min-occurrences: 3\n misspell:\n locale: US\n goimports:\n local-prefixes: github.com/IBM/sarama\n gocritic:\n enabled-tags:\n - diagnostic\n - performance\n # - experimental\n # - opinionated\n # - style\n enabled-checks:\n - importShadow\n - nestingReduce\n - stringsCompare\n # - unnamedResult\n # - whyNoLint\n disabled-checks:\n - assignOp\n - appendAssign\n - commentedOutCode\n - hugeParam\n - ifElseChain\n - singleCaseSwitch\n - sloppyReassign\n funlen:\n lines: 300\n statements: 300\n\n depguard:\n rules:\n main:\n deny:\n - pkg: "io/ioutil"\n desc: Use the "io" and "os" packages instead.\n\nlinters:\n disable-all: true\n enable:\n - bodyclose\n - depguard\n # - copyloopvar\n - dogsled\n - errcheck\n - errorlint\n - funlen\n - gochecknoinits\n - gocritic\n - gocyclo\n - gofmt\n - goimports\n - gosec\n - govet\n - misspell\n - nilerr\n - typecheck\n - unconvert\n - unused\n - whitespace\n\nissues:\n exclude:\n - "G115: integer overflow conversion"\n - "G404: Use of weak random number generator"\n exclude-rules:\n # exclude some linters from running on certains files.\n - path: functional.*_test\.go\n linters:\n - paralleltest\n # maximum count of issues with the same text. set to 0 for unlimited. default is 3.\n max-same-issues: 0\n
dataset_sample\yaml\grafana_loki\vendor\github.com\IBM\sarama\.golangci.yml
.golangci.yml
YAML
1,725
0.95
0.011364
0.107143
react-lib
857
2023-11-28T21:13:43.184067
GPL-3.0
false
e3e96cc244835909c7fa4c7b37f72549
name: sarama\n\nup:\n - go:\n version: '1.17.6'\n\ncommands:\n test:\n run: make test\n desc: 'run unit tests'\n
dataset_sample\yaml\grafana_loki\vendor\github.com\IBM\sarama\dev.yml
dev.yml
YAML
115
0.7
0
0
awesome-app
663
2025-06-07T23:09:43.462592
GPL-3.0
false
28004ed4de927e35da09efcc8fa19a29
services:\n zookeeper-1:\n container_name: 'zookeeper-1'\n image: 'docker.io/library/zookeeper:3.7.2'\n init: true\n restart: always\n environment:\n ZOO_MY_ID: '1'\n ZOO_SERVERS: 'server.1=zookeeper-1:2888:3888 server.2=zookeeper-2:2888:3888 server.3=zookeeper-3:2888:3888'\n ZOO_CFG_EXTRA: 'clientPort=2181 peerPort=2888 leaderPort=3888'\n ZOO_INIT_LIMIT: '10'\n ZOO_SYNC_LIMIT: '5'\n ZOO_MAX_CLIENT_CNXNS: '0'\n ZOO_4LW_COMMANDS_WHITELIST: 'mntr,conf,ruok'\n zookeeper-2:\n container_name: 'zookeeper-2'\n image: 'docker.io/library/zookeeper:3.7.2'\n init: true\n restart: always\n environment:\n ZOO_MY_ID: '2'\n ZOO_SERVERS: 'server.1=zookeeper-1:2888:3888 server.2=zookeeper-2:2888:3888 server.3=zookeeper-3:2888:3888'\n ZOO_CFG_EXTRA: 'clientPort=2181 peerPort=2888 leaderPort=3888'\n ZOO_INIT_LIMIT: '10'\n ZOO_SYNC_LIMIT: '5'\n ZOO_MAX_CLIENT_CNXNS: '0'\n ZOO_4LW_COMMANDS_WHITELIST: 'mntr,conf,ruok'\n zookeeper-3:\n container_name: 'zookeeper-3'\n image: 'docker.io/library/zookeeper:3.7.2'\n init: true\n restart: always\n environment:\n ZOO_MY_ID: '3'\n ZOO_SERVERS: 'server.1=zookeeper-1:2888:3888 server.2=zookeeper-2:2888:3888 server.3=zookeeper-3:2888:3888'\n ZOO_CFG_EXTRA: 'clientPort=2181 peerPort=2888 leaderPort=3888'\n ZOO_INIT_LIMIT: '10'\n ZOO_SYNC_LIMIT: '5'\n ZOO_MAX_CLIENT_CNXNS: '0'\n ZOO_4LW_COMMANDS_WHITELIST: 'mntr,conf,ruok'\n kafka-1:\n container_name: 'kafka-1'\n image: 'sarama/fv-kafka-${KAFKA_VERSION:-3.6.2}'\n init: true\n build:\n context: .\n dockerfile: Dockerfile.kafka\n args:\n KAFKA_VERSION: ${KAFKA_VERSION:-3.6.2}\n SCALA_VERSION: ${SCALA_VERSION:-2.13}\n healthcheck:\n test:\n [\n 'CMD',\n '/opt/kafka-${KAFKA_VERSION:-3.6.2}/bin/kafka-broker-api-versions.sh',\n '--bootstrap-server',\n 'kafka-1:9091',\n ]\n interval: 15s\n timeout: 15s\n retries: 10\n start_period: 360s\n depends_on:\n - zookeeper-1\n - zookeeper-2\n - zookeeper-3\n - toxiproxy\n restart: always\n environment:\n KAFKA_VERSION: ${KAFKA_VERSION:-3.6.2}\n KAFKA_CFG_ZOOKEEPER_CONNECT: 'zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181'\n KAFKA_CFG_LISTENERS: 'LISTENER_INTERNAL://:9091,LISTENER_LOCAL://:29091'\n KAFKA_CFG_ADVERTISED_LISTENERS: 'LISTENER_INTERNAL://kafka-1:9091,LISTENER_LOCAL://localhost:29091'\n KAFKA_CFG_INTER_BROKER_LISTENER_NAME: 'LISTENER_INTERNAL'\n KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: 'LISTENER_INTERNAL:PLAINTEXT,LISTENER_LOCAL:PLAINTEXT'\n KAFKA_CFG_DEFAULT_REPLICATION_FACTOR: '2'\n KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: '2'\n KAFKA_CFG_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: '2'\n KAFKA_CFG_BROKER_ID: '1'\n KAFKA_CFG_BROKER_RACK: '1'\n KAFKA_CFG_ZOOKEEPER_SESSION_TIMEOUT_MS: '6000'\n KAFKA_CFG_ZOOKEEPER_CONNECTION_TIMEOUT_MS: '6000'\n KAFKA_CFG_REPLICA_SELECTOR_CLASS: 'org.apache.kafka.common.replica.RackAwareReplicaSelector'\n KAFKA_CFG_DELETE_TOPIC_ENABLE: 'true'\n KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: 'false'\n KAFKA_CFG_GROUP_INITIAL_REBALANCE_DELAY_MS: 0\n KAFKA_JVM_PERFORMANCE_OPTS: "-XX:+IgnoreUnrecognizedVMOptions"\n kafka-2:\n container_name: 'kafka-2'\n image: 'sarama/fv-kafka-${KAFKA_VERSION:-3.6.2}'\n init: true\n build:\n context: .\n dockerfile: Dockerfile.kafka\n args:\n KAFKA_VERSION: ${KAFKA_VERSION:-3.6.2}\n SCALA_VERSION: ${SCALA_VERSION:-2.13}\n healthcheck:\n test:\n [\n 'CMD',\n '/opt/kafka-${KAFKA_VERSION:-3.6.2}/bin/kafka-broker-api-versions.sh',\n '--bootstrap-server',\n 'kafka-2:9091',\n ]\n interval: 15s\n timeout: 15s\n retries: 10\n start_period: 360s\n depends_on:\n - zookeeper-1\n - zookeeper-2\n - zookeeper-3\n - toxiproxy\n restart: always\n environment:\n KAFKA_VERSION: ${KAFKA_VERSION:-3.6.2}\n KAFKA_CFG_ZOOKEEPER_CONNECT: 'zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181'\n KAFKA_CFG_LISTENERS: 'LISTENER_INTERNAL://:9091,LISTENER_LOCAL://:29092'\n KAFKA_CFG_ADVERTISED_LISTENERS: 'LISTENER_INTERNAL://kafka-2:9091,LISTENER_LOCAL://localhost:29092'\n KAFKA_CFG_INTER_BROKER_LISTENER_NAME: 'LISTENER_INTERNAL'\n KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: 'LISTENER_INTERNAL:PLAINTEXT,LISTENER_LOCAL:PLAINTEXT'\n KAFKA_CFG_DEFAULT_REPLICATION_FACTOR: '2'\n KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: '2'\n KAFKA_CFG_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: '2'\n KAFKA_CFG_BROKER_ID: '2'\n KAFKA_CFG_BROKER_RACK: '2'\n KAFKA_CFG_ZOOKEEPER_SESSION_TIMEOUT_MS: '6000'\n KAFKA_CFG_ZOOKEEPER_CONNECTION_TIMEOUT_MS: '6000'\n KAFKA_CFG_REPLICA_SELECTOR_CLASS: 'org.apache.kafka.common.replica.RackAwareReplicaSelector'\n KAFKA_CFG_DELETE_TOPIC_ENABLE: 'true'\n KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: 'false'\n KAFKA_CFG_GROUP_INITIAL_REBALANCE_DELAY_MS: 0\n KAFKA_JVM_PERFORMANCE_OPTS: "-XX:+IgnoreUnrecognizedVMOptions"\n kafka-3:\n container_name: 'kafka-3'\n image: 'sarama/fv-kafka-${KAFKA_VERSION:-3.6.2}'\n init: true\n build:\n context: .\n dockerfile: Dockerfile.kafka\n args:\n KAFKA_VERSION: ${KAFKA_VERSION:-3.6.2}\n SCALA_VERSION: ${SCALA_VERSION:-2.13}\n healthcheck:\n test:\n [\n 'CMD',\n '/opt/kafka-${KAFKA_VERSION:-3.6.2}/bin/kafka-broker-api-versions.sh',\n '--bootstrap-server',\n 'kafka-3:9091',\n ]\n interval: 15s\n timeout: 15s\n retries: 10\n start_period: 360s\n depends_on:\n - zookeeper-1\n - zookeeper-2\n - zookeeper-3\n - toxiproxy\n restart: always\n environment:\n KAFKA_VERSION: ${KAFKA_VERSION:-3.6.2}\n KAFKA_CFG_ZOOKEEPER_CONNECT: 'zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181'\n KAFKA_CFG_LISTENERS: 'LISTENER_INTERNAL://:9091,LISTENER_LOCAL://:29093'\n KAFKA_CFG_ADVERTISED_LISTENERS: 'LISTENER_INTERNAL://kafka-3:9091,LISTENER_LOCAL://localhost:29093'\n KAFKA_CFG_INTER_BROKER_LISTENER_NAME: 'LISTENER_INTERNAL'\n KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: 'LISTENER_INTERNAL:PLAINTEXT,LISTENER_LOCAL:PLAINTEXT'\n KAFKA_CFG_DEFAULT_REPLICATION_FACTOR: '2'\n KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: '2'\n KAFKA_CFG_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: '2'\n KAFKA_CFG_BROKER_ID: '3'\n KAFKA_CFG_BROKER_RACK: '3'\n KAFKA_CFG_ZOOKEEPER_SESSION_TIMEOUT_MS: '6000'\n KAFKA_CFG_ZOOKEEPER_CONNECTION_TIMEOUT_MS: '6000'\n KAFKA_CFG_REPLICA_SELECTOR_CLASS: 'org.apache.kafka.common.replica.RackAwareReplicaSelector'\n KAFKA_CFG_DELETE_TOPIC_ENABLE: 'true'\n KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: 'false'\n KAFKA_CFG_GROUP_INITIAL_REBALANCE_DELAY_MS: 0\n KAFKA_JVM_PERFORMANCE_OPTS: "-XX:+IgnoreUnrecognizedVMOptions"\n kafka-4:\n container_name: 'kafka-4'\n image: 'sarama/fv-kafka-${KAFKA_VERSION:-3.6.2}'\n init: true\n build:\n context: .\n dockerfile: Dockerfile.kafka\n args:\n KAFKA_VERSION: ${KAFKA_VERSION:-3.6.2}\n SCALA_VERSION: ${SCALA_VERSION:-2.13}\n healthcheck:\n test:\n [\n 'CMD',\n '/opt/kafka-${KAFKA_VERSION:-3.6.2}/bin/kafka-broker-api-versions.sh',\n '--bootstrap-server',\n 'kafka-4:9091',\n ]\n interval: 15s\n timeout: 15s\n retries: 10\n start_period: 360s\n depends_on:\n - zookeeper-1\n - zookeeper-2\n - zookeeper-3\n - toxiproxy\n restart: always\n environment:\n KAFKA_VERSION: ${KAFKA_VERSION:-3.6.2}\n KAFKA_CFG_ZOOKEEPER_CONNECT: 'zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181'\n KAFKA_CFG_LISTENERS: 'LISTENER_INTERNAL://:9091,LISTENER_LOCAL://:29094'\n KAFKA_CFG_ADVERTISED_LISTENERS: 'LISTENER_INTERNAL://kafka-4:9091,LISTENER_LOCAL://localhost:29094'\n KAFKA_CFG_INTER_BROKER_LISTENER_NAME: 'LISTENER_INTERNAL'\n KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: 'LISTENER_INTERNAL:PLAINTEXT,LISTENER_LOCAL:PLAINTEXT'\n KAFKA_CFG_DEFAULT_REPLICATION_FACTOR: '2'\n KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: '2'\n KAFKA_CFG_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: '2'\n KAFKA_CFG_BROKER_ID: '4'\n KAFKA_CFG_BROKER_RACK: '4'\n KAFKA_CFG_ZOOKEEPER_SESSION_TIMEOUT_MS: '6000'\n KAFKA_CFG_ZOOKEEPER_CONNECTION_TIMEOUT_MS: '6000'\n KAFKA_CFG_REPLICA_SELECTOR_CLASS: 'org.apache.kafka.common.replica.RackAwareReplicaSelector'\n KAFKA_CFG_DELETE_TOPIC_ENABLE: 'true'\n KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: 'false'\n KAFKA_CFG_GROUP_INITIAL_REBALANCE_DELAY_MS: 0\n KAFKA_JVM_PERFORMANCE_OPTS: "-XX:+IgnoreUnrecognizedVMOptions"\n kafka-5:\n container_name: 'kafka-5'\n image: 'sarama/fv-kafka-${KAFKA_VERSION:-3.6.2}'\n init: true\n build:\n context: .\n dockerfile: Dockerfile.kafka\n args:\n KAFKA_VERSION: ${KAFKA_VERSION:-3.6.2}\n SCALA_VERSION: ${SCALA_VERSION:-2.13}\n healthcheck:\n test:\n [\n 'CMD',\n '/opt/kafka-${KAFKA_VERSION:-3.6.2}/bin/kafka-broker-api-versions.sh',\n '--bootstrap-server',\n 'kafka-5:9091',\n ]\n interval: 15s\n timeout: 15s\n retries: 10\n start_period: 360s\n depends_on:\n - zookeeper-1\n - zookeeper-2\n - zookeeper-3\n - toxiproxy\n restart: always\n environment:\n KAFKA_VERSION: ${KAFKA_VERSION:-3.6.2}\n KAFKA_CFG_ZOOKEEPER_CONNECT: 'zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181'\n KAFKA_CFG_LISTENERS: 'LISTENER_INTERNAL://:9091,LISTENER_LOCAL://:29095'\n KAFKA_CFG_ADVERTISED_LISTENERS: 'LISTENER_INTERNAL://kafka-5:9091,LISTENER_LOCAL://localhost:29095'\n KAFKA_CFG_INTER_BROKER_LISTENER_NAME: 'LISTENER_INTERNAL'\n KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: 'LISTENER_INTERNAL:PLAINTEXT,LISTENER_LOCAL:PLAINTEXT'\n KAFKA_CFG_DEFAULT_REPLICATION_FACTOR: '2'\n KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: '2'\n KAFKA_CFG_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: '2'\n KAFKA_CFG_BROKER_ID: '5'\n KAFKA_CFG_BROKER_RACK: '5'\n KAFKA_CFG_ZOOKEEPER_SESSION_TIMEOUT_MS: '6000'\n KAFKA_CFG_ZOOKEEPER_CONNECTION_TIMEOUT_MS: '6000'\n KAFKA_CFG_REPLICA_SELECTOR_CLASS: 'org.apache.kafka.common.replica.RackAwareReplicaSelector'\n KAFKA_CFG_DELETE_TOPIC_ENABLE: 'true'\n KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: 'false'\n KAFKA_CFG_GROUP_INITIAL_REBALANCE_DELAY_MS: 0\n KAFKA_JVM_PERFORMANCE_OPTS: "-XX:+IgnoreUnrecognizedVMOptions"\n toxiproxy:\n container_name: 'toxiproxy'\n image: 'ghcr.io/shopify/toxiproxy:2.4.0'\n init: true\n healthcheck:\n test: ['CMD', '/toxiproxy-cli', 'l']\n interval: 15s\n timeout: 15s\n retries: 3\n start_period: 30s\n ports:\n # The tests themselves actually start the proxies on these ports\n - '29091:29091'\n - '29092:29092'\n - '29093:29093'\n - '29094:29094'\n - '29095:29095'\n\n # This is the toxiproxy API port\n - '8474:8474'\n
dataset_sample\yaml\grafana_loki\vendor\github.com\IBM\sarama\docker-compose.yml
docker-compose.yml
YAML
11,131
0.8
0
0.006803
awesome-app
679
2023-08-17T02:58:53.609420
GPL-3.0
false
395c823202b9b4f97194c5e67269dcb6
linters:\n disable-all: true\n enable:\n - asasalint\n - asciicheck\n - bidichk\n - bodyclose\n - copyloopvar\n - depguard\n - dogsled\n - errcheck\n - errname\n - errorlint\n - gci\n - gocheckcompilerdirectives\n - gocritic\n - goprintffuncname\n - gosec\n - gosimple\n - govet\n - ineffassign\n - interfacebloat\n - lll\n - makezero\n - mirror\n - nakedret\n - nilerr\n - nolintlint\n - perfsprint\n - prealloc\n - predeclared\n - revive\n - sqlclosecheck\n - staticcheck\n - testifylint\n - tparallel\n - typecheck\n - unconvert\n - unparam\n - unused\n - usetesting\n\nlinters-settings:\n depguard:\n rules:\n # Name of a rule.\n main:\n # Packages that are not allowed where the value is a suggestion.\n deny:\n - pkg: log\n desc: 'Use injected telegraf.Logger instead'\n # List of file globs that will match this list of settings to compare against.\n # Default: $all\n files:\n - "!**/agent/**"\n - "!**/cmd/**"\n - "!**/config/**"\n - "!**/filter/**"\n - "!**/internal/**"\n - "!**/logger/**"\n - "!**/metric/**"\n - "!**/models/**"\n - "!**/plugins/serializers/**"\n - "!**/scripts/**"\n - "!**/selfstat/**"\n - "!**/testutil/**"\n - "!**/tools/**"\n - "!**/*_test.go"\n errcheck:\n # report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`.\n # Such cases aren't reported by default.\n # Default: false\n check-blank: true\n\n # List of functions to exclude from checking, where each entry is a single function to exclude.\n # See https://github.com/kisielk/errcheck#excluding-functions for details.\n exclude-functions:\n - "(*hash/maphash.Hash).Write"\n - "(*hash/maphash.Hash).WriteByte"\n - "(*hash/maphash.Hash).WriteString"\n - "(*github.com/influxdata/telegraf/plugins/outputs/postgresql/sqltemplate.Template).UnmarshalText"\n\n gci:\n sections:\n - standard\n - default\n - localmodule\n \n gocritic:\n # Disable all checks.\n # Default: false\n disable-all: true\n # Which checks should be enabled in addition to default checks; can't be combined with 'disabled-checks'.\n # By default, list of stable checks is used (https://go-critic.com/overview#checks-overview).\n # To see which checks are enabled run `GL_DEBUG=gocritic golangci-lint run --enable=gocritic`.\n enabled-checks:\n # diagnostic\n - argOrder\n - badCall\n - badCond\n - badLock\n - badRegexp\n - badSorting\n - badSyncOnceFunc\n - builtinShadowDecl\n - caseOrder\n - codegenComment\n - commentedOutCode\n - deferInLoop\n - deprecatedComment\n - dupArg\n - dupBranchBody\n - dupCase\n - dupSubExpr\n - dynamicFmtString\n - emptyDecl\n - evalOrder\n - exitAfterDefer\n - externalErrorReassign\n - filepathJoin\n - flagName\n - mapKey\n - nilValReturn\n - offBy1\n - regexpPattern\n - sloppyLen\n - sloppyReassign\n - sloppyTypeAssert\n - sortSlice\n - sprintfQuotedString\n - sqlQuery\n - syncMapLoadAndDelete\n - truncateCmp\n - uncheckedInlineErr\n - unnecessaryDefer\n - weakCond\n # performance\n - appendCombine\n - equalFold\n - hugeParam\n - indexAlloc\n - preferDecodeRune\n - preferFprint\n - preferStringWriter\n - preferWriteByte\n - rangeExprCopy\n - rangeValCopy\n - sliceClear\n - stringXbytes\n\n # Settings passed to gocritic.\n # The settings key is the name of a supported gocritic checker.\n # The list of supported checkers can be find in https://go-critic.com/overview.\n settings:\n hugeParam:\n # Size in bytes that makes the warning trigger.\n # Default: 80\n sizeThreshold: 512\n rangeValCopy:\n # Size in bytes that makes the warning trigger.\n # Default: 128\n sizeThreshold: 512\n\n gosec:\n # To select a subset of rules to run.\n # Available rules: https://github.com/securego/gosec#available-rules\n # Default: [] - means include all rules\n includes:\n - G101 # Look for hard coded credentials\n - G102 # Bind to all interfaces\n - G103 # Audit the use of unsafe block\n - G106 # Audit the use of ssh.InsecureIgnoreHostKey\n - G107 # Url provided to HTTP request as taint input\n - G108 # Profiling endpoint automatically exposed on /debug/pprof\n - G109 # Potential Integer overflow made by strconv.Atoi result conversion to int16/32\n - G110 # Potential DoS vulnerability via decompression bomb\n - G111 # Potential directory traversal\n - G112 # Potential slowloris attack\n - G114 # Use of net/http serve function that has no support for setting timeouts\n - G201 # SQL query construction using format string\n - G202 # SQL query construction using string concatenation\n - G203 # Use of unescaped data in HTML templates\n - G301 # Poor file permissions used when creating a directory\n - G302 # Poor file permissions used with chmod\n - G303 # Creating tempfile using a predictable path\n - G305 # File traversal when extracting zip/tar archive\n - G306 # Poor file permissions used when writing to a new file\n - G401 # Detect the usage of MD5 or SHA1\n - G403 # Ensure minimum RSA key length of 2048 bits\n - G404 # Insecure random number source (rand)\n - G405 # Detect the usage of DES or RC4\n - G406 # Detect the usage of MD4 or RIPEMD160\n - G501 # Import blocklist: crypto/md5\n - G502 # Import blocklist: crypto/des\n - G503 # Import blocklist: crypto/rc4\n - G505 # Import blocklist: crypto/sha1\n - G506 # Import blocklist: golang.org/x/crypto/md4\n - G507 # Import blocklist: golang.org/x/crypto/ripemd160\n - G601 # Implicit memory aliasing of items from a range statement\n - G602 # Slice access out of bounds\n # G104, G105, G113, G204, G304, G307, G402, G504 were not enabled intentionally\n # TODO: review G115 when reporting false positives is fixed (https://github.com/securego/gosec/issues/1212)\n # To specify the configuration of rules.\n config:\n # Maximum allowed permissions mode for os.OpenFile and os.Chmod\n # Default: "0600"\n G302: "0640"\n # Maximum allowed permissions mode for os.WriteFile and ioutil.WriteFile\n # Default: "0600"\n G306: "0640"\n govet:\n settings:\n ## Check the logging function like it would be a printf\n printf:\n # Comma-separated list of print function names to check (in addition to default, see `go tool vet help printf`).\n # Default: []\n funcs:\n - (github.com/influxdata/telegraf.Logger).Debugf\n - (github.com/influxdata/telegraf.Logger).Infof\n - (github.com/influxdata/telegraf.Logger).Warnf\n - (github.com/influxdata/telegraf.Logger).Errorf\n - (github.com/influxdata/telegraf.Logger).Debug\n - (github.com/influxdata/telegraf.Logger).Info\n - (github.com/influxdata/telegraf.Logger).Warn\n - (github.com/influxdata/telegraf.Logger).Error\n lll:\n # Max line length, lines longer will be reported.\n # '\t' is counted as 1 character by default, and can be changed with the tab-width option.\n # Default: 120.\n line-length: 160\n # Tab width in spaces.\n # Default: 1\n tab-width: 4\n nakedret:\n # Make an issue if func has more lines of code than this setting, and it has naked returns.\n # Default: 30\n max-func-lines: 1\n nolintlint:\n # Enable to require an explanation of nonzero length after each nolint directive.\n # Default: false\n require-explanation: true\n # Enable to require nolint directives to mention the specific linter being suppressed.\n # Default: false\n require-specific: true\n prealloc:\n # Report pre-allocation suggestions only on simple loops that have no returns/breaks/continues/gotos in them.\n # Default: true\n simple: false\n revive:\n rules:\n - name: argument-limit\n arguments: [ 6 ]\n - name: atomic\n - name: bare-return\n - name: blank-imports\n - name: bool-literal-in-expr\n - name: call-to-gc\n - name: comment-spacings\n - name: confusing-naming\n - name: confusing-results\n - name: constant-logical-expr\n - name: context-as-argument\n - name: context-keys-type\n - name: datarace\n - name: deep-exit\n - name: defer\n - name: dot-imports\n - name: duplicated-imports\n - name: early-return\n - name: empty-block\n - name: empty-lines\n - name: enforce-map-style\n arguments: ["make"]\n exclude: [ "TEST" ]\n - name: enforce-repeated-arg-type-style\n arguments: ["short"]\n - name: enforce-slice-style\n arguments: ["make"]\n - name: error-naming\n - name: error-return\n - name: error-strings\n - name: errorf\n - name: function-result-limit\n arguments: [ 3 ]\n - name: get-return\n - name: identical-branches\n - name: if-return\n - name: import-alias-naming\n arguments:\n - "^[a-z][a-z0-9_]*[a-z0-9]+$"\n - name: import-shadowing\n - name: increment-decrement\n - name: indent-error-flow\n - name: max-public-structs\n exclude: [ "TEST" ]\n arguments: [ 5 ]\n - name: modifies-parameter\n - name: modifies-value-receiver\n - name: optimize-operands-order\n - name: package-comments\n - name: range\n - name: range-val-address\n - name: range-val-in-closure\n - name: receiver-naming\n - name: redefines-builtin-id\n - name: redundant-import-alias\n - name: string-format\n arguments:\n - - 'fmt.Errorf[0],errors.New[0]'\n - '/^([^A-Z]|$)/'\n - 'Error string must not start with a capital letter.'\n - - 'fmt.Errorf[0],errors.New[0]'\n - '/(^|[^\.!?])$/'\n - 'Error string must not end in punctuation.'\n - - 'panic'\n - '/^[^\n]*$/'\n - 'Must not contain line breaks.'\n - name: string-of-int\n - name: struct-tag\n - name: superfluous-else\n - name: time-equal\n - name: time-naming\n - name: unconditional-recursion\n - name: unexported-naming\n - name: unnecessary-stmt\n - name: unreachable-code\n - name: unused-parameter\n - name: unused-receiver\n - name: var-declaration\n - name: var-naming\n - name: waitgroup-by-value\n testifylint:\n # Disable all checkers (https://github.com/Antonboom/testifylint#checkers).\n # Default: false\n disable-all: true\n # Enable checkers by name\n enable:\n - blank-import\n - bool-compare\n - compares\n - contains\n - empty\n - encoded-compare\n - error-is-as\n - error-nil\n - expected-actual\n - float-compare\n - formatter\n - go-require\n - len\n - negative-positive\n - nil-compare\n - regexp\n - require-error\n - suite-broken-parallel\n - suite-dont-use-pkg\n - suite-extra-assert-call\n - suite-subtest-run\n - suite-thelper\n - useless-assert\n usetesting:\n # Enable/disable `os.TempDir()` detections.\n # Default: false\n os-temp-dir: true\n\nissues:\n # List of regexps of issue texts to exclude.\n #\n # But independently of this option we use default exclude patterns,\n # it can be disabled by `exclude-use-default: false`.\n # To list all excluded by default patterns execute `golangci-lint run --help`\n #\n # Default: https://golangci-lint.run/usage/false-positives/#default-exclusions\n exclude:\n # revive:var-naming\n - don't use an underscore in package name\n # EXC0001 errcheck: Almost all programs ignore errors on these functions, and in most cases it's ok\n - Error return value of .((os\.)?std(out|err)\..*|.*Close.*|.*Flush|.*Disconnect|.*Clear|os\.Remove(All)?|.*print(f|ln)?|os\.(Un)?Setenv). is not checked\n # EXC0013 revive: Annoying issue about not having a comment. The rare codebase has such comments\n - package comment should be of the form "(.+)...\n # EXC0015 revive: Annoying issue about not having a comment. The rare codebase has such comments\n - should have a package comment\n\n # Excluding configuration per-path, per-linter, per-text and per-source\n exclude-rules:\n - path: plugins/parsers/influx\n linters:\n - govet\n\n - path: cmd/telegraf/(main|printer|cmd_plugins).go\n text: "Error return value of `outputBuffer.Write` is not checked" #errcheck\n\n - path: plugins/inputs/win_perf_counters/pdh.go\n linters:\n - errcheck\n\n - path: _test\.go\n text: "Potential hardcoded credentials" #gosec:G101\n\n - path: _test\.go\n text: "Use of weak random number generator" #gosec:G404\n\n - path-except: ^plugins/(aggregators|inputs|outputs|parsers|processors|serializers)/...\n text: "max-public-structs: you have exceeded the maximum number" #revive:max-public-structs\n\n # Independently of option `exclude` we use default exclude patterns,\n # it can be disabled by this option.\n # To list all excluded by default patterns execute `golangci-lint run --help`.\n # Default: true\n exclude-use-default: false\n\n # Which dirs to exclude: issues from them won't be reported.\n # Can use regexp here: `generated.*`, regexp is applied on full path,\n # including the path prefix if one is set.\n # Default dirs are skipped independently of this option's value (see exclude-dirs-use-default).\n # "/" will be replaced by current OS file path separator to properly work on Windows.\n # Default: []\n exclude-dirs:\n - assets\n - docs\n - etc\n\n # Which files to exclude: they will be analyzed, but issues from them won't be reported.\n # There is no need to include all autogenerated files,\n # we confidently recognize autogenerated files.\n # If it's not, please let us know.\n # "/" will be replaced by current OS file path separator to properly work on Windows.\n # Default: []\n exclude-files:\n - plugins/parsers/influx/machine.go*\n\n # Maximum issues count per one linter.\n # Set to 0 to disable.\n # Default: 50\n max-issues-per-linter: 0\n\n # Maximum count of issues with the same text.\n # Set to 0 to disable.\n # Default: 3\n max-same-issues: 0\n\n # Make issues output unique by line.\n # Default: true\n uniq-by-line: false\n\n# output configuration options\noutput:\n # The formats used to render issues.\n # Formats:\n # - `colored-line-number`\n # - `line-number`\n # - `json`\n # - `colored-tab`\n # - `tab`\n # - `html`\n # - `checkstyle`\n # - `code-climate`\n # - `junit-xml`\n # - `junit-xml-extended`\n # - `github-actions`\n # - `teamcity`\n # - `sarif`\n # Output path can be either `stdout`, `stderr` or path to the file to write to.\n #\n # For the CLI flag (`--out-format`), multiple formats can be specified by separating them by comma.\n # The output can be specified for each of them by separating format name and path by colon symbol.\n # Example: "--out-format=checkstyle:report.xml,json:stdout,colored-line-number"\n # The CLI flag (`--out-format`) override the configuration file.\n #\n # Default:\n # formats:\n # - format: colored-line-number\n # path: stdout\n formats:\n - format: tab\n path: stdout\n\n # Sort results by the order defined in `sort-order`.\n # Default: false\n sort-results: true\n\n # Show statistics per linter.\n # Default: false\n show-stats: true\n\n# Options for analysis running.\nrun:\n # Timeout for analysis, e.g. 30s, 5m.\n # If the value is lower or equal to 0, the timeout is disabled.\n # Default: 1m\n timeout: 10m\n
dataset_sample\yaml\grafana_loki\vendor\github.com\influxdata\telegraf\.golangci.yml
.golangci.yml
YAML
15,796
0.95
0.032587
0.267094
python-kit
550
2024-12-08T23:19:04.161333
GPL-3.0
false
57420d8648b820a45804a7d6098795d5
language: go\n\nsudo: false\n\ngo:\n - 1.5.x\n - 1.6.x\n - 1.7.x\n - 1.8.x\n - 1.9.x\n - 1.10.x\n - 1.11.x\n - 1.12.x\n - 1.13.x\n - 1.14.x\n - 1.15.x\n - tip\n\nallow_failures:\n - go: tip\n\nscript: make build\n\nmatrix:\n include:\n - language: go\n go: 1.15.x\n script: make test\n
dataset_sample\yaml\grafana_loki\vendor\github.com\jmespath\go-jmespath\.travis.yml
.travis.yml
YAML
284
0.7
0
0
vue-tools
307
2023-07-16T06:25:08.675872
MIT
false
c10582a21d458300b2c0ed923ffc7f38
language: go\n\ngo:\n - 1.8.x\n - 1.x\n\nbefore_install:\n - go get -t -v ./...\n\nscript:\n - ./test.sh\n\nafter_success:\n - bash <(curl -s https://codecov.io/bash)\n
dataset_sample\yaml\grafana_loki\vendor\github.com\json-iterator\go\.travis.yml
.travis.yml
YAML
159
0.8
0
0
node-utils
95
2024-12-12T20:03:27.462340
Apache-2.0
false
529e0253c40224d4a96e059257ea55d1
sudo: false\nlanguage: go\ngo:\n - 1.7.x\n - 1.8.x\n - 1.9.x\n - 1.10.x\n - 1.11.x\n - 1.12.x\n - 1.13.x\n - master\nbefore_install:\n - go get github.com/mattn/goveralls\nscript:\n - go test -v -covermode=count -coverprofile=coverage.out\n - go vet ./...\n - test -z "$(gofmt -d -s . | tee /dev/stderr)"\n - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci\n
dataset_sample\yaml\grafana_loki\vendor\github.com\julienschmidt\httprouter\.travis.yml
.travis.yml
YAML
379
0.7
0
0
python-kit
976
2024-08-20T03:29:57.171072
BSD-3-Clause
false
fcf6a304660d7433ea6f0afd114793fa
version: 2\n\nbefore:\n hooks:\n - ./gen.sh\n\nbuilds:\n -\n id: "s2c"\n binary: s2c\n main: ./s2/cmd/s2c/main.go\n flags:\n - -trimpath\n env:\n - CGO_ENABLED=0\n goos:\n - aix\n - linux\n - freebsd\n - netbsd\n - windows\n - darwin\n goarch:\n - 386\n - amd64\n - arm\n - arm64\n - ppc64\n - ppc64le\n - mips64\n - mips64le\n goarm:\n - 7\n -\n id: "s2d"\n binary: s2d\n main: ./s2/cmd/s2d/main.go\n flags:\n - -trimpath\n env:\n - CGO_ENABLED=0\n goos:\n - aix\n - linux\n - freebsd\n - netbsd\n - windows\n - darwin\n goarch:\n - 386\n - amd64\n - arm\n - arm64\n - ppc64\n - ppc64le\n - mips64\n - mips64le\n goarm:\n - 7\n -\n id: "s2sx"\n binary: s2sx\n main: ./s2/cmd/_s2sx/main.go\n flags:\n - -modfile=s2sx.mod\n - -trimpath\n env:\n - CGO_ENABLED=0\n goos:\n - aix\n - linux\n - freebsd\n - netbsd\n - windows\n - darwin\n goarch:\n - 386\n - amd64\n - arm\n - arm64\n - ppc64\n - ppc64le\n - mips64\n - mips64le\n goarm:\n - 7\n\narchives:\n -\n id: s2-binaries\n name_template: "s2-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"\n format_overrides:\n - goos: windows\n format: zip\n files:\n - unpack/*\n - s2/LICENSE\n - s2/README.md\nchecksum:\n name_template: 'checksums.txt'\nsnapshot:\n version_template: "{{ .Tag }}-next"\nchangelog:\n sort: asc\n filters:\n exclude:\n - '^doc:'\n - '^docs:'\n - '^test:'\n - '^tests:'\n - '^Update\sREADME.md'\n\nnfpms:\n -\n file_name_template: "s2_package__{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"\n vendor: Klaus Post\n homepage: https://github.com/klauspost/compress\n maintainer: Klaus Post <klauspost@gmail.com>\n description: S2 Compression Tool\n license: BSD 3-Clause\n formats:\n - deb\n - rpm\n
dataset_sample\yaml\grafana_loki\vendor\github.com\klauspost\compress\.goreleaser.yml
.goreleaser.yml
YAML
1,993
0.8
0.01626
0
node-utils
307
2025-06-23T01:31:06.508986
GPL-3.0
false
4c251cbabf5814a458f8343c6698f393
version: 2\n\nbuilds:\n -\n id: "cpuid"\n binary: cpuid\n main: ./cmd/cpuid/main.go\n env:\n - CGO_ENABLED=0\n flags:\n - -ldflags=-s -w\n goos:\n - aix\n - linux\n - freebsd\n - netbsd\n - windows\n - darwin\n goarch:\n - 386\n - amd64\n - arm64\n goarm:\n - 7\n\narchives:\n -\n id: cpuid\n name_template: "cpuid-{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"\n format_overrides:\n - goos: windows\n format: zip\n files:\n - LICENSE\nchecksum:\n name_template: 'checksums.txt'\nchangelog:\n sort: asc\n filters:\n exclude:\n - '^doc:'\n - '^docs:'\n - '^test:'\n - '^tests:'\n - '^Update\sREADME.md'\n\nnfpms:\n -\n file_name_template: "cpuid_package_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"\n vendor: Klaus Post\n homepage: https://github.com/klauspost/cpuid\n maintainer: Klaus Post <klauspost@gmail.com>\n description: CPUID Tool\n license: BSD 3-Clause\n formats:\n - deb\n - rpm\n
dataset_sample\yaml\grafana_loki\vendor\github.com\klauspost\cpuid\v2\.goreleaser.yml
.goreleaser.yml
YAML
1,022
0.8
0.035088
0
awesome-app
731
2023-12-24T06:57:35.233819
BSD-3-Clause
false
3b3d8fdb05bf57fff26003992e177714
\narch:\n - amd64\n - ppc64le\nlanguage: go\n\nos:\n - linux\n - osx\n\ngo:\n - 1.13.x\n - 1.14.x\n - 1.15.x\n - master\n\nenv:\n - GO111MODULE=off\n\nscript:\n - diff <(gofmt -d .) <(printf "")\n - go test -v -cpu=1,2,4 .\n - go test -v -cpu=2 -race -short .\n\nmatrix:\n allow_failures:\n - go: 'master'\n fast_finish: true \n
dataset_sample\yaml\grafana_loki\vendor\github.com\klauspost\pgzip\.travis.yml
.travis.yml
YAML
317
0.7
0
0
node-utils
352
2025-06-17T04:34:46.593657
BSD-3-Clause
false
c4d4f245422d58d15e4c4c003f18ff9f
release:\n prerelease: auto\n draft: false\n name_template: "v{{.Version}}"\n\nbefore:\n hooks:\n - go mod tidy\n\nbuilds:\n - skip: true\n\n# Docs at https://goreleaser.com/customization/changelog\nchangelog:\n use: github-native\n sort: asc
dataset_sample\yaml\grafana_loki\vendor\github.com\leodido\go-syslog\v4\.goreleaser.yml
.goreleaser.yml
YAML
237
0.8
0
0.076923
react-lib
331
2024-11-30T16:26:35.837804
Apache-2.0
false
584293e95a120c55c93604c88cff364e
language: go\n\ngo:\n - 1.6\n - 1.7\n - 1.8\n - tip\n\nscript:\n - go test -v\n\nnotifications:\n webhooks:\n urls:\n - https://webhooks.gitter.im/e/06e3328629952dabe3e0\n on_success: change # options: [always|never|change] default: always\n on_failure: always # options: [always|never|change] default: always\n on_start: never # options: [always|never|change] default: always\n
dataset_sample\yaml\grafana_loki\vendor\github.com\Masterminds\goutils\.travis.yml
.travis.yml
YAML
389
0.8
0
0
vue-tools
55
2025-04-19T05:19:28.597639
MIT
false
5a930b614d9d12cc6ddea0df631b8090
version: build-{build}.{branch}\n\nclone_folder: C:\gopath\src\github.com\Masterminds\goutils\nshallow_clone: true\n\nenvironment:\n GOPATH: C:\gopath\n\nplatform:\n - x64\n\nbuild: off\n\ninstall:\n - go version\n - go env\n\ntest_script:\n - go test -v\n\ndeploy: off\n
dataset_sample\yaml\grafana_loki\vendor\github.com\Masterminds\goutils\appveyor.yml
appveyor.yml
YAML
255
0.7
0
0
vue-tools
321
2025-04-28T18:04:13.148850
GPL-3.0
false
a540f223c4178995f88d3f25014a9ecb
run:\n deadline: 2m\n\nlinters:\n disable-all: true\n enable:\n - misspell\n - govet\n - staticcheck\n - errcheck\n - unparam\n - ineffassign\n - nakedret\n - gocyclo\n - dupl\n - goimports\n - revive\n - gosec\n - gosimple\n - typecheck\n - unused\n\nlinters-settings:\n gofmt:\n simplify: true\n dupl:\n threshold: 600\n
dataset_sample\yaml\grafana_loki\vendor\github.com\Masterminds\semver\v3\.golangci.yml
.golangci.yml
YAML
351
0.85
0
0
vue-tools
726
2023-08-15T01:03:32.101694
Apache-2.0
false
1d3860a505ec5adfd7ced9827491283b
linters:\n enable:\n # style\n - containedctx # struct contains a context\n - dupl # duplicate code\n - errname # erorrs are named correctly\n - nolintlint # "//nolint" directives are properly explained\n - revive # golint replacement\n - unconvert # unnecessary conversions\n - wastedassign\n\n # bugs, performance, unused, etc ...\n - contextcheck # function uses a non-inherited context\n - errorlint # errors not wrapped for 1.13\n - exhaustive # check exhaustiveness of enum switch statements\n - gofmt # files are gofmt'ed\n - gosec # security\n - nilerr # returns nil even with non-nil error\n - thelper # test helpers without t.Helper()\n - unparam # unused function params\n\nissues:\n exclude-dirs:\n - pkg/etw/sample\n\n exclude-rules:\n # err is very often shadowed in nested scopes\n - linters:\n - govet\n text: '^shadow: declaration of "err" shadows declaration'\n\n # ignore long lines for skip autogen directives\n - linters:\n - revive\n text: "^line-length-limit: "\n source: "^//(go:generate|sys) "\n\n #TODO: remove after upgrading to go1.18\n # ignore comment spacing for nolint and sys directives\n - linters:\n - revive\n text: "^comment-spacings: no space between comment delimiter and comment text"\n source: "//(cspell:|nolint:|sys |todo)"\n\n # not on go 1.18 yet, so no any\n - linters:\n - revive\n text: "^use-any: since GO 1.18 'interface{}' can be replaced by 'any'"\n\n # allow unjustified ignores of error checks in defer statements\n - linters:\n - nolintlint\n text: "^directive `//nolint:errcheck` should provide explanation"\n source: '^\s*defer '\n\n # allow unjustified ignores of error lints for io.EOF\n - linters:\n - nolintlint\n text: "^directive `//nolint:errorlint` should provide explanation"\n source: '[=|!]= io.EOF'\n\n\nlinters-settings:\n exhaustive:\n default-signifies-exhaustive: true\n govet:\n enable-all: true\n disable:\n # struct order is often for Win32 compat\n # also, ignore pointer bytes/GC issues for now until performance becomes an issue\n - fieldalignment\n nolintlint:\n require-explanation: true\n require-specific: true\n revive:\n # revive is more configurable than static check, so likely the preferred alternative to static-check\n # (once the perf issue is solved: https://github.com/golangci/golangci-lint/issues/2997)\n enable-all-rules:\n true\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md\n rules:\n # rules with required arguments\n - name: argument-limit\n disabled: true\n - name: banned-characters\n disabled: true\n - name: cognitive-complexity\n disabled: true\n - name: cyclomatic\n disabled: true\n - name: file-header\n disabled: true\n - name: function-length\n disabled: true\n - name: function-result-limit\n disabled: true\n - name: max-public-structs\n disabled: true\n # geneally annoying rules\n - name: add-constant # complains about any and all strings and integers\n disabled: true\n - name: confusing-naming # we frequently use "Foo()" and "foo()" together\n disabled: true\n - name: flag-parameter # excessive, and a common idiom we use\n disabled: true\n - name: unhandled-error # warns over common fmt.Print* and io.Close; rely on errcheck instead\n disabled: true\n # general config\n - name: line-length-limit\n arguments:\n - 140\n - name: var-naming\n arguments:\n - []\n - - CID\n - CRI\n - CTRD\n - DACL\n - DLL\n - DOS\n - ETW\n - FSCTL\n - GCS\n - GMSA\n - HCS\n - HV\n - IO\n - LCOW\n - LDAP\n - LPAC\n - LTSC\n - MMIO\n - NT\n - OCI\n - PMEM\n - PWSH\n - RX\n - SACl\n - SID\n - SMB\n - TX\n - VHD\n - VHDX\n - VMID\n - VPCI\n - WCOW\n - WIM\n
dataset_sample\yaml\grafana_loki\vendor\github.com\Microsoft\go-winio\.golangci.yml
.golangci.yml
YAML
4,244
0.95
0.07483
0.124088
python-kit
197
2023-07-13T10:10:50.350811
BSD-3-Clause
false
e405f16ead7265060bf0440aadff79a8
coverage:\n status:\n project:\n default:\n target: 40%\n threshold: null\n patch: false\n changes: false\n
dataset_sample\yaml\grafana_loki\vendor\github.com\miekg\dns\.codecov.yml
.codecov.yml
YAML
128
0.7
0
0
python-kit
210
2025-03-31T18:01:56.820795
BSD-3-Clause
false
22d35c24044b1bdaea9843dc479fb7cd
version: "2"\nlinters:\n disable-all: true\n enable:\n - durationcheck\n - gocritic\n - gomodguard\n - govet\n - ineffassign\n - misspell\n - revive\n - staticcheck\n - unconvert\n - unused\n - usetesting\n - whitespace\n settings:\n misspell:\n locale: US\n staticcheck:\n checks:\n - all\n - -SA1008\n - -SA1019\n - -SA4000\n - -SA9004\n - -ST1000\n - -ST1005\n - -ST1016\n - -ST1021\n - -ST1020\n - -U1000\n exclusions:\n generated: lax\n rules:\n - path: (.+)\.go$\n text: "empty-block:"\n - path: (.+)\.go$\n text: "unused-parameter:"\n - path: (.+)\.go$\n text: "dot-imports:"\n - path: (.+)\.go$\n text: "singleCaseSwitch: should rewrite switch statement to if statement"\n - path: (.+)\.go$\n text: "unlambda: replace"\n - path: (.+)\.go$\n text: "captLocal:"\n - path: (.+)\.go$\n text: "should have a package comment"\n - path: (.+)\.go$\n text: "ifElseChain:"\n - path: (.+)\.go$\n text: "elseif:"\n - path: (.+)\.go$\n text: "Error return value of"\n - path: (.+)\.go$\n text: "unnecessary conversion"\n - path: (.+)\.go$\n text: "Error return value is not checked"\nissues:\n max-issues-per-linter: 100\n max-same-issues: 100\nformatters:\n enable:\n - gofumpt\n - goimports\n exclusions:\n generated: lax\n paths:\n - third_party$\n - builtin$\n - examples$\n
dataset_sample\yaml\grafana_loki\vendor\github.com\minio\minio-go\v7\.golangci.yml
.golangci.yml
YAML
1,515
0.85
0.027778
0
python-kit
964
2023-11-09T11:09:07.862247
Apache-2.0
false
f3b98cefa217c5a94d05ea064c859757
language: go\n\ngo:\n - 1.0\n - 1.1\n - 1.2\n - 1.3\n - tip\n\nscript:\n - go test\n\nmatrix:\n allow_failures:\n - go: tip\n
dataset_sample\yaml\grafana_loki\vendor\github.com\mitchellh\colorstring\.travis.yml
.travis.yml
YAML
138
0.7
0
0
awesome-app
772
2025-03-22T17:53:58.285283
BSD-3-Clause
false
6866cb74f8beac1547aa90b0e0fae64d
language: go\n\ngo:\n - 1.8.x\n - 1.x\n\nbefore_install:\n - go get -t -v ./...\n\nscript:\n - ./test.sh\n\nafter_success:\n - bash <(curl -s https://codecov.io/bash)\n
dataset_sample\yaml\grafana_loki\vendor\github.com\modern-go\concurrent\.travis.yml
.travis.yml
YAML
159
0.8
0
0
python-kit
410
2024-01-13T01:16:20.877930
MIT
false
529e0253c40224d4a96e059257ea55d1
language: go\n\ngo:\n - 1.9.x\n - 1.x\n\nbefore_install:\n - go get -t -v ./...\n - go get -t -v github.com/modern-go/reflect2-tests/...\n\nscript:\n - ./test.sh\n\nafter_success:\n - bash <(curl -s https://codecov.io/bash)\n
dataset_sample\yaml\grafana_loki\vendor\github.com\modern-go\reflect2\.travis.yml
.travis.yml
YAML
216
0.8
0
0
react-lib
632
2023-08-04T06:21:43.822353
MIT
false
12fca2ab15a8f10085fd6330c85dd4f1
run:\n tests: false\n\nissues:\n max-issues-per-linter: 0\n max-same-issues: 0\n\nlinters:\n enable:\n - bodyclose\n - dupl\n - exportloopref\n - goconst\n - godot\n - godox\n - goimports\n - golint\n - goprintffuncname\n - gosec\n - ifshort\n - misspell\n - prealloc\n - rowserrcheck\n - sqlclosecheck\n - unconvert\n - unparam\n - whitespace\n
dataset_sample\yaml\grafana_loki\vendor\github.com\muesli\ansi\.golangci.yml
.golangci.yml
YAML
376
0.85
0
0
node-utils
908
2024-12-13T15:15:12.815222
MIT
false
ae3ae4691eca4c7ea81408c2ff63cbe6
run:\n tests: false\n\nissues:\n include:\n - EXC0001\n - EXC0005\n - EXC0011\n - EXC0012\n - EXC0013\n\n max-issues-per-linter: 0\n max-same-issues: 0\n\nlinters:\n enable:\n # - dupl\n - exhaustive\n # - exhaustivestruct\n - goconst\n - godot\n - godox\n - gomnd\n - gomoddirectives\n - goprintffuncname\n - ifshort\n # - lll\n - misspell\n - nakedret\n - nestif\n - noctx\n - nolintlint\n - prealloc\n - wrapcheck\n\n # disable default linters, they are already enabled in .golangci.yml\n disable:\n - deadcode\n - errcheck\n - gosimple\n - govet\n - ineffassign\n - staticcheck\n - structcheck\n - typecheck\n - unused\n - varcheck\n
dataset_sample\yaml\grafana_loki\vendor\github.com\muesli\cancelreader\.golangci-soft.yml
.golangci-soft.yml
YAML
696
0.8
0
0.093023
react-lib
798
2024-10-31T14:42:25.417192
BSD-3-Clause
false
3c5c67b803f54b20e099c09faaefa787
run:\n tests: false\n\nissues:\n include:\n - EXC0001\n - EXC0005\n - EXC0011\n - EXC0012\n - EXC0013\n\n max-issues-per-linter: 0\n max-same-issues: 0\n\nlinters:\n enable:\n - bodyclose\n - exportloopref\n - goimports\n - gosec\n - nilerr\n - predeclared\n - revive\n - rowserrcheck\n - sqlclosecheck\n - tparallel\n - unconvert\n - unparam\n - whitespace\n
dataset_sample\yaml\grafana_loki\vendor\github.com\muesli\cancelreader\.golangci.yml
.golangci.yml
YAML
389
0.85
0
0
react-lib
940
2024-09-11T18:42:17.652272
MIT
false
b9f89c65f4f6ecf49fd60c797e1f598e
run:\n tests: false\n\nissues:\n include:\n - EXC0001\n - EXC0005\n - EXC0011\n - EXC0012\n - EXC0013\n\n max-issues-per-linter: 0\n max-same-issues: 0\n\nlinters:\n enable:\n # - dupl\n - exhaustive\n # - exhaustivestruct\n - goconst\n - godot\n - godox\n - mnd\n - gomoddirectives\n - goprintffuncname\n # - lll\n - misspell\n - nakedret\n - nestif\n - noctx\n - nolintlint\n - prealloc\n - wrapcheck\n\n # disable default linters, they are already enabled in .golangci.yml\n disable:\n - errcheck\n - gosimple\n - govet\n - ineffassign\n - staticcheck\n - typecheck\n - unused\n
dataset_sample\yaml\grafana_loki\vendor\github.com\muesli\termenv\.golangci-soft.yml
.golangci-soft.yml
YAML
632
0.8
0
0.102564
node-utils
376
2025-06-23T09:21:58.682410
Apache-2.0
false
dcec6c51bd1d1f20f393b46723eee79c
run:\n tests: false\n\nissues:\n include:\n - EXC0001\n - EXC0005\n - EXC0011\n - EXC0012\n - EXC0013\n\n max-issues-per-linter: 0\n max-same-issues: 0\n\nlinters:\n enable:\n - bodyclose\n - goimports\n - gosec\n - nilerr\n - predeclared\n - revive\n - rowserrcheck\n - sqlclosecheck\n - tparallel\n - unconvert\n - unparam\n - whitespace\n
dataset_sample\yaml\grafana_loki\vendor\github.com\muesli\termenv\.golangci.yml
.golangci.yml
YAML
369
0.85
0
0
awesome-app
96
2024-08-14T16:47:07.261641
GPL-3.0
false
8ce38dd5c31bc5a2ccb601d6bbeeb320
sudo: false\nlanguage: go\ngo:\n- "1.8"\n- "1.9"\n- "1.10"\n- "1.11"\n- "1.12"\n\ninstall:\n- go get github.com/stretchr/testify\n- go get github.com/prometheus/client_golang/prometheus\n- go get golang.org/x/net/context\n- go get golang.org/x/net/trace\n\nscript:\n- go test -v ./...\n
dataset_sample\yaml\grafana_loki\vendor\github.com\mwitkow\go-conntrack\.travis.yml
.travis.yml
YAML
269
0.7
0
0
vue-tools
940
2024-11-10T02:03:32.868822
GPL-3.0
false
09749b1ab620fe0a228ea6e26203dac2
language: go\nsudo: false\n\narch:\n - amd64\n - ppc64le\n\ngo_import_path: github.com/ncw/swift\n\ngo:\n - 1.2.x\n - 1.3.x\n - 1.4.x\n - 1.5.x\n - 1.6.x\n - 1.7.x\n - 1.8.x\n - 1.9.x\n - 1.10.x\n - 1.11.x\n - 1.12.x\n - 1.13.x\n - 1.14.x\n - master\n\nmatrix:\n include:\n - go: 1.14.x\n env: TEST_REAL_SERVER=rackspace\n - go: 1.14.x\n env: TEST_REAL_SERVER=memset\n - go: 1.14.x\n arch: ppc64le\n env: TEST_REAL_SERVER=rackspace\n - go: 1.14.x\n arch: ppc64le\n env: TEST_REAL_SERVER=memset\n allow_failures:\n - go: 1.14.x\n env: TEST_REAL_SERVER=rackspace\n - go: 1.14.x\n env: TEST_REAL_SERVER=memset\n - go: 1.14.x\n arch: ppc64le\n env: TEST_REAL_SERVER=rackspace\n - go: 1.14.x\n arch: ppc64le\n env: TEST_REAL_SERVER=memset\n# Removed unsupported jobs for ppc64le\n exclude:\n - go: 1.2.x\n arch: ppc64le\n - go: 1.3.x\n arch: ppc64le\n - go: 1.4.x\n arch: ppc64le\ninstall: go test -i ./...\nscript:\n - test -z "$(go fmt ./...)"\n - go test\n - ./travis_realserver.sh\n
dataset_sample\yaml\grafana_loki\vendor\github.com\ncw\swift\.travis.yml
.travis.yml
YAML
998
0.95
0.016393
0.017544
vue-tools
711
2024-10-03T22:17:46.132532
MIT
false
d0f378d9be207df2d4adbde6b9b63b96
# golangci-lint configuration options\n\nlinters:\n enable:\n - errcheck\n - goimports\n - revive\n - ineffassign\n - govet\n - unconvert\n - staticcheck\n - gosimple\n - stylecheck\n - unused\n - misspell\n #- prealloc\n #- maligned\n disable-all: true\n\nissues:\n # Enable some lints excluded by default\n exclude-use-default: false\n\n # Maximum issues count per one linter. Set to 0 to disable. Default is 50.\n max-issues-per-linter: 0\n\n # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.\n max-same-issues: 0\n\n exclude-rules:\n\n - linters:\n - staticcheck\n text: 'SA1019: "github.com/rclone/rclone/cmd/serve/httplib" is deprecated'\n\nrun:\n # timeout for analysis, e.g. 30s, 5m, default is 1m\n timeout: 10m\n\nlinters-settings:\n revive:\n rules:\n - name: unreachable-code\n disabled: true\n - name: unused-parameter\n disabled: true\n - name: empty-block\n disabled: true\n - name: redefines-builtin-id\n disabled: true\n - name: superfluous-else\n disabled: true\n stylecheck:\n # Only enable the checks performed by the staticcheck stand-alone tool,\n # as documented here: https://staticcheck.io/docs/configuration/options/#checks\n checks: ["all", "-ST1000", "-ST1003", "-ST1016", "-ST1020", "-ST1021", "-ST1022", "-ST1023"]\n
dataset_sample\yaml\grafana_loki\vendor\github.com\ncw\v2\.golangci.yml
.golangci.yml
YAML
1,358
0.95
0.017857
0.1875
awesome-app
379
2023-10-30T03:21:47.856843
Apache-2.0
false
884d470d076ebd3b61f32f6b2c44c5e6
language: go\ngo:\n - 1.x\n - tip\nenv:\n - GO111MODULE=on\ninstall:\n - go mod download\nscript:\n - go test -race -v\n
dataset_sample\yaml\grafana_loki\vendor\github.com\NYTimes\gziphandler\.travis.yml
.travis.yml
YAML
115
0.7
0
0
react-lib
385
2024-05-21T03:19:35.793529
MIT
false
5ebc04ffe2cd87d7521e48519ad461ad
language: go\nsudo: false\ngo:\n - 1.10.x\ninstall:\n - go get -v github.com/golang/lint/golint\n - go get golang.org/x/tools/cmd/cover\n - go get github.com/mattn/goveralls\n - go get -d -t -v ./...\n - go build -v ./...\nscript:\n - go vet ./...\n - $HOME/gopath/bin/golint .\n - go test -v -race ./...\n - go test -v -covermode=count -coverprofile=cov.out\n - $HOME/gopath/bin/goveralls -coverprofile=cov.out -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true\n
dataset_sample\yaml\grafana_loki\vendor\github.com\oklog\ulid\.travis.yml
.travis.yml
YAML
465
0.7
0
0
python-kit
949
2023-11-02T15:23:30.508310
GPL-3.0
false
fba17fa639b561df278f0c53d952eebb
language: go\narch:\n - ppc64le\n - amd64\ngo:\n - 1.3\n - 1.4\n - 1.5\n - 1.6\n - 1.7\n - 1.8\n - 1.9\n - "1.10"\n - tip\njobs:\n exclude :\n - arch : ppc64le\n go :\n - 1.3\n - arch : ppc64le\n go :\n - 1.4\n
dataset_sample\yaml\grafana_loki\vendor\github.com\olekukonko\tablewriter\.travis.yml
.travis.yml
YAML
230
0.7
0
0
react-lib
96
2025-05-21T18:35:09.722437
MIT
false
63db4133c746208e7326d8423c466de0
version: 2\n\nrequirements:\n signed_off_by:\n required: true\n\nalways_pending:\n title_regex: '^WIP'\n explanation: 'Work in progress...'\n\ngroup_defaults:\n required: 2\n approve_by_comment:\n enabled: true\n approve_regex: '^LGTM'\n reject_regex: '^Rejected'\n reset_on_push:\n enabled: true\n author_approval:\n ignored: true\n conditions:\n branches:\n - master\n\ngroups:\n go-digest:\n teams:\n - go-digest-maintainers\n
dataset_sample\yaml\grafana_loki\vendor\github.com\opencontainers\go-digest\.pullapprove.yml
.pullapprove.yml
YAML
444
0.85
0
0
vue-tools
622
2023-12-08T17:34:28.290084
BSD-3-Clause
false
14724ba5e883bd436d3e4bdc9b2da32f
version: "2"\nlinters:\n default: none\n enable:\n - asasalint\n - asciicheck\n - bidichk\n # - contextcheck\n - copyloopvar\n - dupword\n - durationcheck\n - errcheck\n - errchkjson\n - errname\n - errorlint\n - fatcontext\n - forcetypeassert\n - gocheckcompilerdirectives\n - gochecksumtype\n - gocritic\n - godot\n - gosec\n - gosmopolitan\n - govet\n - ineffassign\n - intrange\n - makezero\n - misspell\n - musttag\n - nilerr\n - noctx\n - nolintlint\n - paralleltest\n - perfsprint\n - prealloc\n - predeclared\n - reassign\n - revive\n - staticcheck\n - tagalign\n - thelper\n - tparallel\n - unconvert\n - unparam\n - unused\n - usestdlibvars\n - wastedassign\n - whitespace\n - wrapcheck\n settings:\n govet:\n enable-all: true\n misspell:\n locale: US\n revive:\n rules:\n - name: blank-imports\n - name: context-as-argument\n - name: context-keys-type\n - name: dot-imports\n - name: empty-block\n - name: error-naming\n - name: error-return\n - name: error-strings\n - name: errorf\n - name: exported\n - name: increment-decrement\n - name: indent-error-flow\n - name: package-comments\n - name: range\n - name: receiver-naming\n - name: redefines-builtin-id\n - name: superfluous-else\n - name: time-naming\n - name: unexported-return\n - name: unreachable-code\n - name: unused-parameter\n - name: var-declaration\n - name: var-naming\n exclusions:\n generated: lax\n presets:\n - comments\n - common-false-positives\n - legacy\n - std-error-handling\n paths:\n - third_party$\n - builtin$\n - examples$\nissues:\n max-issues-per-linter: 0\n max-same-issues: 0\nformatters:\n enable:\n - gci\n - gofmt\n - gofumpt\n - goimports\n exclusions:\n generated: lax\n paths:\n - third_party$\n - builtin$\n - examples$\n
dataset_sample\yaml\grafana_loki\vendor\github.com\opentracing-contrib\go-grpc\.golangci.yml
.golangci.yml
YAML
2,027
0.95
0
0.009524
vue-tools
277
2025-03-10T17:42:46.396706
GPL-3.0
false
90f545dcdd167eca00df67f262678b88
language: go\ngo_import_path: github.com/pkg/errors\ngo:\n - 1.11.x\n - 1.12.x\n - 1.13.x\n - tip\n\nscript:\n - make check\n
dataset_sample\yaml\grafana_loki\vendor\github.com\pkg\errors\.travis.yml
.travis.yml
YAML
120
0.85
0
0
awesome-app
110
2024-10-10T01:23:56.956073
BSD-3-Clause
false
013ec5d03637d40fe7aa3ff7cd8fe397
version: build-{build}.{branch}\n\nclone_folder: C:\gopath\src\github.com\pkg\errors\nshallow_clone: true # for startup speed\n\nenvironment:\n GOPATH: C:\gopath\n\nplatform:\n - x64\n\n# http://www.appveyor.com/docs/installed-software\ninstall:\n # some helpful output for debugging builds\n - go version\n - go env\n # pre-installed MinGW at C:\MinGW is 32bit only\n # but MSYS2 at C:\msys64 has mingw64\n - set PATH=C:\msys64\mingw64\bin;%PATH%\n - gcc --version\n - g++ --version\n\nbuild_script:\n - go install -v ./...\n\ntest_script:\n - set PATH=C:\gopath\bin;%PATH%\n - go test -v ./...\n\n#artifacts:\n# - path: '%GOPATH%\bin\*.exe'\ndeploy: off\n
dataset_sample\yaml\grafana_loki\vendor\github.com\pkg\errors\appveyor.yml
appveyor.yml
YAML
639
0.8
0.0625
0.24
awesome-app
89
2025-03-12T08:39:13.724399
GPL-3.0
false
ac604682013b1f47468e7bd7d39ca3d6
# Minimal TLS configuration example. Additionally, a certificate and a key file\n# are needed.\ntls_server_config:\n cert_file: server.crt\n key_file: server.key\n
dataset_sample\yaml\grafana_loki\vendor\github.com\prometheus\exporter-toolkit\web\web-config.yml
web-config.yml
YAML
160
0.8
0
0.4
node-utils
973
2024-07-31T18:01:45.276959
GPL-3.0
false
8fde24afa0216170c37bd755ad39cbde
run:\n timeout: 15m\n\noutput:\n sort-results: true\n\nlinters:\n # Keep this list sorted alphabetically\n enable:\n - depguard\n - errorlint\n - exptostd\n - gci\n - gocritic\n - godot\n - gofumpt\n - loggercheck\n - misspell\n - nilnesserr\n # TODO: Enable once https://github.com/golangci/golangci-lint/issues/3228 is fixed.\n # - nolintlint\n - perfsprint\n - predeclared\n - revive\n - sloglint\n - testifylint\n - unconvert\n - unused\n - usestdlibvars\n - whitespace\n\nissues:\n max-issues-per-linter: 0\n max-same-issues: 0\n # The default exclusions are too aggressive. For one, they\n # essentially disable any linting on doc comments. We disable\n # default exclusions here and add exclusions fitting our codebase\n # further down.\n exclude-use-default: false\n exclude-rules:\n - linters:\n - errcheck\n # Taken from the default exclusions (that are otherwise disabled above).\n text: Error return value of .((os\.)?std(out|err)\..*|.*Close|.*Flush|os\.Remove(All)?|.*print(f|ln)?|os\.(Un)?Setenv). is not checked\n - path: _test.go\n linters:\n - errcheck\n - linters:\n - godot\n source: "^// ==="\n - linters:\n - perfsprint\n text: "fmt.Sprintf can be replaced with string concatenation"\nlinters-settings:\n depguard:\n rules:\n main:\n deny:\n - pkg: "sync/atomic"\n desc: "Use go.uber.org/atomic instead of sync/atomic"\n - pkg: "github.com/stretchr/testify/assert"\n desc: "Use github.com/stretchr/testify/require instead of github.com/stretchr/testify/assert"\n - pkg: "io/ioutil"\n desc: "Use corresponding 'os' or 'io' functions instead."\n - pkg: "regexp"\n desc: "Use github.com/grafana/regexp instead of regexp"\n - pkg: "github.com/pkg/errors"\n desc: "Use 'errors' or 'fmt' instead of github.com/pkg/errors"\n - pkg: "golang.org/x/exp/slices"\n desc: "Use 'slices' instead."\n gci:\n sections:\n - standard\n - default\n - prefix(github.com/prometheus/otlptranslator)\n gofumpt:\n extra-rules: true\n perfsprint:\n # Optimizes `fmt.Errorf`.\n errorf: true\n revive:\n # By default, revive will enable only the linting rules that are named in the configuration file.\n # So, it's needed to explicitly enable all required rules here.\n rules:\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md\n - name: blank-imports\n - name: comment-spacings\n - name: context-as-argument\n arguments:\n # Allow functions with test or bench signatures.\n - allowTypesBefore: "*testing.T,testing.TB"\n - name: context-keys-type\n - name: dot-imports\n - name: early-return\n arguments:\n - "preserveScope"\n # A lot of false positives: incorrectly identifies channel draining as "empty code block".\n # See https://github.com/mgechev/revive/issues/386\n - name: empty-block\n disabled: true\n - name: error-naming\n - name: error-return\n - name: error-strings\n - name: errorf\n - name: exported\n - name: increment-decrement\n - name: indent-error-flow\n arguments:\n - "preserveScope"\n - name: range\n - name: receiver-naming\n - name: redefines-builtin-id\n - name: superfluous-else\n arguments:\n - "preserveScope"\n - name: time-naming\n - name: unexported-return\n - name: unreachable-code\n - name: unused-parameter\n - name: var-declaration\n - name: var-naming\n testifylint:\n disable:\n - float-compare\n - go-require\n enable-all: true\n
dataset_sample\yaml\grafana_loki\vendor\github.com\prometheus\otlptranslator\.golangci.yml
.golangci.yml
YAML
3,708
0.95
0
0.121951
node-utils
18
2024-05-25T00:56:25.750382
GPL-3.0
false
0d63dcac9e973726650c9ef8e27e2526
---\nlinters:\n enable:\n - errcheck\n - godot\n - gosimple\n - govet\n - ineffassign\n - misspell\n - revive\n - staticcheck\n - testifylint\n - unused\n\nlinter-settings:\n godot:\n capital: true\n exclude:\n # Ignore "See: URL"\n - 'See:'\n misspell:\n locale: US\n
dataset_sample\yaml\grafana_loki\vendor\github.com\prometheus\procfs\.golangci.yml
.golangci.yml
YAML
274
0.8
0
0.047619
awesome-app
65
2023-09-07T08:35:14.251639
BSD-3-Clause
false
0fe75c11ba3d1064c365a9c1fee9dc00
issues:\n max-issues-per-linter: 0\n max-same-issues: 0\nlinters:\n enable:\n - errcheck\n - errorlint\n - gofumpt\n - goimports\n - gosimple\n - govet\n - ineffassign\n - misspell\n - revive\n - staticcheck\n - testifylint\n - unused\nlinters-settings:\n goimports:\n local-prefixes: github.com/prometheus/sigv4\n revive:\n rules:\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter\n - name: unused-parameter\n severity: warning\n disabled: true\n testifylint:\n disable:\n - float-compare\n - go-require\n enable:\n - bool-compare\n - compares\n - empty\n - error-is-as\n - error-nil\n - expected-actual\n - len\n - require-error\n - suite-dont-use-pkg\n - suite-extra-assert-call\n
dataset_sample\yaml\grafana_loki\vendor\github.com\prometheus\sigv4\.golangci.yml
.golangci.yml
YAML
819
0.95
0
0.02439
vue-tools
673
2024-09-06T18:07:46.420383
BSD-3-Clause
false
0cd3f819545ac37ec1cb709cbf924b1a
language: go\n\ngo:\n - "1.3"\n - "1.4"\n - "1.5"\n - "1.6"\n - "1.7"\n - "1.8"\n - "1.9"\n - "1.10"\n - "1.11"\n - "1.12"\n - "1.13"\n - "1.14"\n - "1.15"\n\nscript:\n - ./validate.sh\n\n# this should give us faster builds according to \n# http://docs.travis-ci.com/user/migrating-from-legacy/\nsudo: false\n
dataset_sample\yaml\grafana_loki\vendor\github.com\rcrowley\go-metrics\.travis.yml
.travis.yml
YAML
328
0.8
0
0.1
react-lib
824
2025-06-25T12:33:32.584605
GPL-3.0
false
ed32ff4d521a9aaf85a76aa44d899c87
version: 1.0.0.{build}\n\nplatform: x64\n\nbranches:\n only:\n - master\n\nclone_folder: c:\gopath\src\github.com\rs\xid\n\nenvironment:\n GOPATH: c:\gopath\n\ninstall:\n - echo %PATH%\n - echo %GOPATH%\n - set PATH=%GOPATH%\bin;c:\go\bin;%PATH%\n - go version\n - go env\n - go get -t .\n\nbuild_script:\n - go build\n\ntest_script:\n - go test\n\n
dataset_sample\yaml\grafana_loki\vendor\github.com\rs\xid\.appveyor.yml
.appveyor.yml
YAML
335
0.7
0
0
react-lib
501
2025-03-03T19:17:21.936455
Apache-2.0
false
eecbfbb566de9a1bbc20533831220b66
language: go\ngo:\n- "1.9"\n- "1.10"\n- "master"\nmatrix:\n allow_failures:\n - go: "master"\n
dataset_sample\yaml\grafana_loki\vendor\github.com\rs\xid\.travis.yml
.travis.yml
YAML
92
0.5
0
0
node-utils
968
2025-02-03T04:46:06.196646
GPL-3.0
false
7ea7137f348158ef8319cdae8921f62f
run:\n timeout: 5m\n exclude-dirs:\n - vendor\n - examples\n\nlinters:\n enable:\n - errcheck\n - gocyclo\n - gofmt\n - goimports\n - gosimple\n - govet\n - ineffassign\n - staticcheck\n - unused\n\nlinters-settings:\n gocyclo:\n min-complexity: 20
dataset_sample\yaml\grafana_loki\vendor\github.com\schollz\progressbar\v3\.golangci.yml
.golangci.yml
YAML
268
0.85
0
0
python-kit
1
2023-10-30T07:11:46.828944
BSD-3-Clause
false
05628e43473efed7b475171607837713
run:\n # do not run on test files yet\n tests: false\n\n# all available settings of specific linters\nlinters-settings:\n errcheck:\n # report about not checking of errors in type assetions: `a := b.(MyStruct)`;\n # default is false: such cases aren't reported by default.\n check-type-assertions: false\n\n # report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`;\n # default is false: such cases aren't reported by default.\n check-blank: false\n\n lll:\n line-length: 100\n tab-width: 4\n\n prealloc:\n simple: false\n range-loops: false\n for-loops: false\n\n whitespace:\n multi-if: false # Enforces newlines (or comments) after every multi-line if statement\n multi-func: false # Enforces newlines (or comments) after every multi-line function signature\n\nlinters:\n enable:\n - megacheck\n - govet\n disable:\n - maligned\n - prealloc\n disable-all: false\n presets:\n - bugs\n - unused\n fast: false\n
dataset_sample\yaml\grafana_loki\vendor\github.com\sirupsen\logrus\.golangci.yml
.golangci.yml
YAML
974
0.95
0.1
0.176471
vue-tools
787
2023-12-04T00:02:10.577856
MIT
false
97b88b4b9fceb8fa5f567c57de363e47
language: go\ngo_import_path: github.com/sirupsen/logrus\ngit:\n depth: 1\nenv:\n - GO111MODULE=on\ngo: 1.15.x\nos: linux\ninstall:\n - ./travis/install.sh\nscript:\n - cd ci\n - go run mage.go -v -w ../ crossBuild\n - go run mage.go -v -w ../ lint\n - go run mage.go -v -w ../ test\n
dataset_sample\yaml\grafana_loki\vendor\github.com\sirupsen\logrus\.travis.yml
.travis.yml
YAML
276
0.85
0
0
awesome-app
518
2024-08-20T21:20:45.553627
Apache-2.0
false
16e6bdc24b6e75b9f4fa4b2c26c2f2c3
version: "{build}"\nplatform: x64\nclone_folder: c:\gopath\src\github.com\sirupsen\logrus\nenvironment:\n GOPATH: c:\gopath\nbranches:\n only:\n - master\ninstall:\n - set PATH=%GOPATH%\bin;c:\go\bin;%PATH%\n - go version\nbuild_script:\n - go get -t\n - go test\n
dataset_sample\yaml\grafana_loki\vendor\github.com\sirupsen\logrus\appveyor.yml
appveyor.yml
YAML
259
0.7
0
0
python-kit
987
2023-07-30T04:06:32.776179
Apache-2.0
false
28f490e2e7c88ac69cac01b12eded3d7
# This currently does nothing. We have moved to GitHub action, but this is kept\n# until spf13 has disabled this project in AppVeyor.\nversion: '{build}'\nclone_folder: C:\gopath\src\github.com\spf13\afero\nenvironment:\n GOPATH: C:\gopath\nbuild_script:\n- cmd: >-\n go version\n\n
dataset_sample\yaml\grafana_loki\vendor\github.com\spf13\afero\appveyor.yml
appveyor.yml
YAML
276
0.8
0
0.222222
vue-tools
737
2023-10-09T08:19:19.691142
MIT
false
6106d62c5b6489105ca04bcc0697fab4
sudo: false\n\nlanguage: go\n\ngo:\n - 1.9.x\n - 1.10.x\n - 1.11.x\n - tip\n\nmatrix:\n allow_failures:\n - go: tip\n\ninstall:\n - go get golang.org/x/lint/golint\n - export PATH=$GOPATH/bin:$PATH\n - go install ./...\n\nscript:\n - verify/all.sh -v\n - go test ./...\n
dataset_sample\yaml\grafana_loki\vendor\github.com\spf13\pflag\.travis.yml
.travis.yml
YAML
261
0.7
0
0
python-kit
574
2023-10-22T19:05:56.779417
BSD-3-Clause
false
f504718ab320acb1939add99896255f7
engines:\n gofmt:\n enabled: true\n golint:\n enabled: true\n govet:\n enabled: true\n\nexclude_patterns:\n- ".github/"\n- "vendor/"\n- "codegen/"\n- "*.yml"\n- ".*.yml"\n- "*.md"\n- "Gopkg.*"\n- "doc.go"\n- "type_specific_codegen_test.go"\n- "type_specific_codegen.go"\n- ".gitignore"\n- "LICENSE"\n
dataset_sample\yaml\grafana_loki\vendor\github.com\stretchr\objx\.codeclimate.yml
.codeclimate.yml
YAML
291
0.7
0
0
awesome-app
780
2025-05-28T10:15:04.080393
BSD-3-Clause
false
e562ab2d6bdcdea92e1777334824ba2d
version: '3'\n\ntasks:\n default:\n deps: [test]\n\n lint:\n desc: Checks code style\n cmds:\n - gofmt -d -s *.go\n - go vet ./...\n silent: true\n\n lint-fix:\n desc: Fixes code style\n cmds:\n - gofmt -w -s *.go\n\n test:\n desc: Runs go tests\n cmds:\n - go test -race ./...\n\n test-coverage:\n desc: Runs go tests and calculates test coverage\n cmds:\n - go test -race -coverprofile=c.out ./...\n
dataset_sample\yaml\grafana_loki\vendor\github.com\stretchr\objx\Taskfile.yml
Taskfile.yml
YAML
435
0.7
0
0
node-utils
445
2024-05-19T10:14:28.543322
GPL-3.0
false
3d1a878f7a54a73dde3ef6efec96e4b5
# This file contains all available configuration options\n# with their default values.\n\n# options for analysis running\nrun:\n # timeout for analysis, e.g. 30s, 5m, default is 1m\n deadline: 5m\n\n # exit code when at least one issue was found, default is 1\n issues-exit-code: 1\n\n # which dirs to skip: they won't be analyzed;\n # can use regexp here: generated.*, regexp is applied on full path;\n # default value is empty list, but next dirs are always skipped independently\n # from this option's value:\n # vendor$, third_party$, testdata$, examples$, Godeps$, builtin$\n skip-dirs: vendor\n\n# output configuration options\noutput:\n # colored-line-number|line-number|json|tab|checkstyle, default is "colored-line-number"\n format: colored-line-number\n\n # print lines of code with issue, default is true\n print-issued-lines: true\n\n # print linter name in the end of issue text, default is true\n print-linter-name: true\n\nlinters:\n enable:\n # Sorted alphabetically.\n - deadcode\n - errcheck\n - goconst\n - godot\n - gofmt\n - goimports\n - gosimple\n - govet\n - ineffassign\n - misspell\n - staticcheck\n - structcheck\n - typecheck\n - unparam\n - unused\n - varcheck\n - exportloopref\n - promlinter\n\nlinters-settings:\n errcheck:\n exclude: ./.errcheck_excludes.txt\n misspell:\n locale: US\n goconst:\n min-occurrences: 5\n\nissues:\n exclude-rules:\n # We don't check metrics naming in the tests.\n - path: _test\.go\n linters:\n - promlinter\n
dataset_sample\yaml\grafana_loki\vendor\github.com\thanos-io\objstore\.golangci.yml
.golangci.yml
YAML
1,514
0.95
0.030769
0.285714
python-kit
326
2024-03-15T22:15:13.660688
Apache-2.0
false
4f47d00de7aaab2a067abe59e4caefbd
env:\n CIRRUS_CLONE_DEPTH: 1\n GO_VERSION: go1.21.3\n\nfreebsd_12_task:\n freebsd_instance:\n image_family: freebsd-12-3\n install_script: |\n pkg install -y go\n GOBIN=$PWD/bin go install golang.org/dl/${GO_VERSION}@latest\n bin/${GO_VERSION} download\n build_script: bin/${GO_VERSION} build -v ./...\n test_script: bin/${GO_VERSION} test -race ./...\n\nfreebsd_13_task:\n freebsd_instance:\n image_family: freebsd-13-0\n install_script: |\n pkg install -y go\n GOBIN=$PWD/bin go install golang.org/dl/${GO_VERSION}@latest\n bin/${GO_VERSION} download\n build_script: bin/${GO_VERSION} build -v ./...\n test_script: bin/${GO_VERSION} test -race ./...\n
dataset_sample\yaml\grafana_loki\vendor\github.com\tklauser\go-sysconf\.cirrus.yml
.cirrus.yml
YAML
664
0.7
0
0
python-kit
579
2024-08-10T08:46:47.942688
MIT
false
402ebe0899c5675bf79bf6f89676c55a
env:\n CIRRUS_CLONE_DEPTH: 1\n GO_VERSION: go1.21.3\n\nfreebsd_12_task:\n freebsd_instance:\n image_family: freebsd-12-3\n install_script: |\n pkg install -y go\n GOBIN=$PWD/bin go install golang.org/dl/${GO_VERSION}@latest\n bin/${GO_VERSION} download\n build_script: bin/${GO_VERSION} build -buildvcs=false -v ./...\n test_script: bin/${GO_VERSION} test -buildvcs=false -race ./...\n
dataset_sample\yaml\grafana_loki\vendor\github.com\tklauser\numcpus\.cirrus.yml
.cirrus.yml
YAML
390
0.7
0
0
vue-tools
313
2023-12-02T21:38:10.474131
GPL-3.0
false
90fe9874ebeb5bb0051b9a365b60f843
sudo: required\n\nlanguage: go\ngo_import_path: github.com/uber/jaeger-client-go\n\ndist: trusty\n\nmatrix:\n include:\n # - go: 1.15.x\n # env:\n # - TESTS=true\n # - USE_DEP=true\n # - COVERAGE=true\n - go: 1.15.x\n env:\n - USE_DEP=true\n - CROSSDOCK=true\n # - go: 1.15.x\n # env:\n # - TESTS=true\n # - USE_DEP=false\n # - USE_GLIDE=true\n # test with previous version of Go\n # - go: 1.14.x\n # env:\n # - TESTS=true\n # - USE_DEP=true\n # - CI_SKIP_LINT=true\n\nservices:\n - docker\n\nenv:\n global:\n - DOCKER_COMPOSE_VERSION=1.8.0\n - COMMIT=${TRAVIS_COMMIT::8}\n # DOCKER_PASS\n - secure: "CnjVyxNvMC/dhr/eR7C+FiWucZ4/O5LfAuz9YU0qlnV6XLR7XXRtzZlfFKIImJT6xHp+OptTqAIXqUbvwK2OXDP1ZsLiWRm+2elb9/isGusWXjs3g817lX8njSUcIFILbfi+vAE7UD2BKjHxpmvWmCZidisU1rcaZ9OQNPqMnNIDxVx0FOTwYx+2hfkdjnN5dikzafBDQ6ZZV/mGbcaTG45GGFU6DHyVLzf9qCPXyXnz2+VDhcoPQsYkzE56XHCmHxvEfXxgfqYefJNUlFPhniAQySVsCNVDJ8QcCV6uHaXoIzxJKx9FdUnWKI1/AtpQsTZPgEm4Ujnt+kGJsXopXy2Xx4MZxmcTCBwAMjZxPMF7KoojbtDeOZgEMtf1tGPN6DTNc3NpVmr0BKZ44lhqk+vnd8HAiC1tHDEoSb1Esl7dMUUf1qZAh3MtT+NYi3mTwyx/ilXUS7KPyy7x0ezB3kGuMoLhvR2hrprqRr5NOV2hrd1au+IXmb+4IanFOsBlceBfs8P0JFMO/aw15r+HimSZpQsJx//IT0LReCZYXLe0/WVsF/8+HDwHKlO99gGpk4iXlNKKvdPWabihMp3I3peMrvL+jnlwh47RqHs/0Q71xsKjVWTn+Svq3FpVP0Pgyxhg+oG4WEByBiLnBQcZwSBhWexkJrNI73GzaZiIldk="\n # DOCKER_USER\n - secure: "bpBSmypHzI4PnteM4cwLiMC2163Sj/4mEl+1dj+6NWl2tr1hREeVXKhsWBpah25n6BDyr2A4yhBZcWLaNKrsCKT3U37csAQTOFVeQ9x5xhPq+ohANd/OsspFsxNZaKwx161LizH/uTDotMxxevZacsyYWGNv/cRFkwcQ8upLkReRR6puJ+jNQC0BFpKWBJY/zpm5J7xFb7FO20LvQVyRgsgzqWmg9oRNVw9uwOfSY3btacftYctDLUbAr8YRNHd2C6dZnMAi8KdDTLXKTqjKmp6WidOmi92Ml7tOjB+bV6TOaVAhrcI5Rdje4rRWG4MucAjPMP0ZBW36KTfcGqFUcDhX7UqISe2WxoI+8ZD6fJ+nNtD3bk4YAUJB4BSs2sQdiYyjpHyGJR6RW50+3uRz2YbXpzVr9wqv2lZSl/xy3wC5Hag55uqzVlSiDw2pK8lctT3dnQveE7PqAI577PjF2NrHlgrBbykOwwUCNbRTmykzqoDnkxclmiZ+rflEeWsSYglePK/d6Gj9+N7wJZM5heprdJJMFTrzMWZ21Ll9ZGY9updCBKmJA8pBYiLHbu0lWOp+9QUGC+621Zq0d1PHhN6L4eXk/f3RNoZTr//cX6WdNmmO7tBbaGpmp/UYiYTY1WO9vP7tCDsT75k285HCfnIrlGRdbCZZbfuYNGPKIQ0="\n\ninstall:\n - make install-ci USE_DEP=$USE_DEP\n - if [ "$CROSSDOCK" == true ]; then bash ./travis/install-crossdock-deps.sh ; fi\n\nscript:\n - if [ "$TESTS" == true ]; then make test-ci ; else echo 'skipping tests'; fi\n - if [ "$CROSSDOCK" == true ]; then bash ./travis/build-crossdock.sh ; else echo 'skipping crossdock'; fi\n\nafter_success:\n - if [ "$COVERAGE" == true ]; then mv cover.out coverage.txt ; else echo 'skipping coverage'; fi\n - if [ "$COVERAGE" == true ]; then bash <(curl -s https://codecov.io/bash) ; else echo 'skipping coverage'; fi\n\nafter_failure:\n - if [ "$CROSSDOCK" == true ]; then timeout 5 docker-compose -f crossdock/docker-compose.yml logs; fi\n
dataset_sample\yaml\grafana_loki\vendor\github.com\uber\jaeger-client-go\.travis.yml
.travis.yml
YAML
2,708
0.95
0.107143
0.382979
vue-tools
163
2023-07-13T19:56:09.823865
BSD-3-Clause
false
56f43a049454981d6fbdea93132a0aec
language: go\n\nsudo: false\n\nbranches:\n except:\n - release\n\nbranches:\n only:\n - master\n - travis\n\ngo:\n - "1.11.x"\n - tip\n\nmatrix:\n allow_failures:\n - go: tip\n\nbefore_install:\n - if [ -n "$GH_USER" ]; then git config --global github.user ${GH_USER}; fi;\n - if [ -n "$GH_TOKEN" ]; then git config --global github.token ${GH_TOKEN}; fi;\n - go get github.com/mattn/goveralls\n\nbefore_script:\n - make deps\n\nscript:\n - make qa\n\nafter_failure:\n - cat ./target/test/report.xml\n\nafter_success:\n - if [ "$TRAVIS_GO_VERSION" = "1.11.1" ]; then $HOME/gopath/bin/goveralls -covermode=count -coverprofile=target/report/coverage.out -service=travis-ci; fi;\n
dataset_sample\yaml\grafana_loki\vendor\github.com\willf\bitset\.travis.yml
.travis.yml
YAML
663
0.7
0.081081
0
vue-tools
922
2024-02-14T07:48:23.485471
BSD-3-Clause
false
9f88f79c62e770a313fa6cb5e1357f80
# Go\n# Build your Go project.\n# Add steps that test, save build artifacts, deploy, and more:\n# https://docs.microsoft.com/azure/devops/pipelines/languages/go\n\ntrigger:\n- master\n\npool:\n vmImage: 'Ubuntu-16.04'\n\nvariables:\n GOBIN: '$(GOPATH)/bin' # Go binaries path\n GOROOT: '/usr/local/go1.11' # Go installation path\n GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path\n modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code\n\nsteps:\n- script: |\n mkdir -p '$(GOBIN)'\n mkdir -p '$(GOPATH)/pkg'\n mkdir -p '$(modulePath)'\n shopt -s extglob\n shopt -s dotglob\n mv !(gopath) '$(modulePath)'\n echo '##vso[task.prependpath]$(GOBIN)'\n echo '##vso[task.prependpath]$(GOROOT)/bin'\n displayName: 'Set up the Go workspace'\n\n- script: |\n go version\n go get -v -t -d ./...\n if [ -f Gopkg.toml ]; then\n curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh\n dep ensure\n fi\n go build -v .\n workingDirectory: '$(modulePath)'\n displayName: 'Get dependencies, then build'\n
dataset_sample\yaml\grafana_loki\vendor\github.com\willf\bitset\azure-pipelines.yml
azure-pipelines.yml
YAML
1,088
0.8
0.025641
0.117647
awesome-app
560
2025-03-24T16:39:58.264095
BSD-3-Clause
false
910449991284db2e2701c068eac66862
language: go\n\nsudo: false\n\nbranches:\n except:\n - release\n\nbranches:\n only:\n - master\n - develop\n - travis\n\ngo:\n - 1.8\n - tip\n\nmatrix:\n allow_failures:\n - go: tip\n\nbefore_install:\n - if [ -n "$GH_USER" ]; then git config --global github.user ${GH_USER}; fi;\n - if [ -n "$GH_TOKEN" ]; then git config --global github.token ${GH_TOKEN}; fi;\n - go get github.com/mattn/goveralls\n\nbefore_script:\n - make deps\n\nscript:\n - make qa\n\nafter_failure:\n - cat ./target/test/report.xml\n\nafter_success:\n - if [ "$TRAVIS_GO_VERSION" = "1.8" ]; then $HOME/gopath/bin/goveralls -covermode=count -coverprofile=target/report/coverage.out -service=travis-ci; fi;\n
dataset_sample\yaml\grafana_loki\vendor\github.com\willf\bloom\.travis.yml
.travis.yml
YAML
669
0.7
0.078947
0
node-utils
627
2025-06-27T05:45:35.559230
GPL-3.0
false
f86820e41b8de5925f7cd918fedb7a63
language: go\n\ngo:\n - 1.11.x\n\nenv:\n - GO111MODULE=on \n \nscript:\n - go test -short -coverprofile=coverage.txt -covermode=count ./...\n\nafter_success:\n - bash <(curl -s https://codecov.io/bash) \n
dataset_sample\yaml\grafana_loki\vendor\github.com\x448\float16\.travis.yml
.travis.yml
YAML
197
0.8
0
0
python-kit
381
2024-05-14T08:03:23.885285
GPL-3.0
false
773d8d82e81a1db1741743c8ad3b9b7d
# See https://github.com/golangci/golangci-lint#config-file\nrun:\n issues-exit-code: 1 #Default\n tests: true #Default\n\nlinters:\n # Disable everything by default so upgrades to not include new "default\n # enabled" linters.\n disable-all: true\n # Specifically enable linters we want to use.\n enable:\n - asasalint\n - bodyclose\n - depguard\n - errcheck\n - errorlint\n - godot\n - gofumpt\n - goimports\n - gosec\n - gosimple\n - govet\n - ineffassign\n - misspell\n - perfsprint\n - revive\n - staticcheck\n - testifylint\n - typecheck\n - unconvert\n - unused\n - unparam\n - usestdlibvars\n - usetesting\n\nissues:\n # Maximum issues count per one linter.\n # Set to 0 to disable.\n # Default: 50\n # Setting to unlimited so the linter only is run once to debug all issues.\n max-issues-per-linter: 0\n # Maximum count of issues with the same text.\n # Set to 0 to disable.\n # Default: 3\n # Setting to unlimited so the linter only is run once to debug all issues.\n max-same-issues: 0\n # Excluding configuration per-path, per-linter, per-text and per-source.\n exclude-rules:\n # TODO: Having appropriate comments for exported objects helps development,\n # even for objects in internal packages. Appropriate comments for all\n # exported objects should be added and this exclusion removed.\n - path: '.*internal/.*'\n text: "exported (method|function|type|const) (.+) should have comment or be unexported"\n linters:\n - revive\n # Yes, they are, but it's okay in a test.\n - path: _test\.go\n text: "exported func.*returns unexported type.*which can be annoying to use"\n linters:\n - revive\n # Example test functions should be treated like main.\n - path: example.*_test\.go\n text: "calls to (.+) only in main[(][)] or init[(][)] functions"\n linters:\n - revive\n # It's okay to not run gosec and perfsprint in a test.\n - path: _test\.go\n linters:\n - gosec\n - perfsprint\n # Ignoring gosec G404: Use of weak random number generator (math/rand instead of crypto/rand)\n # as we commonly use it in tests and examples.\n - text: "G404:"\n linters:\n - gosec\n # Ignoring gosec G402: TLS MinVersion too low\n # as the https://pkg.go.dev/crypto/tls#Config handles MinVersion default well.\n - text: "G402: TLS MinVersion too low."\n linters:\n - gosec\n include:\n # revive exported should have comment or be unexported.\n - EXC0012\n # revive package comment should be of the form ...\n - EXC0013\n\nlinters-settings:\n depguard:\n rules:\n non-tests:\n files:\n - "!$test"\n - "!**/*test/*.go"\n - "!**/internal/matchers/*.go"\n deny:\n - pkg: "testing"\n - pkg: "github.com/stretchr/testify"\n - pkg: "crypto/md5"\n - pkg: "crypto/sha1"\n - pkg: "crypto/**/pkix"\n auto/sdk:\n files:\n - "!internal/global/trace.go"\n - "~internal/global/trace_test.go"\n deny:\n - pkg: "go.opentelemetry.io/auto/sdk"\n desc: Do not use SDK from automatic instrumentation.\n otlp-internal:\n files:\n - "!**/exporters/otlp/internal/**/*.go"\n deny:\n - pkg: "go.opentelemetry.io/otel/exporters/otlp/internal"\n desc: Do not use cross-module internal packages.\n otlptrace-internal:\n files:\n - "!**/exporters/otlp/otlptrace/*.go"\n - "!**/exporters/otlp/otlptrace/internal/**.go"\n deny:\n - pkg: "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal"\n desc: Do not use cross-module internal packages.\n otlpmetric-internal:\n files:\n - "!**/exporters/otlp/otlpmetric/internal/*.go"\n - "!**/exporters/otlp/otlpmetric/internal/**/*.go"\n deny:\n - pkg: "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal"\n desc: Do not use cross-module internal packages.\n otel-internal:\n files:\n - "**/sdk/*.go"\n - "**/sdk/**/*.go"\n - "**/exporters/*.go"\n - "**/exporters/**/*.go"\n - "**/schema/*.go"\n - "**/schema/**/*.go"\n - "**/metric/*.go"\n - "**/metric/**/*.go"\n - "**/bridge/*.go"\n - "**/bridge/**/*.go"\n - "**/trace/*.go"\n - "**/trace/**/*.go"\n - "**/log/*.go"\n - "**/log/**/*.go"\n deny:\n - pkg: "go.opentelemetry.io/otel/internal$"\n desc: Do not use cross-module internal packages.\n - pkg: "go.opentelemetry.io/otel/internal/attribute"\n desc: Do not use cross-module internal packages.\n - pkg: "go.opentelemetry.io/otel/internal/internaltest"\n desc: Do not use cross-module internal packages.\n - pkg: "go.opentelemetry.io/otel/internal/matchers"\n desc: Do not use cross-module internal packages.\n godot:\n exclude:\n # Exclude links.\n - '^ *\[[^]]+\]:'\n # Exclude sentence fragments for lists.\n - '^[ ]*[-•]'\n # Exclude sentences prefixing a list.\n - ':$'\n goimports:\n local-prefixes: go.opentelemetry.io\n misspell:\n locale: US\n ignore-words:\n - cancelled\n perfsprint:\n err-error: true\n errorf: true\n int-conversion: true\n sprintf1: true\n strconcat: true\n revive:\n # Sets the default failure confidence.\n # This means that linting errors with less than 0.8 confidence will be ignored.\n # Default: 0.8\n confidence: 0.01\n # https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md\n rules:\n - name: blank-imports\n - name: bool-literal-in-expr\n - name: constant-logical-expr\n - name: context-as-argument\n disabled: true\n arguments:\n - allowTypesBefore: "*testing.T"\n - name: context-keys-type\n - name: deep-exit\n - name: defer\n arguments:\n - ["call-chain", "loop"]\n - name: dot-imports\n - name: duplicated-imports\n - name: early-return\n arguments:\n - "preserveScope"\n - name: empty-block\n - name: empty-lines\n - name: error-naming\n - name: error-return\n - name: error-strings\n - name: errorf\n - name: exported\n arguments:\n - "sayRepetitiveInsteadOfStutters"\n - name: flag-parameter\n - name: identical-branches\n - name: if-return\n - name: import-shadowing\n - name: increment-decrement\n - name: indent-error-flow\n arguments:\n - "preserveScope"\n - name: package-comments\n - name: range\n - name: range-val-in-closure\n - name: range-val-address\n - name: redefines-builtin-id\n - name: string-format\n arguments:\n - - panic\n - '/^[^\n]*$/'\n - must not contain line breaks\n - name: struct-tag\n - name: superfluous-else\n arguments:\n - "preserveScope"\n - name: time-equal\n - name: unconditional-recursion\n - name: unexported-return\n - name: unhandled-error\n arguments:\n - "fmt.Fprint"\n - "fmt.Fprintf"\n - "fmt.Fprintln"\n - "fmt.Print"\n - "fmt.Printf"\n - "fmt.Println"\n - name: unnecessary-stmt\n - name: useless-break\n - name: var-declaration\n - name: var-naming\n arguments:\n - ["ID"] # AllowList\n - ["Otel", "Aws", "Gcp"] # DenyList\n - name: waitgroup-by-value\n testifylint:\n enable-all: true\n disable:\n - float-compare\n - go-require\n - require-error\n
dataset_sample\yaml\grafana_loki\vendor\go.opentelemetry.io\otel\.golangci.yml
.golangci.yml
YAML
7,653
0.95
0.02381
0.128514
awesome-app
451
2025-03-09T23:57:04.718282
GPL-3.0
false
202721b5552753e3861b6e195cb29097
coverage:\n range: 80..100\n round: down\n precision: 2\n\n status:\n project: # measuring the overall project coverage\n default: # context, you can create multiple ones with custom titles\n enabled: yes # must be yes|true to enable this status\n target: 100 # specify the target coverage for each commit status\n # option: "auto" (must increase from parent commit or pull request base)\n # option: "X%" a static target percentage to hit\n if_not_found: success # if parent is not found report status as success, error, or failure\n if_ci_failed: error # if ci fails report status as success, error, or failure\n\n# Also update COVER_IGNORE_PKGS in the Makefile.\nignore:\n - /internal/gen-atomicint/\n - /internal/gen-valuewrapper/\n
dataset_sample\yaml\grafana_loki\vendor\go.uber.org\atomic\.codecov.yml
.codecov.yml
YAML
881
0.8
0.157895
0.176471
python-kit
802
2025-03-13T13:46:54.921293
GPL-3.0
false
96d4475026980e493ad0f56942cf2e2d
output:\n # Make output more digestible with quickfix in vim/emacs/etc.\n sort-results: true\n print-issued-lines: false\n\nlinters:\n enable:\n - gofumpt\n - nolintlint\n - revive\n\nlinters-settings:\n govet:\n # These govet checks are disabled by default, but they're useful.\n enable:\n - niliness\n - reflectvaluecompare\n - sortslice\n - unusedwrite\n\nissues:\n # Print all issues reported by all linters.\n max-issues-per-linter: 0\n max-same-issues: 0\n\n # Don't ignore some of the issues that golangci-lint considers okay.\n # This includes documenting all exported entities.\n exclude-use-default: false\n
dataset_sample\yaml\grafana_loki\vendor\go.uber.org\goleak\.golangci.yml
.golangci.yml
YAML
635
0.8
0
0.208333
react-lib
809
2024-07-18T15:23:35.688852
Apache-2.0
false
0f7fbc2a02ff0c3d66ab60b306590bf7
coverage:\n range: 80..100\n round: down\n precision: 2\n\n status:\n project: # measuring the overall project coverage\n default: # context, you can create multiple ones with custom titles\n enabled: yes # must be yes|true to enable this status\n target: 100 # specify the target coverage for each commit status\n # option: "auto" (must increase from parent commit or pull request base)\n # option: "X%" a static target percentage to hit\n if_not_found: success # if parent is not found report status as success, error, or failure\n if_ci_failed: error # if ci fails report status as success, error, or failure\n\n
dataset_sample\yaml\grafana_loki\vendor\go.uber.org\multierr\.codecov.yml
.codecov.yml
YAML
763
0.8
0.2
0.153846
vue-tools
707
2024-04-25T06:49:15.574840
GPL-3.0
false
47a21b3ecf2c1abbbffc83074925a3c0
coverage:\n range: 80..100\n round: down\n precision: 2\n\n status:\n project: # measuring the overall project coverage\n default: # context, you can create multiple ones with custom titles\n enabled: yes # must be yes|true to enable this status\n target: 95% # specify the target coverage for each commit status\n # option: "auto" (must increase from parent commit or pull request base)\n # option: "X%" a static target percentage to hit\n if_not_found: success # if parent is not found report status as success, error, or failure\n if_ci_failed: error # if ci fails report status as success, error, or failure\nignore:\n - internal/readme/readme.go\n\n
dataset_sample\yaml\grafana_loki\vendor\go.uber.org\zap\.codecov.yml
.codecov.yml
YAML
801
0.8
0.176471
0.133333
node-utils
935
2024-12-08T12:35:04.569368
GPL-3.0
false
322c63b6b124b9e5ab95491701bf47fb
output:\n # Make output more digestible with quickfix in vim/emacs/etc.\n sort-results: true\n print-issued-lines: false\n\nlinters:\n # We'll track the golangci-lint default linters manually\n # instead of letting them change without our control.\n disable-all: true\n enable:\n # golangci-lint defaults:\n - errcheck\n - gosimple\n - govet\n - ineffassign\n - staticcheck\n - unused\n\n # Our own extras:\n - gofumpt\n - nolintlint # lints nolint directives\n - revive\n\nlinters-settings:\n govet:\n # These govet checks are disabled by default, but they're useful.\n enable:\n - niliness\n - reflectvaluecompare\n - sortslice\n - unusedwrite\n\n errcheck:\n exclude-functions:\n # These methods can not fail.\n # They operate on an in-memory buffer.\n - (*go.uber.org/zap/buffer.Buffer).Write\n - (*go.uber.org/zap/buffer.Buffer).WriteByte\n - (*go.uber.org/zap/buffer.Buffer).WriteString\n\n - (*go.uber.org/zap/zapio.Writer).Close\n - (*go.uber.org/zap/zapio.Writer).Sync\n - (*go.uber.org/zap/zapio.Writer).Write\n # Write to zapio.Writer cannot fail,\n # so io.WriteString on it cannot fail.\n - io.WriteString(*go.uber.org/zap/zapio.Writer)\n\n # Writing a plain string to a fmt.State cannot fail.\n - io.WriteString(fmt.State)\n\nissues:\n # Print all issues reported by all linters.\n max-issues-per-linter: 0\n max-same-issues: 0\n\n # Don't ignore some of the issues that golangci-lint considers okay.\n # This includes documenting all exported entities.\n exclude-use-default: false\n\n exclude-rules:\n # Don't warn on unused parameters.\n # Parameter names are useful; replacing them with '_' is undesirable.\n - linters: [revive]\n text: 'unused-parameter: parameter \S+ seems to be unused, consider removing or renaming it as _'\n\n # staticcheck already has smarter checks for empty blocks.\n # revive's empty-block linter has false positives.\n # For example, as of writing this, the following is not allowed.\n # for foo() { }\n - linters: [revive]\n text: 'empty-block: this block is empty, you can remove it'\n\n # Ignore logger.Sync() errcheck failures in example_test.go\n # since those are intended to be uncomplicated examples.\n - linters: [errcheck]\n path: example_test.go\n text: 'Error return value of `logger.Sync` is not checked'\n
dataset_sample\yaml\grafana_loki\vendor\go.uber.org\zap\.golangci.yml
.golangci.yml
YAML
2,386
0.95
0.025974
0.333333
vue-tools
248
2023-11-11T17:06:16.878067
MIT
false
b126debe5c78b49b8d216daa58b8968a
language: go\n\ngo:\n - tip\n\ninstall:\n - export GOPATH="$HOME/gopath"\n - mkdir -p "$GOPATH/src/golang.org/x"\n - mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/golang.org/x/oauth2"\n - go get -v -t -d golang.org/x/oauth2/...\n\nscript:\n - go test -v golang.org/x/oauth2/...\n
dataset_sample\yaml\grafana_loki\vendor\golang.org\x\oauth2\.travis.yml
.travis.yml
YAML
262
0.7
0
0
awesome-app
9
2024-07-10T19:41:29.053735
GPL-3.0
false
1a68e7809045200cda2e2ed6fc4f5890
sudo: false\nlanguage: go\n\ngo:\n - 1.8.x\n - 1.9.x\n - tip\n\nmatrix:\n allow_failures:\n - go: tip\n fast_finish: true\n\nbefore_script:\n - go get -u github.com/golang/lint/golint\n\nscript:\n - go test -v --race ./...\n\nafter_script:\n - test -z "$(gofmt -s -l -w . | tee /dev/stderr)"\n - test -z "$(golint ./... | tee /dev/stderr)"\n - go vet ./...\n\nos:\n - linux\n - osx\n\nnotifications:\n email: false\n
dataset_sample\yaml\grafana_loki\vendor\gopkg.in\fsnotify\fsnotify.v1\.travis.yml
.travis.yml
YAML
406
0.7
0
0
vue-tools
660
2024-09-08T04:27:36.357137
Apache-2.0
false
8b47d7c305445080aec422e601475677
language: go\n\ngo:\n - "1.4.x"\n - "1.5.x"\n - "1.6.x"\n - "1.7.x"\n - "1.8.x"\n - "1.9.x"\n - "1.10.x"\n - "1.11.x"\n - "1.12.x"\n - "1.13.x"\n - "1.14.x"\n - "tip"\n\ngo_import_path: gopkg.in/yaml.v2\n
dataset_sample\yaml\grafana_loki\vendor\gopkg.in\yaml.v2\.travis.yml
.travis.yml
YAML
223
0.85
0
0
awesome-app
229
2025-07-07T17:36:48.173794
BSD-3-Clause
false
2d12342affd6d5ea1bb8148206423ec3
language: go\narch: arm64\ndist: focal\ngo: 1.15.x\nscript:\n - diff -u <(echo -n) <(gofmt -d *.go)\n - diff -u <(echo -n) <(golint $(go list -e ./...) | grep -v YAMLToJSON)\n - GO111MODULE=on go vet .\n - GO111MODULE=on go test -v -race ./...\n - git diff --exit-code\ninstall:\n - GO111MODULE=off go get golang.org/x/lint/golint\n
dataset_sample\yaml\grafana_loki\vendor\sigs.k8s.io\yaml\.travis.yml
.travis.yml
YAML
326
0.7
0
0
react-lib
585
2023-09-17T04:22:31.046018
Apache-2.0
false
80c3e7b46ca42256453e99bc0225f319
issues:\n exclude-dirs:\n - (^|/)node_modules/\n - ^api/gen/\n - ^docs/\n - ^gen/\n - ^rfd/\n - ^web/\n exclude-dirs-use-default: false\n exclude-rules:\n - linters:\n - gosimple\n text: 'S1002: should omit comparison to bool constant'\n - linters:\n - revive\n text: 'exported: exported const'\n # TODO(hugoShaka): Remove once https://github.com/dominikh/go-tools/issues/1294 is fixed\n - linters:\n - unused\n path: 'integrations/operator/controllers/resources/(.+)_controller_test\.go'\n # TODO(codingllama): Remove once we move to grpc.NewClient.\n - linters: [staticcheck]\n text: 'grpc.Dial is deprecated'\n - linters: [staticcheck]\n text: 'grpc.DialContext is deprecated'\n # Deprecated gRPC dial options. Related to grpc.NewClient.\n - path: (client/client.go|client/proxy/client_test.go) # api/\n linters: [staticcheck]\n # grpc.FailOnNonTempDialError\n # grpc.WithReturnConnectionError\n text: 'this DialOption is not supported by NewClient'\n - path: lib/kube/grpc/grpc_test.go\n linters: [staticcheck]\n text: 'grpc.WithBlock is deprecated'\n - path: lib/observability/tracing/client.go\n linters: [staticcheck]\n text: 'grpc.WithBlock is deprecated'\n - path: integrations/lib/config.go\n linters: [staticcheck]\n text: 'grpc.WithReturnConnectionError is deprecated'\n - path: lib/service/service_test.go\n linters: [staticcheck]\n # grpc.WithReturnConnectionError\n # grpc.FailOnNonTempDialError\n text: 'this DialOption is not supported by NewClient'\n - path: integration/client_test.go\n linters: [staticcheck]\n text: 'grpc.WithReturnConnectionError is deprecated'\n - path: integration/integration_test.go\n linters: [staticcheck]\n text: 'grpc.WithBlock is deprecated'\n - path: lib/multiplexer/multiplexer_test.go\n linters: [staticcheck]\n text: 'grpc.WithBlock is deprecated'\n - path: provider/provider.go # integrations/terraform\n linters: [staticcheck]\n text: 'grpc.WithReturnConnectionError is deprecated'\n # BlockUntilContext should indeed be favored, this exception exists because\n # at this time there are too many offenders.\n - linters: [staticcheck]\n text: 'BlockUntil is deprecated: New code should prefer BlockUntilContext'\n # lib/utils/aws/ subpackages are allowed to use AWS SDK constructors.\n - path: lib/utils/aws/iamutils/iam.go\n linters: [forbidigo]\n text: 'iam.NewFromConfig'\n - path: lib/utils/aws/stsutils/sts.go\n linters: [forbidigo]\n text: 'sts.NewFromConfig'\n - path: lib/utils/aws/stsutils/sts_v1.go\n linters: [forbidigo]\n text: 'sts.New'\n - path: lib/utils/aws/stsutils/stscreds_v1.go\n linters: [forbidigo]\n text: 'stscreds.NewCredentials'\n exclude-use-default: true\n max-same-issues: 0\n max-issues-per-linter: 0\n uniq-by-line: false\n\nlinters:\n disable-all: true\n enable:\n - bodyclose\n - depguard\n - errorlint\n - gci\n - goimports\n - gosimple\n - govet\n - ineffassign\n - misspell\n - nolintlint\n - revive\n - sloglint\n - staticcheck\n - testifylint\n - unconvert\n - unused\n - forbidigo\n\nlinters-settings:\n depguard:\n rules:\n main:\n deny:\n - pkg: io/ioutil\n desc: 'use "io" or "os" packages instead'\n - pkg: math/rand$\n desc: 'use "math/rand/v2" or "crypto/rand" instead'\n - pkg: github.com/golang/protobuf\n desc: 'use "google.golang.org/protobuf"'\n - pkg: github.com/hashicorp/go-uuid\n desc: 'use "github.com/google/uuid" instead'\n - pkg: github.com/pborman/uuid\n desc: 'use "github.com/google/uuid" instead'\n - pkg: github.com/tj/assert\n desc: 'use "github.com/stretchr/testify/assert" instead'\n - pkg: go.uber.org/atomic\n desc: 'use "sync/atomic" instead'\n - pkg: golang.design\n desc: 'experimental project, not to be confused with official Go packages'\n - pkg: golang.org/x/exp/slices\n desc: 'use "slices" instead'\n - pkg: github.com/hashicorp/go-version\n desc: 'use "coreos/go-semver/semver" instead'\n - pkg: golang.org/x/mod/semver\n desc: 'use "coreos/go-semver/semver" instead'\n - pkg: github.com/microsoftgraph/msgraph-sdk-go\n desc: 'use "github.com/gravitational/teleport/lib/msgraph" instead'\n - pkg: github.com/cloudflare/cfssl\n desc: 'use "crypto" or "x/crypto" instead'\n - pkg: github.com/aws/aws-sdk-go/\n desc: 'use "aws-sdk-go-v2" instead'\n - pkg: github.com/aws/aws-sdk-go$\n desc: 'use "aws-sdk-go-v2" instead'\n # Prevent importing any additional logging libraries.\n logging:\n deny:\n - pkg: github.com/sirupsen/logrus\n desc: 'use "log/slog" instead'\n - pkg: github.com/siddontang/go-log/log\n desc: 'use "log/slog" instead'\n - pkg: github.com/siddontang/go/log\n desc: 'use "log/slog" instead'\n - pkg: github.com/mailgun/log\n desc: 'use "log/slog" instead'\n - pkg: github.com/saferwall/pe/log\n desc: 'use "log/slog" instead'\n - pkg: golang.org/x/exp/slog\n desc: 'use "log/slog" instead'\n # Prevent importing testify in production code.\n testify:\n files:\n # Tests can import testify\n - '!$test'\n # Exceptions\n # Remove these once they are complaint.\n - '!**/api/testhelpers/**'\n - '!**/e/lib/auth/ssotestlib.go'\n - '!**/e/lib/aws/identitycenter/test/**'\n - '!**/e/lib/idp/saml/testenv/**'\n - '!**/e/lib/operatortest/**'\n - '!**/e/tests/**'\n - '!**/lib/automaticupgrades/basichttp/servermock.go'\n - '!**/lib/auth/helpers.go'\n - '!**/lib/auth/keystore/testhelpers.go'\n - '!**/lib/auth/test/**'\n - '!**/lib/backend/test/**'\n - '!**/lib/events/athena/test.go'\n - '!**/lib/events/test/**'\n - '!**/lib/kube/proxy/utils_testing.go'\n - '!**/lib/services/suite/**'\n - '!**/lib/srv/mock.go'\n - '!**/lib/srv/db/redis/test.go'\n - '!**/lib/tbot/workloadidentity/workloadattest/podman/test_server.go'\n - '!**/lib/teleterm/gatewaytest/**'\n - '!**/lib/utils/testhelpers.go'\n - '!**/lib/utils/testutils/**'\n - '!**/integration/appaccess/fixtures.go'\n - '!**/integration/appaccess/jwt.go'\n - '!**/integration/appaccess/pack.go'\n - '!**/integration/db/fixture.go'\n - '!**/integration/hsm/helpers.go'\n - '!**/integration/helpers/**'\n - '!**/integration/proxy/proxy_helpers.go'\n - '!**/integrations/access/email/testlib/**'\n - '!**/integrations/access/datadog/testlib/**'\n - '!**/integrations/access/discord/testlib/**'\n - '!**/integrations/access/jira/testlib/**'\n - '!**/integrations/access/mattermost/testlib/**'\n - '!**/integrations/access/msteams/testlib/**'\n - '!**/integrations/access/opsgenie/testlib/**'\n - '!**/integrations/access/pagerduty/testlib/**'\n - '!**/integrations/access/servicenow/testlib/**'\n - '!**/integrations/access/slack/testlib/**'\n - '!**/integrations/lib/testing/integration/accessrequestsuite.go'\n - '!**/integrations/lib/testing/integration/app.go'\n - '!**/integrations/lib/testing/integration/authhelper.go'\n - '!**/integrations/lib/testing/integration/suite.go'\n - '!**/integrations/operator/controllers/resources/testlib/**'\n - '!**/tool/teleport/testenv/**'\n deny:\n - pkg: github.com/stretchr/testify\n desc: 'testify should not be imported outside of test code'\n # Prevent importing integration test helpers in production code.\n integration:\n files:\n # Tests can do anything\n - '!$test'\n - '!**/integration/**'\n - '!**/e/tests/**'\n - '!**/integrations/operator/controllers/resources/testlib/**'\n deny:\n - pkg: github.com/gravitational/teleport/integration\n desc: 'integration test should not be imported outside of intergation tests'\n allow:\n # integrations is explicitly allowed becuase the deny rule above\n # will match both integration and integrations, however only\n # integration should be denied.\n - github.com/gravitational/teleport/integrations\n list-mode: lax\n # Prevent importing testing in production code.\n testing:\n files:\n # Tests can do anything\n - '!$test'\n # Exceptions\n # Remove these once they are complaint.\n - '!**/api/testhelpers/**'\n - '!**/e/lib/auth/ssotestlib.go'\n - '!**/e/lib/aws/identitycenter/test/**'\n - '!**/e/lib/devicetrust/testenv/**'\n - '!**/e/lib/devicetrust/storage/storage.go'\n - '!**/e/lib/idp/saml/testenv/**'\n - '!**/e/lib/jamf/testenv/**'\n - '!**/e/lib/okta/api/oktaapitest/**'\n - '!**/e/lib/operatortest/**'\n - '!**/e/tests/**'\n - '!**/integration/**'\n - '!**/integrations/access/email/testlib/**'\n - '!**/integrations/access/msteams/testlib/**'\n - '!**/integrations/access/slack/testlib/**'\n - '!**/integrations/operator/controllers/resources/testlib/**'\n - '!**/lib/auth/helpers.go'\n - '!**/lib/auth/keystore/testhelpers.go'\n - '!**/lib/auth/test/**'\n - '!**/lib/automaticupgrades/basichttp/servermock.go'\n - '!**/lib/backend/test/**'\n - '!**/lib/cryptosuites/precompute.go'\n - '!**/lib/cryptosuites/internal/rsa/rsa.go'\n - '!**/lib/events/test/**'\n - '!**/lib/events/athena/test.go'\n - '!**/lib/fixtures/**'\n - '!**/lib/kube/proxy/utils_testing.go'\n - '!**/lib/modules/test.go'\n - '!**/lib/service/service.go'\n - '!**/lib/services/local/users.go'\n - '!**/lib/services/suite/**'\n - '!**/lib/srv/mock.go'\n - '!**/lib/srv/db/redis/test.go'\n - '!**/lib/tbot/workloadidentity/workloadattest/podman/test_server.go'\n - '!**/lib/teleterm/gatewaytest/**'\n - '!**/lib/utils/cli.go'\n - '!**/lib/utils/testhelpers.go'\n - '!**/lib/utils/testutils/**'\n - '!**/tool/teleport/testenv/**'\n deny:\n - pkg: testing\n desc: 'testing should not be imported outside of tests'\n # Prevent importing internal packages in client tools or packages containing\n # common interfaces consumed by them that are known to bloat binaries or break builds\n # because they only support a single platform.\n client-tools:\n files:\n # Tests can do anything\n - '!$test'\n - '**/tool/tbot/**'\n - '**/lib/tbot/**'\n - '**/tool/tctl/**'\n - '**/tool/tsh/**'\n - '**/lib/client/**'\n - '**/lib/services/**'\n - '**/lib/service/servicecfg/**'\n - '**/lib/reversetunnelclient/**'\n - '**/lib/auth/authclient/**'\n - '**/lib/cloud/imds/**'\n allow:\n - github.com/gravitational/teleport/lib/cloud/imds\n deny:\n - pkg: github.com/gravitational/teleport/lib/auth$\n desc: 'lib/auth should not be imported to prevent increasing binary size, prefer lib/auth/authclient instead'\n - pkg: github.com/gravitational/teleport/lib/cloud\n desc: 'lib/cloud should not be imported to prevent increasing binary size'\n - pkg: github.com/gravitational/teleport/lib/srv$\n desc: 'lib/srv prevents client tools from build on non-linux platforms'\n - pkg: github.com/gravitational/teleport/lib/web$\n desc: 'lib/web should not be imported to prevent increasing binary size'\n list-mode: lax\n # Prevent importing dependencies that require CGO into tools that are\n # meant to be built with CGO_ENABLED=0\n cgo:\n files:\n # Tests can do anything\n - '!$test'\n - '**/tool/tbot/**'\n - '**/lib/client/**'\n - '!**/lib/integrations/**'\n - '**/integrations/**'\n deny:\n - pkg: github.com/gravitational/teleport/lib/bpf\n desc: '"lib/bpf" requires CGO'\n - pkg: github.com/gravitational/teleport/lib/backend/lite\n desc: '"lib/backend/lite" requires CGO'\n - pkg: github.com/gravitational/teleport/lib/cgroup\n desc: '"lib/cgroup" requires CGO'\n - pkg: github.com/gravitational/teleport/lib/config\n desc: '"lib/config" requires CGO via "lib/pam" and "lib/backend/lite"'\n - pkg: github.com/gravitational/teleport/lib/desktop/rdp/rdpclient\n desc: '"lib/desktop/rdp/rdpclient" requires CGO'\n - pkg: github.com/gravitational/teleport/lib/devicetrust/authn$\n desc: '"lib/devicetrust/authn" requires CGO on darwin'\n - pkg: github.com/gravitational/teleport/lib/devicetrust/enroll\n desc: '"lib/devicetrust/enroll" requires CGO on darwin'\n - pkg: github.com/gravitational/teleport/lib/devicetrust/native\n desc: '"lib/devicetrust/native" requires CGO on darwin'\n - pkg: github.com/gravitational/teleport/lib/inventory/metadata\n desc: '"lib/inventory/metadata" requires CGO'\n - pkg: github.com/gravitational/teleport/lib/pam\n desc: '"lib/pam" requires CGO'\n - pkg: github.com/gravitational/teleport/lib/srv/uacc\n desc: '"lib/srv/uacc" requires CGO'\n - pkg: github.com/gravitational/teleport/lib/system/signal\n desc: '"lib/system/signal" requires CGO'\n - pkg: github.com/gravitational/teleport/lib/vnet/daemon\n desc: '"vnet/daemon" requires CGO'\n # Prevent importing go-cmp into production code. From the go-cmp docs:\n # > It is intended to only be used in tests, as performance is not a goal\n # > and it may panic if it cannot compare the values. Its propensity towards\n # > panicking means that its unsuitable for production environments where a\n # > spurious panic may be fatal.\n go-cmp:\n files:\n # Tests can do anything\n - '!$test'\n # Various test helpers defined outside _test.go files are allowed\n - '!**/integration/helpers/**'\n - '!**/integrations/operator/controllers/resources/testlib/**'\n - '!**/lib/auth/test/**'\n - '!**/lib/services/suite/**'\n # Non-compliant legacy code. These should be converted to compare by another mechanism\n # and be removed from this list in the future. Use caution before adding any additional\n # exclusions to this list.\n - '!**/e/lib/accesslist/equal.go'\n - '!**/e/lib/auth/saml.go'\n - '!**lib/services/authority.go'\n - '!**lib/services/compare.go'\n - '!**/lib/services/local/access_list.go'\n - '!**/lib/services/local/users.go'\n - '!**/lib/services/server.go'\n - '!**/lib/services/user.go'\n deny:\n - pkg: github.com/google/go-cmp/cmp\n desc: '"github.com/google/go-cmp/cmp" should only be used in tests'\n - pkg: github.com/google/go-cmp/cmp/cmpopts\n desc: '"github.com/google/go-cmp/cmp/cmpopts" should only be used in tests'\n errorlint:\n comparison: true\n asserts: true\n errorf: true\n gci:\n sections:\n - standard # Standard section: captures all standard packages.\n - default # Default section: contains all imports that could not be matched to another section type.\n - prefix(github.com/gravitational/teleport) # Custom section: groups all imports with the specified Prefix.\n - prefix(github.com/gravitational/teleport/integrations/terraform,github.com/gravitational/teleport/integrations/event-handler)\n skip-generated: true # Skip generated files.\n custom-order: true # Required for "sections" to take effect.\n misspell:\n locale: US\n nolintlint:\n allow-unused: true # Enabled because of conditional builds / build tags.\n require-explanation: true\n require-specific: true\n revive:\n rules:\n - name: unused-parameter\n disabled: true\n sloglint:\n context: all\n key-naming-case: snake\n static-msg: true\n forbidden-keys:\n - level\n - msg\n - source\n - time\n testifylint:\n disable-all: true\n enable:\n - bool-compare\n - compares\n - empty\n - error-is-as\n - error-nil\n - expected-actual\n - float-compare\n - len\n - suite-extra-assert-call\n - suite-thelper\n forbidigo:\n forbid:\n - p: '^rsa\.GenerateKey$'\n msg: 'generating RSA keys is slow, use lib/cryptosuites to generate an appropriate key type'\n # AWS SDK wrapped constructors.\n - p: '^iam\.NewFromConfig$'\n msg: 'Use iamutils.NewFromConfig'\n - p: '^sts\.NewFromConfig$'\n msg: 'Use stsutils.NewFromConfig'\n - p: '^sts\.New$'\n msg: 'Use stsutils.NewV1'\n - p: '^stscreds\.NewCredentials$'\n msg: 'Use stsutils.NewCredentials'\n - p: '^protojson\.Unmarshal$'\n msg: "use protojson.UnmarshalOptions and consider enabling DiscardUnknown"\n - p: '^jsonpb\.(?:Unmarshal|UnmarshalString|UnmarshalNext)$'\n msg: "use jsonpb.Unmarshaler and consider enabling AllowUnknownFields"\n\nrun:\n go: '1.24'\n build-tags: []\n timeout: 15m\n
dataset_sample\yaml\gravitational_teleport\.golangci.yml
.golangci.yml
YAML
17,774
0.95
0.006961
0.098131
python-kit
307
2023-08-19T18:14:07.951079
MIT
false
7a0ab841c274f794401312a8e84cfd93
"commit_message": "Fixed: New translations %original_file_name% from Crowdin"\n\n"files": [\n {\n "source" : "/resources/lang/en-US/**/*.php",\n # https://developer.crowdin.com/configuration-file/#placeholders\n "translation" : "/resources/lang/%locale%/**/%original_file_name%"\n }\n]\n
dataset_sample\yaml\grokability_snipe-it\crowdin.yml
crowdin.yml
YAML
289
0.8
0
0.125
python-kit
458
2025-03-18T16:21:39.145176
GPL-3.0
false
72361de76cb48e199d2b54872fb96d4d
# Compose file to spin up a local Snipe-IT for development.\n\nversion: '3'\n\nservices:\n snipeit:\n build:\n context: .\n dockerfile: Dockerfile.alpine\n container_name: snipeit\n ports:\n - "8000:80"\n depends_on:\n redis:\n # The default needs to be stated.\n condition: service_started\n mariadb:\n condition: service_healthy\n restart: true\n env_file:\n - .env.dev.docker\n\n mariadb:\n image: mariadb:11.5.2\n volumes:\n - db:/var/lib/mysql\n env_file:\n - .env.dev.docker\n ports:\n - "3306:3306"\n healthcheck:\n # https://mariadb.com/kb/en/using-healthcheck-sh/#compose-file-example\n test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]\n interval: 5s\n timeout: 2s\n retries: 5\n\n redis:\n image: redis:7.4.0\n\n mailhog:\n image: mailhog/mailhog:v1.0.1\n ports:\n # - 1025:1025\n - "8025:8025"\n\nvolumes:\n db: {}\n
dataset_sample\yaml\grokability_snipe-it\dev.docker-compose.yml
dev.docker-compose.yml
YAML
951
0.8
0.020833
0.095238
awesome-app
819
2025-04-28T09:42:45.079176
GPL-3.0
false
3bf840eb24f7e5b95dd30a155f2c0235
# Compose file for production.\n\nvolumes:\n db_data:\n storage:\n\nservices:\n app:\n image: snipe/snipe-it:${APP_VERSION:-latest}\n restart: unless-stopped\n volumes:\n - storage:/var/lib/snipeit\n ports:\n - "${APP_PORT:-8000}:80"\n depends_on:\n db:\n condition: service_healthy\n restart: true\n env_file:\n - .env\n\n db:\n image: mariadb:11.5.2\n restart: unless-stopped\n volumes:\n - db_data:/var/lib/mysql\n environment:\n MYSQL_DATABASE: ${DB_DATABASE}\n MYSQL_USER: ${DB_USERNAME}\n MYSQL_PASSWORD: ${DB_PASSWORD}\n MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}\n healthcheck:\n # https://mariadb.com/kb/en/using-healthcheck-sh/#compose-file-example\n test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]\n interval: 5s\n timeout: 1s\n retries: 5\n
dataset_sample\yaml\grokability_snipe-it\docker-compose.yml
docker-compose.yml
YAML
858
0.8
0.027027
0.058824
vue-tools
719
2024-11-26T02:33:42.801943
Apache-2.0
false
b4a08d686ee7ba6a8e5dbe7aaa93d4c2
# This file configures GitVersion 6.x to work with Terminal.Gui's GitFlow branching strategy.\n#\n# Terminal.Gui uses the GitFlow branching strategy.\n# https://gitversion.net/docs/learn/branching-strategies/gitflow/\n#\n# - We have two main branches: `v2_release` and `v2_develop`.\n# - `v2_release` is the main branch for V2 releases and matches the latest NuGet release package (e.g., 2.0.0);\n# prior to release, it uses pre-release labels (e.g., 2.0.0-prealpha.1).\n# - `v2_develop` is the development branch for V2 and always carries a pre-release label (e.g., 2.1.0-develop.1).\n# - Development happens on feature branches off `v2_develop`.\n# - For releases, we merge feature branches into `v2_develop`, then `v2_develop` into `v2_release`.\n# - The ./.github/workflows/publish.yml builds and publishes on pushes to `v2_develop` and `v2_release`.\n#\n# Branches:\n# - v1_release: Main branch for V1 (historical)\n# - v1_develop: Develop branch for V1 (historical)\n# - v2_release: Main branch for V2\n# - v2_develop: Develop branch for V2\n#\n# Package Naming:\n# - from v2_develop: 2.1.0-develop.1 (minor version increments)\n# - from v2_release (pre-release): 2.0.0-prealpha.1 or 2.0.0-beta.1\n# - from v2_release (release): 2.0.0 (patch version increments)\n#\nmode: ContinuousDelivery # GitVersion 6.x uses Mainline mode for GitFlow, focusing on main branch releases\n\n# We prefix our tags with 'v' or 'V' (e.g., v1.0.0)\ntag-prefix: '[vV]'\n\nbranches:\n\n # V2 Release Branch\n main:\n # Matches the v2_release branch\n regex: ^v2_release$\n # Uses 'prealpha' as pre-release label before official release\n label: prealpha\n # Increments patch version (x.y.z+1) on commits\n increment: Patch\n # Specifies v2_develop as the source branch\n source-branches: ['develop']\n\n # V2 Development Branch\n develop:\n # Matches the v2_develop branch\n regex: v2_develop\n # Adds 'develop' as pre-release label (e.g., 2.1.0-develop.1)\n label: develop\n # Increments minor version (x.y+1.z) on commits\n increment: Minor\n # No source branches specified as this is the root of development\n source-branches: []\n # Indicates this branch feeds into release branches\n tracks-release-branches: true\n\n # # V1 Branches - Included for historical reference\n # v1_develop:\n # regex: v1_develop\n # label: v1_develop\n # increment: Minor\n # source-branches: ['v1_release']\n # # Lower weight keeps V1 pre-releases sorted below V2\n # pre-release-weight: 100\n\n # v1_release:\n # regex: v1_release\n # # Empty label for stable releases\n # label: ''\n # increment: Patch\n # source-branches: ['v1_develop']\n\n # Pull Request Branches\n # Configures versioning for PRs (e.g., 2.0.0-pr.feature-123.1)\n pull-request:\n # Matches typical PR branch names\n regex: ^(pull|pull\-requests|pr)[/-]\n # Uses 'pr' prefix with branch name in the label (e.g., pr.feature-123)\n label: pr.{BranchName}\n # Inherits increment strategy from source branch\n increment: Inherit\n source-branches:\n - develop\n - main\n # High weight ensures PR versions sort after regular pre-releases\n pre-release-weight: 30000\n\n# Ignore specific commits if needed (currently empty)\nignore:\n sha: []
dataset_sample\yaml\gui-cs_Terminal.Gui\GitVersion.yml
GitVersion.yml
YAML
3,227
0.8
0.125
0.703704
vue-tools
142
2025-02-18T07:48:37.670851
GPL-3.0
false
d0119c05d6973fd45aa1485ce131629f