rigetti / pyquil

A Python library for quantum programming using Quil.
http://docs.rigetti.com
Apache License 2.0
1.41k stars 343 forks source link

Ignore fewer flake8 style rules #1109

Closed karalekas closed 4 years ago

karalekas commented 5 years ago

If I remove everything other than E501 (line length) and F401 (unused imports), and run flake8 pyquil, I get 319 errors. At some point we should try to get rid of these, rather than ignoring them. I'll paste the output as a comment.

karalekas commented 5 years ago
pyquil/magic.py:43:5: E743 ambiguous function definition 'I'
pyquil/gates.py:75:5: E743 ambiguous function definition 'I'
pyquil/gates.py:514:14: W503 line break before binary operator
pyquil/gates.py:900:11: E126 continuation line over-indented for hanging indent
pyquil/gate_matrices.py:90:1: E741 ambiguous variable name 'I'
pyquil/paulis.py:66:13: W503 line break before binary operator
pyquil/paulis.py:140:21: W503 line break before binary operator
pyquil/paulis.py:510:17: W503 line break before binary operator
pyquil/noise.py:464:9: F841 local variable 'key' is assigned to but never used
pyquil/noise.py:684:23: W503 line break before binary operator
pyquil/quilatom.py:387:17: W503 line break before binary operator
pyquil/quilatom.py:388:17: W503 line break before binary operator
pyquil/quilatom.py:437:17: W503 line break before binary operator
pyquil/quilatom.py:438:17: W503 line break before binary operator
pyquil/quilatom.py:521:17: W503 line break before binary operator
pyquil/quilatom.py:522:17: W503 line break before binary operator
pyquil/quilatom.py:528:17: W503 line break before binary operator
pyquil/quilatom.py:529:17: W503 line break before binary operator
pyquil/quilatom.py:627:17: W503 line break before binary operator
pyquil/quilatom.py:628:17: W503 line break before binary operator
pyquil/quilbase.py:751:17: W503 line break before binary operator
pyquil/quilbase.py:774:17: W503 line break before binary operator
pyquil/quilbase.py:858:21: W503 line break before binary operator
pyquil/quilbase.py:859:21: W503 line break before binary operator
pyquil/quilbase.py:860:21: W503 line break before binary operator
pyquil/latex/_ipython.py:79:34: E127 continuation line over-indented for visual indent
pyquil/tests/test_parser.py:19:1: F403 'from pyquil.gates import *' used; unable to detect undefined names
pyquil/tests/test_parser.py:29:25: F405 'Gate' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:30:32: F405 'Gate' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:34:25: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:35:30: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:36:30: F405 'SWAP' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:114:31: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:115:37: F405 'CPHASE00' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:116:30: F405 'Gate' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:117:31: F405 'Gate' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:123:50: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:184:31: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:185:37: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:196:27: F405 'RESET' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:197:26: F405 'WAIT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:198:25: F405 'NOP' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:204:43: F405 'STORE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:205:39: F405 'STORE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:206:43: F405 'LOAD' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:207:41: F405 'CONVERT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:208:42: F405 'EXCHANGE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:209:35: F405 'MOVE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:210:36: F405 'MOVE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:211:38: F405 'MOVE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:215:34: F405 'MOVE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:216:34: F405 'MOVE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:217:31: F405 'NOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:218:33: F405 'AND' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:219:33: F405 'IOR' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:220:34: F405 'MOVE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:221:33: F405 'XOR' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:222:36: F405 'ADD' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:223:36: F405 'SUB' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:224:36: F405 'MUL' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:225:36: F405 'DIV' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:226:37: F405 'ADD' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:227:37: F405 'SUB' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:228:37: F405 'MUL' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:229:37: F405 'DIV' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:231:18: F405 'EQ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:233:18: F405 'LT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:235:18: F405 'LE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:237:18: F405 'GT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:239:18: F405 'GE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:241:18: F405 'EQ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:243:18: F405 'LT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:245:18: F405 'LE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:247:18: F405 'GT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:249:18: F405 'GE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:251:18: F405 'EQ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:253:18: F405 'LT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:255:18: F405 'LE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:257:18: F405 'GT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:259:18: F405 'GE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:337:21: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:339:21: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:344:21: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:349:21: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parser.py:355:18: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:8:1: F403 'from pyquil.gates import *' used; unable to detect undefined names
pyquil/tests/test_numpy_simulator.py:53:20: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:61:20: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:61:26: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:69:20: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:69:26: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:77:20: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:77:26: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:77:32: F405 'CCNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:87:20: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:89:17: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:103:9: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:104:9: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:105:9: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:165:20: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:165:26: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:220:10: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:236:10: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_numpy_simulator.py:237:10: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_noise.py:123:5: F841 local variable 'new_gates' is assigned to but never used
pyquil/tests/test_noise.py:128:16: W503 line break before binary operator
pyquil/tests/test_reference_density_simulator.py:7:1: F403 'from pyquil.gates import *' used; unable to detect undefined names
pyquil/tests/test_reference_density_simulator.py:25:16: F405 'RY' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:25:34: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:26:16: F405 'RY' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:26:34: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:27:16: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:27:28: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:27:47: F405 'RY' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:28:16: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:28:34: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:29:16: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:29:43: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:39:9: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:39:15: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:39:21: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:39:27: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:40:9: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:41:9: F405 'PHASE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:42:9: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:43:9: F405 'PHASE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:44:9: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:45:9: F405 'RZ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:46:9: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:47:9: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:48:9: F405 'PHASE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:49:9: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:50:9: F405 'PHASE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:51:9: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:52:9: F405 'RZ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:53:9: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:54:9: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:55:9: F405 'PHASE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:56:9: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:57:9: F405 'PHASE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:58:9: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:59:9: F405 'RZ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:60:9: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:61:9: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:62:9: F405 'PHASE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:63:9: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:64:9: F405 'PHASE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:65:9: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:66:9: F405 'RZ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:67:9: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:68:9: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:69:9: F405 'RZ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:70:9: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:71:9: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:72:9: F405 'RZ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:73:9: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:74:9: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:75:9: F405 'RZ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:76:9: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:77:9: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:78:9: F405 'RZ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:79:9: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:119:25: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:130:25: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:142:25: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:154:25: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:167:25: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:179:25: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:182:48: W503 line break before binary operator
pyquil/tests/test_reference_density_simulator.py:183:48: W503 line break before binary operator
pyquil/tests/test_reference_density_simulator.py:195:25: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:205:9: F405 'RY' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:206:9: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:270:20: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:310:20: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:312:13: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_reference_density_simulator.py:329:23: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_gate_matrices.py:7:5: E741 ambiguous variable name 'I'
pyquil/tests/test_unitary_tools.py:6:1: F403 'from pyquil.gates import *' used; unable to detect undefined names
pyquil/tests/test_unitary_tools.py:16:25: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:16:31: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:16:37: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:23:25: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:23:31: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:23:37: F405 'Y' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:23:43: F405 'Z' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:33:17: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:33:23: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:33:35: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:52:21: F405 'RY' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:52:39: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:53:21: F405 'RY' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:53:39: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:54:21: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:54:33: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:54:52: F405 'RY' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:55:21: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:55:39: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:56:21: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:56:48: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:66:42: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:66:48: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:66:54: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:118:20: E127 continuation line over-indented for visual indent
pyquil/tests/test_unitary_tools.py:125:20: E127 continuation line over-indented for visual indent
pyquil/tests/test_unitary_tools.py:281:32: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:285:32: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:289:32: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:293:32: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:299:32: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:303:32: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:307:32: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:313:32: F405 'RZ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:317:32: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:318:32: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:323:32: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:324:32: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:327:32: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:328:32: F405 'CCNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:333:32: F405 'RY' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:334:27: F405 'RY' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:342:32: F405 'PHASE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:343:32: F405 'CZ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:346:32: F405 'PHASE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:347:32: F405 'CZ' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_unitary_tools.py:411:12: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_parameters.py:5:1: F811 redefinition of unused 'quil_cis' from line 5
pyquil/tests/test_quil.py:352:39: F841 local variable 'e' is assigned to but never used
pyquil/tests/test_quil.py:1313:5: F841 local variable 'less_trivial_pi' is assigned to but never used
pyquil/tests/test_quil.py:1318:5: F841 local variable 'more_less_trivial_pi' is assigned to but never used
pyquil/tests/test_operator_estimation.py:131:9: F841 local variable 'res' is assigned to but never used
pyquil/tests/test_operator_estimation.py:385:9: F841 local variable 'result' is assigned to but never used
pyquil/tests/test_paulis_with_placeholders.py:58:13: W503 line break before binary operator
pyquil/tests/test_paulis_with_placeholders.py:76:13: W503 line break before binary operator
pyquil/tests/test_paulis_with_placeholders.py:86:13: W503 line break before binary operator
pyquil/tests/test_paulis_with_placeholders.py:154:13: F841 local variable 't' is assigned to but never used
pyquil/tests/test_paulis_with_placeholders.py:302:18: W503 line break before binary operator
pyquil/tests/test_paulis_with_placeholders.py:303:18: W503 line break before binary operator
pyquil/tests/test_paulis_with_placeholders.py:304:18: W503 line break before binary operator
pyquil/tests/test_qpu.py:247:9: F841 local variable 'result' is assigned to but never used
pyquil/tests/test_qpu.py:252:9: F841 local variable 'qpu' is assigned to but never used
pyquil/tests/test_magic.py:1:1: F403 'from pyquil.magic import *' used; unable to detect undefined names
pyquil/tests/test_magic.py:4:2: F405 'magicquil' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:6:5: F405 'H' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:7:5: F405 'CNOT' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:11:32: F405 'Program' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:14:2: F405 'magicquil' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:16:12: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:18:9: F405 'X' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:20:9: F405 'I' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:24:29: F405 'Program' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:24:91: F405 'Program' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:24:107: F405 'Program' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:27:2: F405 'magicquil' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:29:12: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:31:9: F405 'X' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:35:26: F405 'Program' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:35:88: F405 'Program' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:38:2: F405 'magicquil' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:40:12: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:41:12: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:43:9: F405 'X' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:45:9: F405 'X' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:49:31: F405 'Program' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:50:29: F405 'Program' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:50:45: F405 'Program' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:50:74: F405 'Program' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:53:2: F405 'magicquil' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:56:5: F405 'CNOT' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:60:38: F405 'Program' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:63:2: F405 'magicquil' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:66:9: F405 'H' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:68:9: F405 'H' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_magic.py:72:40: F405 'Program' may be undefined, or defined from star imports: pyquil.magic
pyquil/tests/test_quantum_computer.py:20:1: F403 'from pyquil.gates import *' used; unable to detect undefined names
pyquil/tests/test_quantum_computer.py:24:1: F811 redefinition of unused 'DummyCompiler' from line 10
pyquil/tests/test_quantum_computer.py:53:20: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:53:26: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:151:20: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:151:26: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:217:13: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:218:13: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:219:13: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:220:13: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:221:13: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:222:13: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:238:20: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:238:26: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:238:38: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:241:17: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:257:20: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:257:26: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:257:38: F405 'CNOT' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:260:17: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:278:20: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:278:26: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:279:20: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:280:20: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:302:25: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:429:37: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:452:13: F405 'H' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:468:20: F405 'I' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:479:39: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:479:45: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:511:13: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:512:13: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:532:9: F405 'RX' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:533:9: F405 'MEASURE' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:573:42: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_quantum_computer.py:586:17: F405 'X' may be undefined, or defined from star imports: pyquil.gates
pyquil/tests/test_paulis.py:98:13: W503 line break before binary operator
pyquil/tests/test_paulis.py:348:18: W503 line break before binary operator
pyquil/tests/test_paulis.py:349:18: W503 line break before binary operator
pyquil/tests/test_paulis.py:350:18: W503 line break before binary operator
pyquil/tests/test_paulis.py:679:9: F841 local variable 'op' is assigned to but never used
pyquil/_parser/PyQuilListener.py:83:13: W503 line break before binary operator
pyquil/api/_quantum_computer.py:133:37: E127 continuation line over-indented for visual indent
pyquil/experiment/_main.py:58:26: W503 line break before binary operator
pyquil/experiment/_main.py:222:29: W503 line break before binary operator