20 Commits

Author SHA1 Message Date
Thibault
dd4b2fea5c
Replace manual loop counters by enumerate() call (#1552)
* Replace loop cnt w/ `enumerate()` in `InstanceEventVisitor.py`

* Replace loop cnt w/ `enumerate()` in `EventVisitor.py`

* Replace loop cnt w/ `enumerate()` in `ComponentVisitorBase.py`

* Replace loop cnt w/ `enumerate()` in `CommandVisitor.py`

* Replace loop cnt w/ `enumerate()` in `ChannelVisitor.py`

* Replace loop cnt w/ `enumerate()` in `formatters.py`

* Replace loop cnt w/ `enumerate()` in `tlmLayout.py`

* Reformatting the % string with %d in the refactored statement
2022-07-25 12:43:16 -07:00
Thibault
4e3bd7ce15
Combine values check into tuple (#1497) 2022-06-21 13:58:27 -07:00
Thibault
7c3e606a06
Remove built-in function len used as condition (#1499) 2022-06-21 12:08:47 -07:00
Thibault
c65661927e
Use f-strings for concatenating strings instead of '+' (#1470)
* Use f-strings for concatenating str instead of '+

* misc fstring concatenation

* lestarch: fix python formating

Co-authored-by: M Starch <LeStarch@googlemail.com>
2022-05-27 14:06:52 -07:00
Josh Soref
8ba33020a5 spelling: preceding
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:48 -05:00
Josh Soref
7f9c116c66 spelling: keyword
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:48:31 -05:00
Josh Soref
cb1f1ec26a spelling: extension
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:48:29 -05:00
Michael D Starch
56a1d44160 mstarch: sorting imports automatically 2020-07-19 11:26:10 -07:00
Michael D Starch
51d5835306 mstarch: fixing except clauses to be more precise 2020-07-17 00:20:09 -07:00
Michael D Starch
2729bb7357 mstarch: fixing None comparisons 2020-07-16 23:56:53 -07:00
Michael D Starch
9e9487db8e mstarch: fixing linting errors 2020-07-16 22:43:15 -07:00
Michael D Starch
3092e4ff26 mstarch: pyupgrade auto py3 reformatting 2020-07-16 14:02:32 -07:00
Michael D Starch
3f0ec892a3 mstarch: autoflake unused symbol removal 2020-07-16 13:52:15 -07:00
Michael D Starch
271c516a5e mstarch: ran black formatting 2020-07-14 15:34:30 -07:00
Michael D Starch
f7f03b3b95 mstarch: finish switch to python3 executable; remove tk gui 2020-03-09 14:02:40 -07:00
Michael D Starch
51ce78dbef mstarch: namespacing autocoder 2019-03-21 13:28:00 -07:00
Michael D Starch
d0ff6ce968 mstarch: python 2to3- on autocoder 2019-03-04 16:38:38 -08:00
M Starch
f83ad02e99 mstarch: migrated autocoder fixes 2019-02-20 16:15:33 -08:00
M Starch
6a9e0f3369 mstarch: finalizing Autocoders -> Autocoders/Python move 2019-02-20 12:19:35 -08:00
M Starch
b52e1d68d4 mstarch: moving autocoders into Python subdir 2019-02-20 12:16:46 -08:00