meetbryce/open-source-slack-ai

View on GitHub
Merge pull request #5 from renob/fix-readme-python-version #76
Bryce York authored d73db616
complete00:00:17
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: unknown engine or channel <codescan:stable>
WARNING: unknown engine or channel <cody:stable>
WARNING: unknown engine or channel <isort:stable>
WARNING: unknown engine or channel <proselint:stable>
WARNING: unknown engine or channel <protobuf:stable>
WARNING: unknown engine or channel <rustfmt:stable>
WARNING: unknown engine or channel <tfsec:stable>
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-black:b1058
b1058: Pulling from codeclimate/codeclimate-black
345e3491a907: Pulling fs layer
57671312ef6f: Pulling fs layer
5e9250ddb7d0: Pulling fs layer
07318ed61f01: Pulling fs layer
ddd2f39cd424: Pulling fs layer
df25d5beb216: Pulling fs layer
d961feeb0441: Pulling fs layer
83c8bd201a12: Pulling fs layer
5bce6627a0c4: Pulling fs layer
ce6b953d3e62: Pulling fs layer
9921c94708b9: Pulling fs layer
94c6ee8cbbc0: Pulling fs layer
ddd2f39cd424: Waiting
df25d5beb216: Waiting
83c8bd201a12: Waiting
d961feeb0441: Waiting
5bce6627a0c4: Waiting
9921c94708b9: Waiting
94c6ee8cbbc0: Waiting
ce6b953d3e62: Waiting
07318ed61f01: Waiting
57671312ef6f: Download complete
5e9250ddb7d0: Verifying Checksum
5e9250ddb7d0: Download complete
07318ed61f01: Verifying Checksum
07318ed61f01: Download complete
ddd2f39cd424: Verifying Checksum
ddd2f39cd424: Download complete
345e3491a907: Verifying Checksum
345e3491a907: Download complete
83c8bd201a12: Verifying Checksum
83c8bd201a12: Download complete
df25d5beb216: Verifying Checksum
df25d5beb216: Download complete
5bce6627a0c4: Verifying Checksum
5bce6627a0c4: Download complete
ce6b953d3e62: Verifying Checksum
ce6b953d3e62: Download complete
9921c94708b9: Verifying Checksum
9921c94708b9: Download complete
94c6ee8cbbc0: Verifying Checksum
94c6ee8cbbc0: Download complete
345e3491a907: Pull complete
57671312ef6f: Pull complete
5e9250ddb7d0: Pull complete
07318ed61f01: Pull complete
ddd2f39cd424: Pull complete
df25d5beb216: Pull complete
d961feeb0441: Verifying Checksum
d961feeb0441: Download complete
d961feeb0441: Pull complete
83c8bd201a12: Pull complete
5bce6627a0c4: Pull complete
ce6b953d3e62: Pull complete
9921c94708b9: Pull complete
94c6ee8cbbc0: Pull complete
Digest: sha256:4b73b361e5bd84cc9ba1f1866441120197c59f3de5d76c98dfad76f24acba427
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-black:b1058
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-08-22T00:03:50.783365 #1]  INFO -- : Skipping file ossai/slack_server.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 33
    async def slack_events(request: Request):
        ^
SyntaxError: invalid syntax


I, [2024-08-22T00:03:50.783753 #1]  INFO -- : Skipping file ossai/handlers.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 47
    comment=f"Feedback from action: {action_id}"
                                               ^
SyntaxError: invalid syntax


I, [2024-08-22T00:03:50.794271 #1]  INFO -- : Skipping file ossai/summarizer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 16
    text: str, 
        ^
SyntaxError: invalid syntax


I, [2024-08-22T00:03:50.794974 #1]  INFO -- : Skipping file ossai/topic_analysis.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 37
    async def _kmeans_topics(tfidf_matrix, num_topics, terms):
            ^
SyntaxError: invalid syntax


I, [2024-08-22T00:03:50.805003 #1]  INFO -- : Skipping file ossai/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 31
    async def get_bot_id(client) -> str:
            ^
SyntaxError: invalid syntax
7
black
black engine documentation