ruff: enable warning lints
This commit is contained in:
@@ -167,7 +167,7 @@ def create_identity() -> Identity:
|
||||
tmpdir = Path(d)
|
||||
private = tmpdir / "identity.secret"
|
||||
public = tmpdir / "identity.public"
|
||||
subprocess.run(["zerotier-idtool", "generate", private, public])
|
||||
subprocess.run(["zerotier-idtool", "generate", private, public], check=True)
|
||||
return Identity(tmpdir)
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ def main() -> None:
|
||||
f.write(json.dumps(moon_json))
|
||||
f.flush()
|
||||
Path(moons_d).mkdir(parents=True, exist_ok=True)
|
||||
subprocess.run(["zerotier-idtool", "genmoon", f.name], cwd=moons_d)
|
||||
subprocess.run(["zerotier-idtool", "genmoon", f.name], cwd=moons_d, check=True)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user