Skip to content

Commit ac141e8

Browse files
committed
ignore aws lambda instrumentation folder since it is copied from OTel
1 parent 1c62249 commit ac141e8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ extension-pkg-whitelist=cassandra
77

88
# Add list of files or directories to be excluded. They should be base names, not
99
# paths.
10-
ignore=CVS,gen,Dockerfile,docker-compose.yml,README.md,requirements.txt,mock_collector_service_pb2.py,mock_collector_service_pb2.pyi,mock_collector_service_pb2_grpc.py,lambda-layer/src/opentelemetry/instrumentation/aws_lambda/
10+
ignore=CVS,gen,Dockerfile,docker-compose.yml,README.md,requirements.txt,mock_collector_service_pb2.py,mock_collector_service_pb2.pyi,mock_collector_service_pb2_grpc.py
1111

1212
# Add files or directories matching the regex patterns to be excluded. The
1313
# regex matches against base names, not paths.

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[tool.black]
22
line-length = 120
3-
extend-exclude = '''.*pb2.*|(/lambda-layer/)''' # Exclude grpc-created files
3+
extend-exclude = '''.*pb2.*|/(lambda-layer/src/opentelemetry/instrumentation/aws_lambda/)''' # Exclude grpc-created files
4+
5+
[tool.isort]
6+
skip = ["lambda-layer/src/opentelemetry/instrumentation/aws_lambda/"]

0 commit comments

Comments
 (0)