arichr/gophient

View on GitHub
Publish code coverage on CodeClimate #38
Arisu Wonderland authored 8afc2937
complete00:00:17
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
3ac712e04e08: Waiting
30af34904229: Waiting
6d42fbb1fef9: Waiting
91bdc615afbe: Waiting
f7a0074baec6: Verifying Checksum
f7a0074baec6: Download complete
d3652c33ba6f: Verifying Checksum
d3652c33ba6f: Download complete
3ac712e04e08: Verifying Checksum
3ac712e04e08: Download complete
30af34904229: Download complete
c158987b0551: Verifying Checksum
c158987b0551: Download complete
c158987b0551: Pull complete
6d42fbb1fef9: Download 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
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-10-22T03:04:40.819568 #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-10-22T03:04:40.825092 #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.185s
INFO: Final Memory: 6M/295M
INFO: ------------------------------------------------------------------------