Whitelist uses of stdlib random module for bandit
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 29 Dec 2019 14:19:57 +0000 (14:19 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Mon, 30 Dec 2019 15:08:16 +0000 (15:08 +0000)
commit472e1de5356e4df0f099fe6a17ff6dab585314f3
tree83eb0eab93642b05b53157c297835bb18aeaa690
parent48dd3cd5aa048b36d22aed07c513c131084278d0
Whitelist uses of stdlib random module for bandit

There are currently two uses of random.randrange() and one of
random.choice() for non-security/non-crypto purposes. Mark them as
whitelisted for bandit checks and add comments explaining why.
mudpy/command.py
mudpy/misc.py