Skip to content

Commit

Permalink
add lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiAndreiev committed Jul 31, 2024
1 parent b72ab3d commit 62cfb08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/python/examples/metrics_django/metrics/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# pylint: disable=unused-import
from .models import Person


# pylint: disable=unused-argument
def grouping_function(request):
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""

from django.contrib import admin
from django.urls import include, path

Expand Down
2 changes: 1 addition & 1 deletion packages/python/readme_metrics/PayloadBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def _redact_value(val):
return mapping

result = {}
for (key, value) in mapping.items():
for key, value in mapping.items():
if self.denylist and key in self.denylist:
result[key] = _redact_value(value)
elif self.allowlist and key not in self.allowlist:
Expand Down

0 comments on commit 62cfb08

Please sign in to comment.