tektronix / Programmatic-Control-Examples

An index of all remote instrument communication examples and links to discussion threads written by the community, for the community.
Other
74 stars 42 forks source link

Fix 5 Maintainability issues related to PEP279 #9

Closed codefactor-io[bot] closed 5 years ago

codefactor-io[bot] commented 5 years ago

CodeFactor found multiple issues:

Consider using enumerate instead of iterating with range and len

Oscilloscopes\BenchScopes\src\SaveonTrigExample\SoTmain.py:404 Oscilloscopes\BenchScopes\src\SaveonTrigExample\SoTmain.py:335 Oscilloscopes\BenchScopes\src\SaveonTrigExample\SoTmain.py:291 Oscilloscopes\BenchScopes\src\SaveonTrigExample\SoTmain.py:71 Oscilloscopes\BenchScopes\src\SaveonTrigExample\SoTmain.py:66