Successfully installed colorama-0.4.6 pygame-2.5.2 slack-sdk-3.26.1
Run pkgs_pth=$(python3 -c 'import re; print(" ".join(re.findall("([^\s]+)", ".")))')
pkgs_pth=$(python3 -c 'import re; print(" ".join(re.findall("([^\s]+)", ".")))')
pylint --exit-zero --output-format=text:pylint_score.txt,colorized $pkgs_pth
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.10.13/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib
************* Module .
__init__.py:1:0: F0010: error while code parsing: Unable to load file __init__.py:
[Errno 2] No such file or directory: '__init__.py' (parse-error)
Run python /home/runner/work/_actions/Silleellie/pylint-github-action/v1/get_score_color.py
python /home/runner/work/_actions/Silleellie/pylint-github-action/v1/get_score_color.py
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.10.13/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib
Traceback (most recent call last):
File "/home/runner/work/_actions/Silleellie/pylint-github-action/v1/get_score_color.py", line 6, in <module>
numeric_score = re.search(r"(?<=\s)(\d+\.\d+)\/\d+(?=\s)", pylint_result).group().split("/")[0]
AttributeError: 'NoneType' object has no attribute 'group'
Error: Process completed with exit code 1.