These issues seem worth trying to resolve first, and as part of being more public about that discussion, I'm going to explicitly list them as "under consideration" and reference their issues. This will thus link to mozilla#58, mozilla#27, mozilla#24, and mozilla#19. It also happens to include the first links to caniuse (the "ciuName" field being non-null). Note that activities.py normalized some whitespace in a prior entry added in mozilla#53. (I should figure out why it's always adding a space at the end of the line, but that's a separate issue. Until then, I'd rather keep the file matching the way activities.py regenerates it rather than having to hand-edit every time to avoid changing those lines.)
dbaron added a commit to dbaron/standards-positions that referenced this pull request
Mar 6, 2018I suspect editors like to strip out this trailing whitespace (e.g., from mozilla#53) which activities.py then readds when manipulating the JSON (in mozilla#66). We'll avoid the churn (and annoyance) by not having the trailing whitespace at all. This sets the separators as described in the documentation at https://docs.python.org/2/library/json.html to avoid trailing whitespace when using indent. It also consolidates the JSON-writing configuration into a single place by creating a single JSONEncoder object.
Merged
dbaron added a commit to dbaron/standards-positions that referenced this pull request
Mar 6, 2018I suspect editors like to strip out this trailing whitespace (e.g., from mozilla#53) which activities.py then readds when manipulating the JSON (in mozilla#66). We'll avoid the churn (and annoyance) by not having the trailing whitespace at all. This sets the separators as described in the documentation at https://docs.python.org/2/library/json.html to avoid trailing whitespace when using indent. It also consolidates the JSON-writing configuration into a single place by creating a single JSONEncoder object.