python-logdetective-1.1.0-1.20250604103825801996.pr291.6.gc74723b

List of Findings

Error: PROSPECTOR_WARNING: [#def1]
/usr/lib/python3.13/site-packages/logdetective/server/config.py:16:17: W1514[pylint]: Using open without explicitly specifying an encoding
#   14|       if path is not None:
#   15|           try:
#   16|->             with open(path, "r") as config_file:
#   17|                   return Config(yaml.safe_load(config_file))
#   18|           except FileNotFoundError:

Error: PROSPECTOR_WARNING: [#def2]
/usr/lib/python3.13/site-packages/logdetective/utils.py:151:13: W1514[pylint]: Using open without explicitly specifying an encoding
#  149|               raise ValueError(f"Local log {log_path} doesn't exist!")
#  150|   
#  151|->         with open(log_path, "rt") as f:
#  152|               log = f.read()
#  153|   

Error: PROSPECTOR_WARNING: [#def3]
/usr/lib/python3.13/site-packages/logdetective/utils.py:193:17: W1514[pylint]: Using open without explicitly specifying an encoding
#  191|       if path:
#  192|           try:
#  193|->             with open(path, "r") as file:
#  194|                   return PromptConfig(yaml.safe_load(file))
#  195|           except FileNotFoundError:

Scan Properties

analyzer-version-clippy1.87.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.1.1
analyzer-version-gcc-analyzer15.1.1
analyzer-version-pylint3.3.7
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, pylint, shellcheck, unicontrol
exit-code0
hostip-172-16-1-217.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namepython-logdetective-1.1.0-1.20250604103825801996.pr291.6.gc74723b
store-results-to/tmp/tmp43rt6qn7/python-logdetective-1.1.0-1.20250604103825801996.pr291.6.gc74723b.tar.xz
time-created2025-06-04 10:50:11
time-finished2025-06-04 10:52:47
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,shellcheck,gcc,cppcheck,unicontrol' '-o' '/tmp/tmp43rt6qn7/python-logdetective-1.1.0-1.20250604103825801996.pr291.6.gc74723b.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '-t=pylint' '/tmp/tmp43rt6qn7/python-logdetective-1.1.0-1.20250604103825801996.pr291.6.gc74723b.src.rpm'
tool-versioncsmock-3.8.1.20250522.153104.ga728c5b-1.el9