arichr/gophient

View on GitHub
Publish code coverage on CodeClimate #39
Arisu Wonderland authored 8afc2937
complete00:00:42
Your first build completed successfully!

Congratulations

Your first build completed successfully!

See the Results

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-bandit:b1124
b1124: Pulling from codeclimate/codeclimate-bandit
c158987b0551: Pulling fs layer
f7a0074baec6: Pulling fs layer
d3652c33ba6f: Pulling fs layer
91bdc615afbe: Pulling fs layer
3ac712e04e08: Pulling fs layer
30af34904229: Pulling fs layer
6d42fbb1fef9: Pulling fs layer
91bdc615afbe: Waiting
3ac712e04e08: Waiting
30af34904229: Waiting
6d42fbb1fef9: Waiting
f7a0074baec6: Download complete
d3652c33ba6f: Download complete
3ac712e04e08: Download complete
c158987b0551: Verifying Checksum
c158987b0551: Download complete
30af34904229: Verifying Checksum
30af34904229: Download complete
6d42fbb1fef9: Verifying Checksum
6d42fbb1fef9: Download complete
c158987b0551: Pull complete
f7a0074baec6: Pull complete
d3652c33ba6f: Pull complete
91bdc615afbe: Verifying Checksum
91bdc615afbe: Download complete
91bdc615afbe: Pull complete
3ac712e04e08: Pull complete
30af34904229: Pull complete
6d42fbb1fef9: Pull complete
Digest: sha256:4a20738ab9ac2ef317caa32e02acce6222a25cbf52d6076f058aa3223806783d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-bandit:b1124
docker pull codeclimate/codeclimate-editorconfig:b855
b855: Pulling from codeclimate/codeclimate-editorconfig
a073c86ecf9e: Pulling fs layer
0e28711eb56d: Pulling fs layer
e460dd483fdd: Pulling fs layer
54992f8503df: Pulling fs layer
c2238fe48590: Pulling fs layer
cb4230eeef73: Pulling fs layer
b65d797fb447: Pulling fs layer
b85108c1334c: Pulling fs layer
54992f8503df: Waiting
c2238fe48590: Waiting
b65d797fb447: Waiting
b85108c1334c: Waiting
cb4230eeef73: Waiting
a073c86ecf9e: Verifying Checksum
a073c86ecf9e: Download complete
54992f8503df: Verifying Checksum
54992f8503df: Download complete
a073c86ecf9e: Pull complete
c2238fe48590: Download complete
0e28711eb56d: Verifying Checksum
0e28711eb56d: Download complete
b85108c1334c: Verifying Checksum
b85108c1334c: Download complete
cb4230eeef73: Download complete
b65d797fb447: Verifying Checksum
b65d797fb447: Download complete
0e28711eb56d: Pull complete
e460dd483fdd: Pull complete
54992f8503df: Pull complete
c2238fe48590: Pull complete
cb4230eeef73: Pull complete
b65d797fb447: Pull complete
b85108c1334c: Pull complete
Digest: sha256:6d2c4a9632c2f4d3d5c7ea8aa58739fb07a6276a39847a8c00276e38cf1de302
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-editorconfig:b855
docker pull codeclimate/codeclimate-pep8:b25
b25: Pulling from codeclimate/codeclimate-pep8
ab6db1bc80d0: Pulling fs layer
bf17e9a1c113: Pulling fs layer
4f8d95c214b1: Pulling fs layer
0de813e89c33: Pulling fs layer
a9696c7f4cd8: Pulling fs layer
51b9219e6e44: Pulling fs layer
e3c7e34cb08c: Pulling fs layer
328f3a57c882: Pulling fs layer
43b5f16a0c84: Pulling fs layer
0de813e89c33: Waiting
a9696c7f4cd8: Waiting
51b9219e6e44: Waiting
e3c7e34cb08c: Waiting
328f3a57c882: Waiting
43b5f16a0c84: Waiting
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
4f8d95c214b1: Verifying Checksum
4f8d95c214b1: Download complete
ab6db1bc80d0: Verifying Checksum
ab6db1bc80d0: Download complete
a9696c7f4cd8: Download complete
ab6db1bc80d0: Pull complete
e3c7e34cb08c: Download complete
51b9219e6e44: Verifying Checksum
51b9219e6e44: Download complete
bf17e9a1c113: Pull complete
43b5f16a0c84: Verifying Checksum
43b5f16a0c84: Download complete
328f3a57c882: Verifying Checksum
328f3a57c882: Download complete
4f8d95c214b1: Pull complete
0de813e89c33: Verifying Checksum
0de813e89c33: Download complete
0de813e89c33: Pull complete
a9696c7f4cd8: Pull complete
51b9219e6e44: Pull complete
e3c7e34cb08c: Pull complete
328f3a57c882: Pull complete
43b5f16a0c84: Pull complete
Digest: sha256:75f70c714bc5f9e65359d45469a1fe7c1b181a15aee8fbabec7e23c65b19d447
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-pep8:b25
docker pull codeclimate/codeclimate-pylint:b938
b938: Pulling from codeclimate/codeclimate-pylint
4fe2ade4980c: Pulling fs layer
7cf6a1d62200: Pulling fs layer
f0d690b9e495: Pulling fs layer
fac5d45ad062: Pulling fs layer
dd9b067ef6fd: Pulling fs layer
ae19c30bb075: Pulling fs layer
322fbb16ce3a: Pulling fs layer
064681c837fd: Pulling fs layer
4777c8135e2f: Pulling fs layer
c1cade1474ec: Pulling fs layer
9b2c73eee31e: Pulling fs layer
98b60db9dac2: Pulling fs layer
fdeb13433eb3: Pulling fs layer
fac5d45ad062: Waiting
dd9b067ef6fd: Waiting
ae19c30bb075: Waiting
322fbb16ce3a: Waiting
064681c837fd: Waiting
4777c8135e2f: Waiting
c1cade1474ec: Waiting
9b2c73eee31e: Waiting
98b60db9dac2: Waiting
fdeb13433eb3: Waiting
4fe2ade4980c: Verifying Checksum
4fe2ade4980c: Download complete
7cf6a1d62200: Verifying Checksum
7cf6a1d62200: Download complete
4fe2ade4980c: Pull complete
fac5d45ad062: Verifying Checksum
fac5d45ad062: Download complete
dd9b067ef6fd: Verifying Checksum
dd9b067ef6fd: Download complete
7cf6a1d62200: Pull complete
322fbb16ce3a: Verifying Checksum
322fbb16ce3a: Download complete
f0d690b9e495: Verifying Checksum
f0d690b9e495: Download complete
064681c837fd: Download complete
c1cade1474ec: Verifying Checksum
c1cade1474ec: Download complete
9b2c73eee31e: Download complete
4777c8135e2f: Verifying Checksum
4777c8135e2f: Download complete
98b60db9dac2: Verifying Checksum
98b60db9dac2: Download complete
fdeb13433eb3: Verifying Checksum
fdeb13433eb3: Download complete
f0d690b9e495: Pull complete
ae19c30bb075: Verifying Checksum
ae19c30bb075: Download complete
fac5d45ad062: Pull complete
dd9b067ef6fd: Pull complete
ae19c30bb075: Pull complete
322fbb16ce3a: Pull complete
064681c837fd: Pull complete
4777c8135e2f: Pull complete
c1cade1474ec: Pull complete
9b2c73eee31e: Pull complete
98b60db9dac2: Pull complete
fdeb13433eb3: Pull complete
Digest: sha256:a8e867713f52acba347e27ba8063b0eb27b701d7f952b5962d12a277d8710778
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-pylint:b938
docker pull codeclimate/codeclimate-radon:b695
b695: Pulling from codeclimate/codeclimate-radon
e00d546a75ad: Pulling fs layer
21f0a0866768: Pulling fs layer
cd9d3946aa16: Pulling fs layer
2e56add6654f: Pulling fs layer
6c87f215a2be: Pulling fs layer
c2b31566ca3d: Pulling fs layer
2e56add6654f: Waiting
6c87f215a2be: Waiting
c2b31566ca3d: Waiting
21f0a0866768: Verifying Checksum
21f0a0866768: Download complete
cd9d3946aa16: Verifying Checksum
cd9d3946aa16: Download complete
e00d546a75ad: Verifying Checksum
e00d546a75ad: Download complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
e00d546a75ad: Pull complete
c2b31566ca3d: Download complete
21f0a0866768: Pull complete
2e56add6654f: Verifying Checksum
2e56add6654f: Download complete
cd9d3946aa16: Pull complete
2e56add6654f: Pull complete
6c87f215a2be: Pull complete
c2b31566ca3d: Pull complete
Digest: sha256:dfeb7edc634b4e2f851f3c788f7c21bd8bae097d4c66af722c76a6ba51121f98
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-radon:b695
docker pull codeclimate/codeclimate-sonar-python:b10
b10: Pulling from codeclimate/codeclimate-sonar-python
709515475419: Pulling fs layer
d1c225ed7c34: Pulling fs layer
887f300163b6: Pulling fs layer
a3ed95caeb02: Pulling fs layer
9b412187b352: Pulling fs layer
8fe915fa1948: Pulling fs layer
65145a386a45: Pulling fs layer
a64dfb9c0f27: Pulling fs layer
59a464ab5a51: Pulling fs layer
47413513c002: Pulling fs layer
9f30da6d3676: Pulling fs layer
9b412187b352: Waiting
8fe915fa1948: Waiting
47413513c002: Waiting
65145a386a45: Waiting
a64dfb9c0f27: Waiting
9f30da6d3676: Waiting
59a464ab5a51: Waiting
d1c225ed7c34: Verifying Checksum
d1c225ed7c34: Download complete
709515475419: Download complete
a3ed95caeb02: Verifying Checksum
a3ed95caeb02: Download complete
709515475419: Pull complete
9b412187b352: Verifying Checksum
9b412187b352: Download complete
d1c225ed7c34: Pull complete
65145a386a45: Verifying Checksum
65145a386a45: Download complete
887f300163b6: Verifying Checksum
887f300163b6: Download complete
59a464ab5a51: Verifying Checksum
59a464ab5a51: Download complete
8fe915fa1948: Verifying Checksum
8fe915fa1948: Download complete
47413513c002: Verifying Checksum
47413513c002: Download complete
a64dfb9c0f27: Verifying Checksum
a64dfb9c0f27: Download complete
9f30da6d3676: Verifying Checksum
9f30da6d3676: Download complete
887f300163b6: Pull complete
a3ed95caeb02: Pull complete
9b412187b352: Pull complete
8fe915fa1948: Pull complete
65145a386a45: Pull complete
a64dfb9c0f27: Pull complete
59a464ab5a51: Pull complete
47413513c002: Pull complete
9f30da6d3676: Pull complete
Digest: sha256:7904831e83e5474cba8a95726a691787d74d669d74a8721f114057ebb4a8943d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-sonar-python:b10
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-11-21T09:47:07.151333 #1]  INFO -- : Skipping file ./gophient/types.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 18
    _client: 'Gopher' = field(repr=False)
           ^
SyntaxError: invalid syntax


I, [2024-11-21T09:47:07.158349 #1]  INFO -- : Skipping file ./gophient/exc.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 11
    def __init__(self, got: str, expected: str):
                          ^
SyntaxError: invalid syntax
7
bandit
bandit engine documentation
View output
[main]	INFO	profile include tests: None
[main]	INFO	profile exclude tests: None
[main]	INFO	cli include tests: None
[main]	INFO	cli exclude tests: None
[node_visitor]	WARNING	Unable to find qualified name for module: conftest.py
8
editorconfig
editorconfig engine documentation
View output
.editorconfig file required
9
pep8
pep8 engine documentation
View output
conftest.py .github/ tests/ docs/css/ gophient/
10
pylint
pylint engine documentation
11
radon
radon engine documentation
View output
Running radon3...
12
sonar-python
sonar-python engine documentation
View output
INFO: Java 1.8.0_111-internal Oracle Corporation (64-bit)
INFO: Linux 4.4.0-1128-aws amd64
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-core-2.17.0.899.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/src/app/build/libs/sonarlint-cli-2.1.0.566.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
INFO: Index files
INFO: 20 files indexed
ERROR: Unable to parse file: /code/gophient/types.py
ERROR: Parse error at line 18 column 11:

   10: Union[bytes, bytearray, str]
   11:     ResponseType = Union[bytes, bytearray]
   12: 
   13: 
   14: @dataclass
   15: class Item:
   16:     """Item of a server response."""
   17: 
  -->      _client: 'Gopher' = field(repr=False)
   19:     raw_type: str = field(repr=False)
   20:     """The item type. Possible values are `const.TYPES` keys."""
   21:     pretty_type: str = field(hash

INFO: ------------------------------------------------------------------------
INFO: EXECUTION SUCCESS
INFO: ------------------------------------------------------------------------
INFO: Total time: 0.222s
INFO: Final Memory: 6M/295M
INFO: ------------------------------------------------------------------------