Skip to content
Open
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
14 changes: 8 additions & 6 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,14 @@ When the minFraud API adds new input fields or values:
Example:
```python
# Adding a new payment processor
_payment_processor = In([
"stripe",
"braintree",
# ... existing processors
"new_processor", # New addition
])
_payment_processor = In(
[
"stripe",
"braintree",
# ... existing processors
"new_processor", # New addition
]
)
```

### Email Normalization
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ ignore = [
# Redundant as the formatter handles missing trailing commas.
"COM812",

# We do not want a copyright header on every file.
"CPY001",

# documenting magic methods
"D105",

Expand All @@ -92,7 +95,7 @@ ignorelist = ["id"]

[tool.ruff.lint.per-file-ignores]
"docs/*" = ["ALL"]
"src/minfraud/models.py" = ["PLR0913"]
"src/minfraud/models.py" = ["PLR0913", "PLR0917"]
"tests/*" = ["ANN201", "D"]

[tool.tox]
Expand Down
4 changes: 2 additions & 2 deletions src/minfraud/webservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class AsyncClient(BaseClient):
_existing_session: aiohttp.ClientSession
_proxy: str | None

def __init__( # noqa: PLR0913
def __init__( # noqa: PLR0913, PLR0917
self,
account_id: int,
license_key: str,
Expand Down Expand Up @@ -481,7 +481,7 @@ class Client(BaseClient):
_proxies: dict[str, str] | None
_session: requests.Session

def __init__( # noqa: PLR0913
def __init__( # noqa: PLR0913, PLR0917
self,
account_id: int,
license_key: str,
Expand Down
38 changes: 19 additions & 19 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading