Skip to content

Commit

Permalink
Adding type hints to be mypy compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
sdavtaker committed Dec 13, 2024
1 parent b647270 commit ac35b1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions giturlparse/platforms/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ class BasePlatform:
}

# None means it matches all domains
DOMAINS = None
SKIP_DOMAINS = None
DEFAULTS = {}
DOMAINS: tuple[str, ...]|None = None
SKIP_DOMAINS: tuple[str, ...]|None = None
DEFAULTS : dict[str, str] = {}

def __init__(self):
# Precompile PATTERNS
Expand Down

0 comments on commit ac35b1f

Please sign in to comment.