python-logdetective-2.2.1-1.20251001181653269108.main.2.gc083fff

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:154:13: W1514[pylint]: Using open without explicitly specifying an encoding
#  152|               raise ValueError(f"Local log {log_path} doesn't exist!")
#  153|   
#  154|->         with open(log_path, "rt") as f:
#  155|               log = f.read()
#  156|   

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

Error: PROSPECTOR_WARNING: [#def4]
/usr/lib/python3.14/site-packages/logdetective/utils.py:246:17: W1514[pylint]: Using open without explicitly specifying an encoding
#  244|       if path:
#  245|           try:
#  246|->             with open(path, "r") as file:
#  247|                   return SkipSnippets(yaml.safe_load(file))
#  248|           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-pylint3.3.8
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, pylint, shellcheck, unicontrol
exit-code0
hostip-172-16-1-243.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.2.1-1.20251001181653269108.main.2.gc083fff
store-results-to/tmp/tmpa_7ht6sc/python-logdetective-2.2.1-1.20251001181653269108.main.2.gc083fff.tar.xz
time-created2025-10-06 14:30:10
time-finished2025-10-06 14:34:15
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpa_7ht6sc/python-logdetective-2.2.1-1.20251001181653269108.main.2.gc083fff.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '-t=pylint' '/tmp/tmpa_7ht6sc/python-logdetective-2.2.1-1.20251001181653269108.main.2.gc083fff.src.rpm'
tool-versioncsmock-3.8.2.20251001.130531.g1d8e3a4-1.el9