Skip to content

Commit 13c87ca

Browse files
committed
lint
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent 4ba77a2 commit 13c87ca

File tree

19 files changed

+188
-155
lines changed

19 files changed

+188
-155
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1+
---
12
version: 2
23
updates:
34
- package-ecosystem: "github-actions"
45
directory: "/"
56
schedule:
67
interval: weekly
78
- package-ecosystem: maven
8-
# excluding simpleclient_archive from the update is not possible, only includes are supported
9-
# when we use includes, we run into https://github.com/dependabot/dependabot-core/issues/10415 -
9+
# excluding simpleclient_archive from the update is not possible,
10+
# only includes are supported
11+
# when we use includes,
12+
# we run into https://github.com/dependabot/dependabot-core/issues/10415
1013
# even if we limit to 1 PR at a time
1114
# therefore we just rename pom.xml in simpleclient_archive for now
1215
# if this becomes a problem, we can move to renovate

.github/super-linter.env

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ VALIDATE_JAVASCRIPT_STANDARD=false
1212
# we have many duplicate code in our codebase for demo purposes
1313
VALIDATE_JSCPD=false
1414

15+
FILTER_REGEX_EXCLUDE=src/main/generated/.*|docs/themes/.*
16+
1517
FIX_ENV=true
18+
FIX_GO=true
1619
FIX_GOOGLE_JAVA_FORMAT=true
1720
FIX_JAVASCRIPT_PRETTIER=true
1821
FIX_JSON=true
@@ -21,5 +24,8 @@ FIX_JSONC_PRETTIER=true
2124
FIX_JSON_PRETTIER=true
2225
FIX_MARKDOWN=true
2326
FIX_MARKDOWN_PRETTIER=true
27+
FIX_PYTHON_BLACK=true
28+
FIX_PYTHON_ISORT=true
29+
FIX_PYTHON_PYINK=true
2430
FIX_SHELL_SHFMT=true
2531
FIX_YAML_PRETTIER=true

.github/workflows/acceptance-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: OpenTelemetry Acceptance Tests
23

34
on:

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Build
23

34
on:

.github/workflows/github-pages.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ name: Deploy Documentation to Github Pages
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: ["main"]
88

99
# Runs on pushes targeting the 1.0.x branch
1010
# todo revert this
11-
#on:
12-
# push:
13-
# branches:
14-
# - main
15-
# tags:
16-
# - "v*.*.*" # updates the version in the docs
11+
#on:
12+
# push:
13+
# branches:
14+
# - main
15+
# tags:
16+
# - "v*.*.*" # updates the version in the docs
1717

1818
# Allows you to run this workflow manually from the Actions tab
1919
workflow_dispatch:

.github/workflows/lint-rest.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ name: Acceptance Tests
33

44
on: [pull_request]
55

6-
permissions: {}
6+
permissions: { }
77

88
jobs:
99
acceptance-tests:
10-
permissions: {}
1110
runs-on: ubuntu-24.04
1211
steps:
1312
- name: Check out

.github/workflows/native-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: GraalVM Native Tests
23

34
on:
@@ -6,7 +7,7 @@ on:
67
pull_request:
78
branches: ["main"]
89

9-
permissions: {}
10+
permissions: { }
1011

1112
jobs:
1213
native-tests:

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Deploy to Maven Central
23

34
on:
@@ -9,7 +10,7 @@ jobs:
910
deploy:
1011
if: ${{ github.repository == 'prometheus/client_java' }}
1112
runs-on: ubuntu-24.04
12-
permissions: {}
13+
permissions: { }
1314

1415
steps:
1516
- name: Debug gpg key - remove after debugging

.yaml-lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
extends: relaxed
2+
3+
rules:
4+
line-length:
5+
max: 120

examples/example-exemplars-tail-sampling/config/grafana-datasources.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: 1
23

34
datasources:

0 commit comments

Comments
 (0)