Skip to content
GitHub Advanced Security / CodeQL succeeded Jan 12, 2024 in 3s

25 new alerts

New alerts in code changed by this pull request

  • 6 warnings
  • 19 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 3 in deepmd/nvnmd/utils/argcheck.py

See this annotation in the file changed.

Code scanning / CodeQL

'import *' may pollute namespace Note

Import pollutes the enclosing namespace, as the imported module
deepmd_utils.utils.argcheck_nvnmd
does not define '__all__'.

Check notice on line 3 in deepmd/utils/argcheck.py

See this annotation in the file changed.

Code scanning / CodeQL

'import *' may pollute namespace Note

Import pollutes the enclosing namespace, as the imported module
deepmd_utils.utils.argcheck
does not define '__all__'.

Check notice on line 3 in deepmd/utils/compat.py

See this annotation in the file changed.

Code scanning / CodeQL

'import *' may pollute namespace Note

Import pollutes the enclosing namespace, as the imported module
deepmd_utils.utils.compat
does not define '__all__'.

Check notice on line 3 in deepmd/utils/data.py

See this annotation in the file changed.

Code scanning / CodeQL

'import *' may pollute namespace Note

Import pollutes the enclosing namespace, as the imported module
deepmd_utils.utils.data
does not define '__all__'.

Check notice on line 3 in deepmd/utils/data_system.py

See this annotation in the file changed.

Code scanning / CodeQL

'import *' may pollute namespace Note

Import pollutes the enclosing namespace, as the imported module
deepmd_utils.utils.data_system
does not define '__all__'.

Check notice on line 3 in deepmd/utils/pair_tab.py

See this annotation in the file changed.

Code scanning / CodeQL

'import *' may pollute namespace Note

Import pollutes the enclosing namespace, as the imported module
deepmd_utils.utils.pair_tab
does not define '__all__'.

Check notice on line 3 in deepmd/utils/path.py

See this annotation in the file changed.

Code scanning / CodeQL

'import *' may pollute namespace Note

Import pollutes the enclosing namespace, as the imported module
deepmd_utils.utils.path
does not define '__all__'.

Check notice on line 3 in deepmd/utils/plugin.py

See this annotation in the file changed.

Code scanning / CodeQL

'import *' may pollute namespace Note

Import pollutes the enclosing namespace, as the imported module
deepmd_utils.utils.plugin
does not define '__all__'.

Check notice on line 3 in deepmd/utils/weight_avg.py

See this annotation in the file changed.

Code scanning / CodeQL

'import *' may pollute namespace Note

Import pollutes the enclosing namespace, as the imported module
deepmd_utils.utils.weight_avg
does not define '__all__'.

Check warning on line 183 in deepmd_utils/common.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary 'else' clause in loop Warning

This 'for' statement has a redundant 'else' as no 'break' is present in the body.

Check notice on line 20 in deepmd_utils/loggers/loggers.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused global variable Note

The global variable '_MPI_APPEND_MODE' is not used.

Check notice on line 516 in deepmd_utils/utils/argcheck.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable link_lf is not used.

Check notice on line 517 in deepmd_utils/utils/argcheck.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable link_se_e2_a is not used.

Check notice on line 518 in deepmd_utils/utils/argcheck.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable link_se_e2_r is not used.

Check notice on line 519 in deepmd_utils/utils/argcheck.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable link_se_e3 is not used.

Check notice on line 520 in deepmd_utils/utils/argcheck.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable link_se_a_tpe is not used.

Check notice on line 521 in deepmd_utils/utils/argcheck.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable link_hybrid is not used.

Check notice on line 522 in deepmd_utils/utils/argcheck.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable link_se_atten is not used.

Check notice on line 523 in deepmd_utils/utils/argcheck.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable link_se_atten_v2 is not used.

Check notice on line 720 in deepmd_utils/utils/argcheck.py

See this annotation in the file changed.

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.

Check warning on line 25 in deepmd_utils/utils/path.py

See this annotation in the file changed.

Code scanning / CodeQL

Incomplete ordering Warning

Class DPPath implements
__lt__
, but does not implement __le__ or __gt__ or __ge__.

Check warning on line 126 in deepmd_utils/utils/path.py

See this annotation in the file changed.

Code scanning / CodeQL

Incomplete ordering Warning

Class DPOSPath implements
__lt__
, but does not implement __le__ or __gt__ or __ge__.

Check warning on line 216 in deepmd_utils/utils/path.py

See this annotation in the file changed.

Code scanning / CodeQL

Incomplete ordering Warning

Class DPH5Path implements
__lt__
, but does not implement __le__ or __gt__ or __ge__.

Check warning on line 126 in deepmd_utils/utils/path.py

See this annotation in the file changed.

Code scanning / CodeQL

`__eq__` not overridden when adding attributes Warning

The class 'DPOSPath' does not override
'__eq__'
, but adds the new attribute
path
.
The class 'DPOSPath' does not override
'__eq__'
, but adds the new attribute
path
.

Check warning on line 216 in deepmd_utils/utils/path.py

See this annotation in the file changed.

Code scanning / CodeQL

`__eq__` not overridden when adding attributes Warning

The class 'DPH5Path' does not override
'__eq__'
, but adds the new attribute
root_path
.
The class 'DPH5Path' does not override
'__eq__'
, but adds the new attribute
root
.
The class 'DPH5Path' does not override
'__eq__'
, but adds the new attribute
name
.