Skip to content

Commit

Permalink
Do the todo! also change the type annotation style.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWizardTower authored and grahamc committed Feb 29, 2020
1 parent e007070 commit e99b321
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions nixops/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,11 @@ class Diff:

def __init__(
self,
# FIXME: type should be 'nixops.deployment.Deployment'
# however we have to upgrade to python3 in order
# to solve the import cycle by forward declaration
depl,
logger, # type: MachineLogger
config, # type: Dict[str, Any]
state, # type: StateDict
res_type, # type: str
depl: Deployment,
logger: MachineLogger,
config: Dict[str, Any],
state: StateDict,
res_type: str,
):
# type: (...) -> None
self._definition = config
Expand Down

0 comments on commit e99b321

Please sign in to comment.