diff --git a/synthtool/gcp/templates/python_library/.flake8 b/synthtool/gcp/templates/python_library/.flake8 index 20fe9bda2..ed9316381 100644 --- a/synthtool/gcp/templates/python_library/.flake8 +++ b/synthtool/gcp/templates/python_library/.flake8 @@ -21,6 +21,8 @@ exclude = # Exclude generated code. **/proto/** **/gapic/** + **/services/** + **/types/** *_pb2.py # Standard linting exemptions. diff --git a/synthtool/gcp/templates/python_library/.gitignore b/synthtool/gcp/templates/python_library/.gitignore index 3fb06e09c..b87e1ed58 100644 --- a/synthtool/gcp/templates/python_library/.gitignore +++ b/synthtool/gcp/templates/python_library/.gitignore @@ -10,6 +10,7 @@ dist build eggs +.eggs parts bin var @@ -49,6 +50,7 @@ bigquery/docs/generated # Virtual environment env/ coverage.xml +sponge_log.xml # System test environment variables. system_tests/local_test_setup diff --git a/synthtool/gcp/templates/python_library/MANIFEST.in b/synthtool/gcp/templates/python_library/MANIFEST.in index 68855abc3..e9e29d120 100644 --- a/synthtool/gcp/templates/python_library/MANIFEST.in +++ b/synthtool/gcp/templates/python_library/MANIFEST.in @@ -20,3 +20,6 @@ recursive-include google *.json *.proto recursive-include tests * global-exclude *.py[co] global-exclude __pycache__ + +# Exclude scripts for samples readmegen +prune scripts/readme-gen \ No newline at end of file