fancy-queen-20734
01/09/2020, 9:33 PMhundreds-father-404
01/09/2020, 9:34 PMfancy-queen-20734
01/09/2020, 9:37 PMwitty-crayon-22786
01/09/2020, 9:54 PMhundreds-father-404
01/09/2020, 10:04 PMshould I just look around for examples to crib from elsewhere in the repo?Yes that works well 🙂 https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html is a great cheat sheet also
fancy-queen-20734
01/09/2020, 10:04 PMhundreds-father-404
01/09/2020, 10:05 PMfancy-queen-20734
01/09/2020, 10:06 PMhundreds-father-404
01/09/2020, 10:08 PMDoes V2 use subsystems as they are currently defined, or will they be redefined using rules as they are pulled in?V2 uses
Subsystem
normally, although declares its depedency through a subsystem_rule
, rather than through global_subsystems
in a register.py
. For example: https://github.com/pantsbuild/pants/blob/master/src/python/pants/rules/core/strip_source_root.py#L62fancy-queen-20734
01/09/2020, 10:14 PMwitty-crayon-22786
01/09/2020, 11:29 PMfancy-queen-20734
01/10/2020, 10:38 PMwitty-crayon-22786
01/10/2020, 10:44 PMstrict
, fire awayfancy-queen-20734
01/10/2020, 10:53 PMhundreds-father-404
01/10/2020, 10:59 PMthe general gist of the direction we're headed in is that we should be much more Subsystem centric than Task centric, if possible.This is because we don’t have tasks in V2. Moving options to subsystems helps a lot for allowing us to migrate things easily to V2
fancy-queen-20734
01/10/2020, 11:00 PM