-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 📝 Add VSCode Recommended Extensions Add recommendations to ensure users know to install python tools. * 🧹 Configure VSCode Formatting & Linting Settings - Enable pylint settings and mypy type checking - Set the formatting to rely on black * ✅ Configure Pytest for VS Code __init__ is necessary to ensure tests are run properly. * 🔧Configure Github PR Workflow 🔧Configure MyPy to match tox file 🔧Add Black Configuration 🔧Update Pylint configuration * 📝Update Readme for first time users - Isolate Contributing file - Update Readme with usable dev steps * ✨MacOS Workflow * 🧹 Add Dev Lint Dependencies to Pipfile 🛠 Allow Prerelease for Black * 🔧 Add Linting Bypass and Adjustments to MyPy - MyPy check is silly and needs to have direct directories and files - Due to errors with last PR some pieces need to temporarily be bypassed. * Add InternalElectionDescription generate placeholders for contests when the election is set up. Use a builder pattern for setting up an election. * rename Election to ElectionDescription * Move Election builder to its own file __future__ annotations is causing the json serialization to fail. annotations are necessary to support fluent interface typing for methods on class instances which return their encapsulating type. see: ramonhagenaars/jsons#26 and ramonhagenaars/jsons#100 until this is fixed, the builder pattern must exist in it's own file * clean up mypy, move proof generation to class objects * add decrypt contest and decrypt ballot methods * Create ObjectBase * decrypt using derivative nonce seeds for the ballot when decrypting, allow the consumer to specify the nonce seed to use when generating the nonce for decrypting selections. * proofs are optional on cyphertext resources add a few missing tests * remove contest file * migrate optional handlers to .utils * update extended data field * allow nonce values to be null on cyphertext ballot elements * rename election builder * nonce seed to elementmodq * rename election object base * provide context for integer params Co-authored-by: Keith Fung <keith.fung@infernored.com>
- Loading branch information
1 parent
8cf9c7b
commit f9b5fad
Showing
23 changed files
with
1,164 additions
and
1,003 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,3 +131,9 @@ dmypy.json | |
|
||
# PyCharm | ||
.idea/ | ||
|
||
coverage/ | ||
|
||
cov.xml | ||
|
||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.