Which of the following three are preferred under our interpretation of PEP8?
To short-circuit the discussion: I naturally write #1. In part because I want to be able to minimize number of lines changed when adding and removing things from lists.
I’m OK with #2.
But only #3 passes PEP8 flake8 (with the RFC config file).
        kwargs = {
            'good_mag_limit': good_mag_limit,
            'medianAstromscatterRef': medianAstromscatterRef,
            'medianPhotoscatterRef': medianPhotoscatterRef,
            'matchRef': matchRef,
            }
        kwargs = {'good_mag_limit': good_mag_limit,
                  'medianAstromscatterRef': medianAstromscatterRef,
                  'medianPhotoscatterRef': medianPhotoscatterRef,
                  'matchRef': matchRef,
                 }
        kwargs = {'good_mag_limit': good_mag_limit,
                  'medianAstromscatterRef': medianAstromscatterRef,
                  'medianPhotoscatterRef': medianPhotoscatterRef,
                  'matchRef': matchRef}
The key issue is where to put the closing bracket. PEP8 is unhappy with the ways I think make the most sense.
Links of interest:
https://jira.lsstcorp.org/browse/RFC-162
 . Failing that, (3) (the pure PEP-8 option).
. Failing that, (3) (the pure PEP-8 option).