Skip to content

Commit e99975b

Browse files
authored
chore: update default ignores for Python libraries (#586)
1 parent ffe1040 commit e99975b

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

synthtool/gcp/templates/python_library/.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ exclude =
2121
# Exclude generated code.
2222
**/proto/**
2323
**/gapic/**
24+
**/services/**
25+
**/types/**
2426
*_pb2.py
2527

2628
# Standard linting exemptions.

synthtool/gcp/templates/python_library/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
dist
1111
build
1212
eggs
13+
.eggs
1314
parts
1415
bin
1516
var
@@ -49,6 +50,7 @@ bigquery/docs/generated
4950
# Virtual environment
5051
env/
5152
coverage.xml
53+
sponge_log.xml
5254

5355
# System test environment variables.
5456
system_tests/local_test_setup

synthtool/gcp/templates/python_library/MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ recursive-include google *.json *.proto
2020
recursive-include tests *
2121
global-exclude *.py[co]
2222
global-exclude __pycache__
23+
24+
# Exclude scripts for samples readmegen
25+
prune scripts/readme-gen

0 commit comments

Comments
 (0)