Skip to content

Commit

Permalink
__main__: give main() a type for the ratchet
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamc committed Mar 26, 2020
1 parent ddac328 commit 4d014a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixops/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@
parser_plugin_hooks(parser, subparsers)


def main():
def main() -> None:

if os.path.basename(sys.argv[0]) == "charon":
sys.stderr.write(
Expand Down

0 comments on commit 4d014a9

Please sign in to comment.