Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit b40c170

Browse files
committed
chore: update generated .flake8 configuration file
1 parent 629cf19 commit b40c170

8 files changed

Lines changed: 50 additions & 107 deletions

File tree

gapic/templates/.flake8.j2

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,18 @@
1-
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2020 Google LLC
4-
#
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
# Unless required by applicable law or agreed to in writing, software
12-
# distributed under the License is distributed on an "AS IS" BASIS,
13-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
# See the License for the specific language governing permissions and
15-
# limitations under the License.
1+
{% extends "_base.py.j2" %}
2+
3+
{% block content %}
164

17-
# Generated by synthtool. DO NOT EDIT!
185
[flake8]
19-
ignore = E203, E266, E501, W503
6+
ignore = E501 # ignore E501 `line too long`
207
exclude =
21-
# Exclude generated code.
22-
**/proto/**
23-
**/gapic/**
24-
**/services/**
25-
**/types/**
26-
*_pb2.py
8+
# Exclude protobuf gencode.
9+
*_pb2.py*
2710

2811
# Standard linting exemptions.
2912
**/.nox/**
3013
__pycache__,
3114
.git,
3215
*.pyc,
3316
conf.py
17+
18+
{% endblock %}

tests/integration/goldens/asset/.flake8

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2020 Google LLC
2+
# Copyright 2025 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
65
# you may not use this file except in compliance with the License.
76
# You may obtain a copy of the License at
87
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
109
#
1110
# Unless required by applicable law or agreed to in writing, software
1211
# distributed under the License is distributed on an "AS IS" BASIS,
1312
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
16-
17-
# Generated by synthtool. DO NOT EDIT!
15+
#
1816
[flake8]
19-
ignore = E203, E266, E501, W503
17+
ignore = E501 # ignore E501 `line too long`
2018
exclude =
21-
# Exclude generated code.
22-
**/proto/**
23-
**/gapic/**
24-
**/services/**
25-
**/types/**
26-
*_pb2.py
19+
# Exclude protobuf gencode.
20+
*_pb2.py*
2721

2822
# Standard linting exemptions.
2923
**/.nox/**

tests/integration/goldens/credentials/.flake8

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2020 Google LLC
2+
# Copyright 2025 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
65
# you may not use this file except in compliance with the License.
76
# You may obtain a copy of the License at
87
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
109
#
1110
# Unless required by applicable law or agreed to in writing, software
1211
# distributed under the License is distributed on an "AS IS" BASIS,
1312
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
16-
17-
# Generated by synthtool. DO NOT EDIT!
15+
#
1816
[flake8]
19-
ignore = E203, E266, E501, W503
17+
ignore = E501 # ignore E501 `line too long`
2018
exclude =
21-
# Exclude generated code.
22-
**/proto/**
23-
**/gapic/**
24-
**/services/**
25-
**/types/**
26-
*_pb2.py
19+
# Exclude protobuf gencode.
20+
*_pb2.py*
2721

2822
# Standard linting exemptions.
2923
**/.nox/**

tests/integration/goldens/eventarc/.flake8

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2020 Google LLC
2+
# Copyright 2025 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
65
# you may not use this file except in compliance with the License.
76
# You may obtain a copy of the License at
87
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
109
#
1110
# Unless required by applicable law or agreed to in writing, software
1211
# distributed under the License is distributed on an "AS IS" BASIS,
1312
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
16-
17-
# Generated by synthtool. DO NOT EDIT!
15+
#
1816
[flake8]
19-
ignore = E203, E266, E501, W503
17+
ignore = E501 # ignore E501 `line too long`
2018
exclude =
21-
# Exclude generated code.
22-
**/proto/**
23-
**/gapic/**
24-
**/services/**
25-
**/types/**
26-
*_pb2.py
19+
# Exclude protobuf gencode.
20+
*_pb2.py*
2721

2822
# Standard linting exemptions.
2923
**/.nox/**

tests/integration/goldens/logging/.flake8

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2020 Google LLC
2+
# Copyright 2025 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
65
# you may not use this file except in compliance with the License.
76
# You may obtain a copy of the License at
87
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
109
#
1110
# Unless required by applicable law or agreed to in writing, software
1211
# distributed under the License is distributed on an "AS IS" BASIS,
1312
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
16-
17-
# Generated by synthtool. DO NOT EDIT!
15+
#
1816
[flake8]
19-
ignore = E203, E266, E501, W503
17+
ignore = E501 # ignore E501 `line too long`
2018
exclude =
21-
# Exclude generated code.
22-
**/proto/**
23-
**/gapic/**
24-
**/services/**
25-
**/types/**
26-
*_pb2.py
19+
# Exclude protobuf gencode.
20+
*_pb2.py*
2721

2822
# Standard linting exemptions.
2923
**/.nox/**

tests/integration/goldens/logging_internal/.flake8

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2020 Google LLC
2+
# Copyright 2025 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
65
# you may not use this file except in compliance with the License.
76
# You may obtain a copy of the License at
87
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
109
#
1110
# Unless required by applicable law or agreed to in writing, software
1211
# distributed under the License is distributed on an "AS IS" BASIS,
1312
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
16-
17-
# Generated by synthtool. DO NOT EDIT!
15+
#
1816
[flake8]
19-
ignore = E203, E266, E501, W503
17+
ignore = E501 # ignore E501 `line too long`
2018
exclude =
21-
# Exclude generated code.
22-
**/proto/**
23-
**/gapic/**
24-
**/services/**
25-
**/types/**
26-
*_pb2.py
19+
# Exclude protobuf gencode.
20+
*_pb2.py*
2721

2822
# Standard linting exemptions.
2923
**/.nox/**

tests/integration/goldens/redis/.flake8

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2020 Google LLC
2+
# Copyright 2025 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
65
# you may not use this file except in compliance with the License.
76
# You may obtain a copy of the License at
87
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
109
#
1110
# Unless required by applicable law or agreed to in writing, software
1211
# distributed under the License is distributed on an "AS IS" BASIS,
1312
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
16-
17-
# Generated by synthtool. DO NOT EDIT!
15+
#
1816
[flake8]
19-
ignore = E203, E266, E501, W503
17+
ignore = E501 # ignore E501 `line too long`
2018
exclude =
21-
# Exclude generated code.
22-
**/proto/**
23-
**/gapic/**
24-
**/services/**
25-
**/types/**
26-
*_pb2.py
19+
# Exclude protobuf gencode.
20+
*_pb2.py*
2721

2822
# Standard linting exemptions.
2923
**/.nox/**

tests/integration/goldens/redis_selective/.flake8

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
11
# -*- coding: utf-8 -*-
2-
#
3-
# Copyright 2020 Google LLC
2+
# Copyright 2025 Google LLC
43
#
54
# Licensed under the Apache License, Version 2.0 (the "License");
65
# you may not use this file except in compliance with the License.
76
# You may obtain a copy of the License at
87
#
9-
# https://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
109
#
1110
# Unless required by applicable law or agreed to in writing, software
1211
# distributed under the License is distributed on an "AS IS" BASIS,
1312
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1413
# See the License for the specific language governing permissions and
1514
# limitations under the License.
16-
17-
# Generated by synthtool. DO NOT EDIT!
15+
#
1816
[flake8]
19-
ignore = E203, E266, E501, W503
17+
ignore = E501 # ignore E501 `line too long`
2018
exclude =
21-
# Exclude generated code.
22-
**/proto/**
23-
**/gapic/**
24-
**/services/**
25-
**/types/**
26-
*_pb2.py
19+
# Exclude protobuf gencode.
20+
*_pb2.py*
2721

2822
# Standard linting exemptions.
2923
**/.nox/**

0 commit comments

Comments
 (0)