Skip to content

Commit 4e68deb

Browse files
committed
chore: pre-commit checks
1 parent 11463fe commit 4e68deb

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

docs/content/core/metrics.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You can also pass a service name via `service` param or `POWERTOOLS_SERVICE_NAME
3939
from aws_lambda_powertools.metrics import Metrics, MetricUnit
4040

4141
# POWERTOOLS_METRICS_NAMESPACE and POWERTOOLS_SERVICE_NAME defined
42-
metrics = Metrics() # highlight-line
42+
metrics = Metrics() # highlight-line
4343

4444
# Explicit definition
4545
Metrics(namespace="ServerlessAirline", service="orders") # creates a default dimension {"service": "orders"} under the namespace "ServerlessAirline"

example/tests/test_handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def lambda_handler(env_vars):
2020
return app.lambda_handler
2121

2222

23-
2423
@pytest.fixture()
2524
def apigw_event():
2625
""" Generates API GW Event"""

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[pytest]
22
addopts = -ra --cov --cov-config=.coveragerc
3-
testpaths = ./tests ./example/tests
3+
testpaths = ./tests ./example/tests

0 commit comments

Comments
 (0)