forked from AgoricBot/cosmic-swingset
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ag_setup_solo: use ocap discipline in main.py (WIP)
- replace print() with logging (ocap exception) (WIP) - don't import os, sys, etc. at module scope (everything globally available is immutable data) - style: move stdlib imports before others - AG_SOLO wasn't a constant. refactor lookup loop as Runner.locate and pass ag_solo around explicitly - BASEDIR in run_client() wasn't used - Options takes access to environ (WIP) - sys.exit(1) -> raise SystemExit(1) - factor out Path access - add type hints to facilitate refactoring - style: 80 char line width
- Loading branch information
Showing
1 changed file
with
206 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters