initc3 / HoneyBadgerMPC

Robust MPC-based confidentiality layer for blockchains
GNU General Public License v3.0
128 stars 64 forks source link

flake8 errors #446

Closed sbellem closed 4 years ago

sbellem commented 4 years ago

There was a recent release of flake8: https://flake8.pycqa.org/en/latest/release-notes/3.8.0.html and some new errors appear, which should be easy and quick to fix.

This is affecting new PRs such as #443 and #445.

$ flake8 --count
./tests/test_ntl.py:114:70: E741 ambiguous variable name 'l'
./aws/run-on-ec2.py:186:18: F541 f-string is missing placeholders
./aws/run-on-ec2.py:189:37: F541 f-string is missing placeholders
./apps/asynchromix/powermixing.py:125:28: F541 f-string is missing placeholders
./apps/asynchromix/powermixing.py:129:28: F541 f-string is missing placeholders
./benchmark/test_benchmark_rbc.py:85:11: F541 f-string is missing placeholders
./benchmark/test_benchmark_rbc.py:104:11: F541 f-string is missing placeholders
./honeybadgermpc/offline_randousha.py:186:15: F541 f-string is missing placeholders
./honeybadgermpc/offline_randousha.py:228:15: F541 f-string is missing placeholders
./honeybadgermpc/broadcast/crypto/boldyreva.py:67:24: E741 ambiguous variable name 'l'
./honeybadgermpc/broadcast/crypto/boldyreva.py:139:24: E741 ambiguous variable name 'l'
11
The command "flake8 --count" exited with 1.