Skip to content

implementing suggestions

codefactor.io / CodeFactor failed Jan 17, 2025 in 7s

2 issues fixed. 12 issues found.

Annotations

Check notice on line 83 in src/smefit/fit_manager.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/smefit/fit_manager.py#L83

Attribute 'operators_to_keep' defined outside __init__ (attribute-defined-outside-init)

Check notice on line 583 in src/smefit/analyze/report.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/smefit/analyze/report.py#L583

Using an f-string that does not have any interpolated variables (f-string-without-interpolation)

Check notice on line 573 in src/smefit/analyze/report.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/smefit/analyze/report.py#L573

Using possibly undefined loop variable 'fit' (undefined-loop-variable)

Check notice on line 20 in src/smefit/analyze/fisher.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/smefit/analyze/fisher.py#L20

Unused argument 'fontsize' (unused-argument)

Check notice on line 87 in src/smefit/rge/rge.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/smefit/rge/rge.py#L87

Unused argument 'self' (unused-argument)

Check notice on line 415 in src/smefit/rge/rge.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/smefit/rge/rge.py#L415

Too many local variables (24/22) (too-many-locals)

Check notice on line 16 in src/smefit/fit_manager.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/smefit/fit_manager.py#L16

Too many instance attributes (9/7) (too-many-instance-attributes)

Check notice on line 20 in src/smefit/analyze/fisher.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/smefit/analyze/fisher.py#L20

Unused argument 'legend' (unused-argument)

Check notice on line 525 in src/smefit/analyze/fisher.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/smefit/analyze/fisher.py#L525

Too many local variables (23/22) (too-many-locals)

Check notice on line 97 in src/smefit/rge/rge.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/smefit/rge/rge.py#L97

Access to a protected member _to_wcxf of a client class (protected-access)

Check notice on line 518 in src/smefit/rge/rge.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/smefit/rge/rge.py#L415-L518

Complex Method

Check notice on line 633 in src/smefit/analyze/fisher.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/smefit/analyze/fisher.py#L525-L633

Complex Method