Nature Unit Tests #7246
Annotations
14 errors
Run lint:
qiskit_nature/second_q/transformers/active_space_transformer.py#L440
E0606: Possibly using variable 'num_alpha' before assignment (possibly-used-before-assignment)
|
Run lint:
qiskit_nature/second_q/transformers/active_space_transformer.py#L440
E0606: Possibly using variable 'num_beta' before assignment (possibly-used-before-assignment)
|
Run lint:
qiskit_nature/second_q/hamiltonians/fermi_hubbard_model.py#L97
E0606: Possibly using variable 'index_left' before assignment (possibly-used-before-assignment)
|
Run lint:
qiskit_nature/second_q/hamiltonians/fermi_hubbard_model.py#L97
E0606: Possibly using variable 'index_right' before assignment (possibly-used-before-assignment)
|
Run lint:
qiskit_nature/second_q/hamiltonians/fermi_hubbard_model.py#L97
E0606: Possibly using variable 'hopping_parameter' before assignment (possibly-used-before-assignment)
|
Run lint:
test/second_q/drivers/gaussiand/test_driver_gaussian_forces.py#L231
E0606: Possibly using variable 'exp_vals' before assignment (possibly-used-before-assignment)
|
Run lint:
test/second_q/hamiltonians/lattices/test_lattice.py#L147
E0606: Possibly using variable 'nx' before assignment (possibly-used-before-assignment)
|
Run lint
Process completed with exit code 2.
|
Run mypy:
qiskit_nature/second_q/operators/vibrational_op.py#L252
Call to abstract method "_validate_keys" of "SparseLabelOp" with trivial body via super() is unsafe
|
Run mypy:
qiskit_nature/second_q/operators/spin_op.py#L257
Call to abstract method "_validate_keys" of "SparseLabelOp" with trivial body via super() is unsafe
|
Run mypy:
qiskit_nature/second_q/operators/fermionic_op.py#L199
Call to abstract method "_validate_keys" of "SparseLabelOp" with trivial body via super() is unsafe
|
Run mypy:
qiskit_nature/second_q/operators/bosonic_op.py#L198
Call to abstract method "_validate_keys" of "SparseLabelOp" with trivial body via super() is unsafe
|
Run mypy:
qiskit_nature/second_q/operators/majorana_op.py#L253
Call to abstract method "_validate_keys" of "SparseLabelOp" with trivial body via super() is unsafe
|
Run mypy
Process completed with exit code 2.
|
Loading