Skip to content

Migrate core.set_devel_project() to obs_api.Package

GitHub Advanced Security / CodeQL failed Feb 13, 2024 in 4s

6 new alerts including 1 error

New alerts in code changed by this pull request

  • 1 error
  • 1 warning
  • 4 notes

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 567 in osc/util/models.py

See this annotation in the file changed.

Code scanning / CodeQL

Modification of parameter with default Error

This expression mutates a
default value
.

Check notice on line 14 in osc/util/models.py

See this annotation in the file changed.

Code scanning / CodeQL

Module is imported with 'import' and 'import from' Note

Module 'typing' is imported with both 'import' and 'import from'.

Check notice on line 711 in osc/util/models.py

See this annotation in the file changed.

Code scanning / CodeQL

Cyclic import Note

Import of module
osc.connection
begins an import cycle.

Check notice on line 712 in osc/util/models.py

See this annotation in the file changed.

Code scanning / CodeQL

Cyclic import Note

Import of module
osc.core
begins an import cycle.

Check notice on line 733 in osc/util/models.py

See this annotation in the file changed.

Code scanning / CodeQL

Cyclic import Note

Import of module
osc.core
begins an import cycle.

Check warning on line 132 in osc/conf.py

See this annotation in the file changed.

Code scanning / CodeQL

`__eq__` not overridden when adding attributes Warning

The class 'OscOptions' does not override
'__eq__'
, but adds the new attribute
_allow_new_attributes
.
The class 'OscOptions' does not override
'__eq__'
, but adds the new attribute
_extra_fields
.
The class 'OscOptions' does not override
'__eq__'
, but adds the new attribute
_allow_new_attributes
.

Check warning on line 426 in osc/util/models.py

See this annotation in the file changed.

Code scanning / CodeQL

`__eq__` not overridden when adding attributes Warning

The class 'XmlModel' does not override
'__eq__'
, but adds the new attribute
_values
.