Skip to content

fix E721 Do not compare types, use `isinstance()`

Codecov / codecov/patch succeeded Aug 18, 2023 in 0s

69.69% of diff hit (target 47.79%)

View this Pull Request on Codecov

69.69% of diff hit (target 47.79%)

Annotations

Check warning on line 53 in dpgen/auto_test/gen_confs.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

dpgen/auto_test/gen_confs.py#L53

Added line #L53 was not covered by tests

Check warning on line 90 in dpgen/auto_test/gen_confs.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

dpgen/auto_test/gen_confs.py#L90

Added line #L90 was not covered by tests

Check warning on line 1671 in dpgen/auto_test/lib/mfp_eosfit.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

dpgen/auto_test/lib/mfp_eosfit.py#L1671

Added line #L1671 was not covered by tests

Check warning on line 579 in dpgen/data/gen.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

dpgen/data/gen.py#L579

Added line #L579 was not covered by tests

Check warning on line 920 in dpgen/data/gen.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

dpgen/data/gen.py#L920

Added line #L920 was not covered by tests

Check warning on line 450 in dpgen/generator/lib/abacus_scf.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

dpgen/generator/lib/abacus_scf.py#L450

Added line #L450 was not covered by tests

Check warning on line 215 in dpgen/generator/run.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

dpgen/generator/run.py#L215

Added line #L215 was not covered by tests

Check warning on line 1442 in dpgen/generator/run.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

dpgen/generator/run.py#L1442

Added line #L1442 was not covered by tests

Check warning on line 1451 in dpgen/generator/run.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

dpgen/generator/run.py#L1451

Added line #L1451 was not covered by tests

Check warning on line 108 in dpgen/simplify/simplify.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

dpgen/simplify/simplify.py#L108

Added line #L108 was not covered by tests