python-logdetective-2.4.1-1.20251024074816881359.main.19.g1f43959

List of Findings

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

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

Error: PROSPECTOR_WARNING: [#def3]
/usr/lib/python3.14/site-packages/logdetective/utils.py:201:17: W1514[pylint]: Using open without explicitly specifying an encoding
#  199|       if path:
#  200|           try:
#  201|->             with open(path, "r") as file:
#  202|                   return PromptConfig(yaml.safe_load(file))
#  203|           except FileNotFoundError:

Error: PROSPECTOR_WARNING: [#def4]
/usr/lib/python3.14/site-packages/logdetective/utils.py:251:17: W1514[pylint]: Using open without explicitly specifying an encoding
#  249|       if path:
#  250|           try:
#  251|->             with open(path, "r") as file:
#  252|                   return SkipSnippets(yaml.safe_load(file))
#  253|           except OSError as e:

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer15.2.1
analyzer-version-pylint4.0.2
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, pylint, shellcheck, unicontrol
exit-code0
hostip-172-16-1-253.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-2.4.1-1.20251024074816881359.main.19.g1f43959
store-results-to/tmp/tmpogv6exuz/python-logdetective-2.4.1-1.20251024074816881359.main.19.g1f43959.tar.xz
time-created2025-10-24 10:33:14
time-finished2025-10-24 10:37:07
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpogv6exuz/python-logdetective-2.4.1-1.20251024074816881359.main.19.g1f43959.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '-t=pylint' '/tmp/tmpogv6exuz/python-logdetective-2.4.1-1.20251024074816881359.main.19.g1f43959.src.rpm'
tool-versioncsmock-3.8.3.20251013.170946.gb8b9f75-1.el9