Skip to content

Commit f08fd71

Browse files
committed
ignore line length
1 parent e62a97c commit f08fd71

File tree

8 files changed

+11
-0
lines changed

8 files changed

+11
-0
lines changed

gapic/templates/noxfile.py.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ def lint(session):
155155
"black",
156156
"--check",
157157
*LINT_PATHS,
158+
{# We're most interested in ensuring that code is formatted properly
159+
# and less concerned about the line length
160+
#}
161+
"--line-length=150",
158162
)
159163
160164
{% if api.naming.module_namespace %}

tests/integration/goldens/asset/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def lint(session):
157157
"black",
158158
"--check",
159159
*LINT_PATHS,
160+
"--line-length=150",
160161
)
161162

162163
session.run("flake8", "google", "tests")

tests/integration/goldens/credentials/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def lint(session):
157157
"black",
158158
"--check",
159159
*LINT_PATHS,
160+
"--line-length=150",
160161
)
161162

162163
session.run("flake8", "google", "tests")

tests/integration/goldens/eventarc/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def lint(session):
157157
"black",
158158
"--check",
159159
*LINT_PATHS,
160+
"--line-length=150",
160161
)
161162

162163
session.run("flake8", "google", "tests")

tests/integration/goldens/logging/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def lint(session):
157157
"black",
158158
"--check",
159159
*LINT_PATHS,
160+
"--line-length=150",
160161
)
161162

162163
session.run("flake8", "google", "tests")

tests/integration/goldens/logging_internal/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def lint(session):
157157
"black",
158158
"--check",
159159
*LINT_PATHS,
160+
"--line-length=150",
160161
)
161162

162163
session.run("flake8", "google", "tests")

tests/integration/goldens/redis/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def lint(session):
157157
"black",
158158
"--check",
159159
*LINT_PATHS,
160+
"--line-length=150",
160161
)
161162

162163
session.run("flake8", "google", "tests")

tests/integration/goldens/redis_selective/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def lint(session):
157157
"black",
158158
"--check",
159159
*LINT_PATHS,
160+
"--line-length=150",
160161
)
161162

162163
session.run("flake8", "google", "tests")

0 commit comments

Comments
 (0)