bachya/pyairvisual

View on GitHub
Bump ruff from 0.4.1 to 0.4.2 #1324
dependabot[bot] authored 4814c941
complete00:00:17
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'ratings' has been deprecated, and will not be used
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-fixme:b188
b188: Pulling from codeclimate/codeclimate-fixme
90f4dba627d6: Pulling fs layer
a3ed95caeb02: Pulling fs layer
84319a08f3d7: Pulling fs layer
9a7a3c8b75ac: Pulling fs layer
a295ebbbbdc1: Pulling fs layer
e9068dee127d: Pulling fs layer
1ba56920fd8f: Pulling fs layer
df6640a2ada9: Pulling fs layer
0b4a6fa6bdae: Pulling fs layer
84319a08f3d7: Waiting
a295ebbbbdc1: Waiting
e9068dee127d: Waiting
9a7a3c8b75ac: Waiting
1ba56920fd8f: Waiting
df6640a2ada9: Waiting
0b4a6fa6bdae: Waiting
a3ed95caeb02: Verifying Checksum
a3ed95caeb02: Download complete
90f4dba627d6: Download complete
84319a08f3d7: Verifying Checksum
84319a08f3d7: Download complete
9a7a3c8b75ac: Verifying Checksum
9a7a3c8b75ac: Download complete
90f4dba627d6: Pull complete
e9068dee127d: Verifying Checksum
e9068dee127d: Download complete
a295ebbbbdc1: Verifying Checksum
a295ebbbbdc1: Download complete
a3ed95caeb02: Pull complete
1ba56920fd8f: Verifying Checksum
1ba56920fd8f: Download complete
0b4a6fa6bdae: Download complete
df6640a2ada9: Verifying Checksum
df6640a2ada9: Download complete
84319a08f3d7: Pull complete
9a7a3c8b75ac: Pull complete
a295ebbbbdc1: Pull complete
e9068dee127d: Pull complete
1ba56920fd8f: Pull complete
df6640a2ada9: Pull complete
0b4a6fa6bdae: Pull complete
Digest: sha256:a1d81814b1bcb2a08a5537aa956a566723daef4b1b02dd2bc6addf4d836a4a2d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-fixme:b188
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
e00d546a75ad: Pull complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
c2b31566ca3d: Verifying Checksum
c2b31566ca3d: Download complete
21f0a0866768: Pull complete
cd9d3946aa16: Pull complete
2e56add6654f: Download 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
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-04-26T06:19:11.543357 #1]  INFO -- : Skipping file ./pyairvisual/node.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 93
    history: list[OrderedDict], measurements_to_use: int
           ^
SyntaxError: invalid syntax


I, [2024-04-26T06:19:11.551250 #1]  INFO -- : Skipping file ./pyairvisual/air_quality.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 12
    def __init__(self, request: Callable[..., Awaitable]) -> None:
                              ^
SyntaxError: invalid syntax


I, [2024-04-26T06:19:11.554590 #1]  INFO -- : Skipping file ./pyairvisual/cloud_api.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 69
    ERROR_CODES: dict[str, type[AirVisualError]] = {
               ^
SyntaxError: invalid syntax


I, [2024-04-26T06:19:11.565468 #1]  INFO -- : Skipping file ./pyairvisual/supported.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 12
    def __init__(self, request: Callable[..., Awaitable]) -> None:
                              ^
SyntaxError: invalid syntax


I, [2024-04-26T06:19:11.576412 #1]  INFO -- : Skipping file ./examples/test_node_pro.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 14
    async def main() -> None:
            ^
SyntaxError: invalid syntax


I, [2024-04-26T06:19:11.587293 #1]  INFO -- : Skipping file ./examples/test_cloud_api.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
    async def main() -> None:  # noqa: C901
            ^
SyntaxError: invalid syntax
7
fixme
fixme engine documentation
8
radon
radon engine documentation
View output
Running radon3...