jeremydouglass / jeremydouglass/panelcode

Common typos and linting?

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Common typos.

It would be nice if the parser handled these more gracefully instead of breaking a block or bailing out -- perhaps providing better feedback.

- leading semicolon before the very first entry
- parser bug? should any leading ; be ignored?
- should any two empty ; ; be ignored?)
- accidentally writing : instead of ; as a separator
- accidentally writing [ or ] instead of { or } for arguments
- 1.c2. (trailing dot!)
- 1.2c , 1.2r (reversed number and short attribute)
- 1.c (missing attribute argument)
- bad gates: ``panelcode

Checking could also be built into a linter. Optionally, the linter could be run before rendering.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.