orome/crypto-enigma-py

Refactor handling of validation in EnigmaConfig constructors

Closed this issue · 0 comments

orome commented

Refactor handling of validation in EnigmaConfig constructors:

  • move checks from config_enigma_string to config_enigma,
  • add/retain (only) checks of splitting and unpacking in config_enigma_string,
  • prune assertions from config_enigma (maybe), and
  • add assertions to __init__.

Then #16.