Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,13 @@ select = [
"PYI",
# flake8-pathlib
"PTH",
# flake8-builtins
"A",
]
ignore = [
"E501", # Line too long
"TRY003", # Long exception messages are acceptable for domain-specific errors
"A002", # Shadowing builtins (id, type) is intentional for API field names
]

[tool.ruff.lint.per-file-ignores]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_obfuscate.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class TestObfucscateSensitive:

def test_obfuscate_list_with_none(self):
"""Ensure lists containing None values are handled without modification."""
input = {
data = {
"d": [
0,
0,
Expand Down Expand Up @@ -56,4 +56,4 @@ def test_obfuscate_list_with_none(self):
None,
]
}
assert obfuscate_sensitive_data(input) == input
assert obfuscate_sensitive_data(data) == data
Loading