-
Notifications
You must be signed in to change notification settings - Fork 105
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershacktoberfestIssues for the HacktoberfestIssues for the Hacktoberfesthelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
There are some types such as GUARDIAN_ID that are cased incorrectly. These variables function as types and not constants and therefore should be using "CapWords" since these are actually functioning as Type's.
https://www.python.org/dev/peps/pep-0008/
Expected Behavior
Global Constants should be capitalized with underscores
THRESHOLD = 3
Classes and Types should be like this:
GuardianId = str
Steps To Reproduce
No response
Environment
- OS: AnyAnything else?
It's probably helpful just to look at the types from this level for speed.
https://github.com/microsoft/electionguard-python/blob/main/src/electionguard/__init__.py
https://github.com/microsoft/electionguard-python/blob/main/src/electionguard_tools/__init__.py
https://github.com/microsoft/electionguard-python/blob/main/src/electionguard_verify/__init__.py
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomershacktoberfestIssues for the HacktoberfestIssues for the Hacktoberfesthelp wantedExtra attention is neededExtra attention is needed