Skip to content

Commit 467bc0a

Browse files
authored
Add templates for flake8, coveragerc, noxfile, and black. (#6642)
1 parent b312692 commit 467bc0a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/google-cloud-runtimeconfig/.coveragerc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ exclude_lines =
99
pragma: NO COVER
1010
# Ignore debug-only repr
1111
def __repr__
12+
# Ignore abstract methods
13+
raise NotImplementedError
14+
omit =
15+
*/gapic/*.py
16+
*/proto/*.py

packages/google-cloud-runtimeconfig/.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[flake8]
2+
ignore = E203, E266, E501, W503
23
exclude =
34
# Exclude generated code.
45
**/proto/**

0 commit comments

Comments
 (0)