Skip to content

Conversation

@AutoPilotjn
Copy link

@AutoPilotjn AutoPilotjn commented Feb 18, 2023

Formatted by black
Add new format in date_string ('2023-01-01'): 'l_ymd'
Add new format in speed_string ('3.2f')
add new 'timestamp_string' helper function
adjust code for being compliant with typing (pylance & mypy)
Add parser for the antenna status: PGTOP: $PGTOP,11,x
Implement suggestions from #14

  • use of fstring instead of % formating
  • use of lists instead of tuples

Adjust code in 'speed_string' when knot speed is within +-1 range (English grammar to be confirmed)
Add pytest tests for checking the above
Adjust minor clerical errors
Works with python 3.11.2
Works with MicroPython 1.19.1 after stripping annotations (refer to https://github.com/orgs/micropython/discussions/10529#discussioncomment-4764412)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant