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
4 changes: 1 addition & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,7 @@ When a field returns a date string from the API (e.g., "2025-04-14"):
import datetime

self.network_last_seen = (
datetime.date.fromisoformat(network_last_seen)
if network_last_seen
else None
datetime.date.fromisoformat(network_last_seen) if network_last_seen else None
)
```

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,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 Down
4 changes: 2 additions & 2 deletions src/geoip2/webservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,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 @@ -460,7 +460,7 @@ class Client(BaseClient):
_session: requests.Session
_proxies: dict[str, str] | None

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