Skip to content

Implement daemon with logging and TFTP server

Codacy Production / Codacy Static Code Analysis required action Jan 10, 2024 in 0s

14 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2
- Added 14
           

Complexity increasing per file
==============================
- src/cobbler_tftp/server/__init__.py  5
- src/cobbler_tftp/server/tftp.py  1
- src/cobbler_tftp/cli.py  3
- tests/unittests/application_settings/test_settings.py  4
         

See the complete overview on Codacy

Annotations

Check notice on line 1 in src/cobbler_tftp/server/__init__.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/__init__.py#L1

One-line docstring should fit on one line with quotes (found 3) (D200)

Check notice on line 31 in src/cobbler_tftp/server/__init__.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/__init__.py#L31

do not use bare 'except' (E722)

Check notice on line 1 in src/cobbler_tftp/server/tftp.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/tftp.py#L1

One-line docstring should fit on one line with quotes (found 3) (D200)

Check notice on line 13 in src/cobbler_tftp/server/tftp.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/tftp.py#L13

Missing docstring in __init__ (D107)

Check notice on line 16 in src/cobbler_tftp/server/tftp.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/tftp.py#L16

Missing docstring in public method (D102)

Check notice on line 16 in src/cobbler_tftp/server/tftp.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/tftp.py#L16

Unused argument 'n' (unused-argument)

Check notice on line 16 in src/cobbler_tftp/server/tftp.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/tftp.py#L16

Unused variable 'n' (unused-variable)

Check notice on line 19 in src/cobbler_tftp/server/tftp.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/tftp.py#L19

Missing docstring in public method (D102)

Check notice on line 22 in src/cobbler_tftp/server/tftp.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/tftp.py#L22

Missing docstring in public method (D102)

Check notice on line 26 in src/cobbler_tftp/server/tftp.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/tftp.py#L26

Missing docstring in public function (D103)

Check notice on line 48 in src/cobbler_tftp/server/tftp.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/tftp.py#L48

Too few public methods (1/2) (too-few-public-methods)

Check notice on line 65 in src/cobbler_tftp/server/tftp.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/tftp.py#L65

Missing docstring in public method (D102)

Check notice on line 69 in src/cobbler_tftp/server/tftp.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/tftp.py#L69

Too few public methods (1/2) (too-few-public-methods)

Check notice on line 87 in src/cobbler_tftp/server/tftp.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/cobbler_tftp/server/tftp.py#L87

Missing docstring in public method (D102)