Commit Graph

19 Commits

Author SHA1 Message Date
Evan Hahn
16aa421d3e More Python 3 script fixes 2022-03-24 10:28:27 -05:00
Evan Hahn
c254811765 Remove unnecessary coding: utf-8 heading from Python scripts
Python 3 uses UTF-8 for source files by default. This removes the
unnecessary `coding: utf-8` declaration comment from all files.
2022-03-21 14:43:45 -05:00
Evan Hahn
1101db6a29 Upgrade scripts to Python 3
Python 2 was [removed from macOS in 12.3][0]. This change:

- Automatically converts many files with [2to3][1]
- Manually updates all [shebangs][2] to use `python3` instead of
  versionless `python` or `python2.7`
- Manually applies a few fixes, many of which were noted by 2to3
- Manually undoes a few fixes that were automatically done by 2to3

[0]: https://www.macrumors.com/2022/01/28/apple-removing-python-2-in-macos-12-3/
[1]: https://docs.python.org/3/library/2to3.html
[2]: https://en.wikipedia.org/wiki/Shebang_(Unix)
2022-03-21 12:58:33 -05:00
Nora Trapp
1cbe9c3ee7 PR Feedback 2021-08-16 13:28:08 -07:00
Ehren Kret
5cd2bd0fe4 Update all sds python shebang lines to 2.7 2020-04-14 08:52:34 -07:00
Matthew Chen
db0adf077a Respond to CR. 2020-01-23 12:00:42 -03:00
Matthew Chen
1e363d2c65 Make uniqueId non-nil. 2019-07-31 10:50:59 -03:00
Michael Kirk
6806ee1a0f sds_generate understands int64_t 2019-07-03 09:06:37 -05:00
Matthew Chen
c662e2f3f4 Rename "shouldAlwaysPad" property. 2019-05-20 12:36:18 -04:00
Matthew Chen
75527bcf8a Respond to CR. 2019-05-02 14:20:35 -04:00
Matthew Chen
12d868be27 Generate SDS extensions for all models in Signal, SignalMessaging, SAE, SSK. 2019-05-02 13:24:23 -04:00
Matthew Chen
a001cc8e00 Add SDS finalization methods. 2019-04-17 17:08:46 -04:00
Matthew Chen
ff12605b50 Add SDS finalization methods. 2019-04-17 16:49:34 -04:00
Matthew Chen
d21c447099 Respond to CR. 2019-04-17 16:31:52 -04:00
Matthew Chen
409bbb0e92 Respond to CR. 2019-04-16 13:01:11 -04:00
Matthew Chen
384457fefc Sketch out SDS extensions for interaction models. 2019-04-16 09:03:07 -04:00
Matthew Chen
0c584d17f5 Don't hardcode iOS SDK location. 2019-04-11 14:43:29 -04:00
Matthew Chen
2474f85adc Improve comments. 2019-04-11 12:52:19 -04:00
Matthew Chen
5ca2991f0c Sketch out the SDS code generation.
* Copy SDS code generation and utility files from playground.
2019-04-11 09:15:28 -04:00