Tafkas/solarpi

View on GitHub
small fixes #163
Christian Stade-Schuldt authored a0af93b2
complete00:00:31
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: '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-csslint:b84
b84: Pulling from codeclimate/codeclimate-csslint
1160f4abea84: Pulling fs layer
a3ed95caeb02: Pulling fs layer
3ec5cae38735: Pulling fs layer
8936ea0e8ba7: Pulling fs layer
94a9aff34d5e: Pulling fs layer
8d0399ee02d4: Pulling fs layer
4dfde3fb5720: Pulling fs layer
96be06cb94ee: Pulling fs layer
8936ea0e8ba7: Waiting
94a9aff34d5e: Waiting
8d0399ee02d4: Waiting
4dfde3fb5720: Waiting
96be06cb94ee: Waiting
a3ed95caeb02: Download complete
1160f4abea84: Verifying Checksum
1160f4abea84: Download complete
8936ea0e8ba7: Verifying Checksum
8936ea0e8ba7: Download complete
1160f4abea84: Pull complete
94a9aff34d5e: Download complete
8d0399ee02d4: Download complete
a3ed95caeb02: Pull complete
3ec5cae38735: Verifying Checksum
3ec5cae38735: Download complete
96be06cb94ee: Verifying Checksum
96be06cb94ee: Download complete
4dfde3fb5720: Verifying Checksum
4dfde3fb5720: Download complete
3ec5cae38735: Pull complete
8936ea0e8ba7: Pull complete
94a9aff34d5e: Pull complete
8d0399ee02d4: Pull complete
4dfde3fb5720: Pull complete
96be06cb94ee: Pull complete
Digest: sha256:20ce00b71ed8952203f7bb71051aec98bc5e156bcaf474bac3a23c54e8567bed
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-csslint:b84
docker pull codeclimate/codeclimate-eslint:b1476
b1476: Pulling from codeclimate/codeclimate-eslint
a2abf6c4d29d: Pulling fs layer
716b0e096692: Pulling fs layer
d65f0cc0c2e2: Pulling fs layer
c7fbf3401fad: Pulling fs layer
811ff2aaa8ce: Pulling fs layer
6961ed5764f3: Pulling fs layer
77321725071c: Pulling fs layer
e5ddd6d9acb6: Pulling fs layer
176840c42401: Pulling fs layer
414f407f492d: Pulling fs layer
7023f3ea382b: Pulling fs layer
af2390cc3e5d: Pulling fs layer
8bc34c14ff5d: Pulling fs layer
50a05621282c: Pulling fs layer
543da683a9cb: Pulling fs layer
176840c42401: Waiting
414f407f492d: Waiting
7023f3ea382b: Waiting
af2390cc3e5d: Waiting
811ff2aaa8ce: Waiting
6961ed5764f3: Waiting
8bc34c14ff5d: Waiting
77321725071c: Waiting
50a05621282c: Waiting
543da683a9cb: Waiting
e5ddd6d9acb6: Waiting
c7fbf3401fad: Waiting
716b0e096692: Verifying Checksum
716b0e096692: Download complete
c7fbf3401fad: Verifying Checksum
c7fbf3401fad: Download complete
a2abf6c4d29d: Verifying Checksum
a2abf6c4d29d: Download complete
811ff2aaa8ce: Verifying Checksum
811ff2aaa8ce: Download complete
6961ed5764f3: Verifying Checksum
6961ed5764f3: Download complete
e5ddd6d9acb6: Verifying Checksum
e5ddd6d9acb6: Download complete
176840c42401: Verifying Checksum
176840c42401: Download complete
414f407f492d: Verifying Checksum
414f407f492d: Download complete
d65f0cc0c2e2: Verifying Checksum
d65f0cc0c2e2: Download complete
7023f3ea382b: Verifying Checksum
7023f3ea382b: Download complete
a2abf6c4d29d: Pull complete
716b0e096692: Pull complete
8bc34c14ff5d: Verifying Checksum
8bc34c14ff5d: Download complete
50a05621282c: Verifying Checksum
50a05621282c: Download complete
543da683a9cb: Verifying Checksum
543da683a9cb: Download complete
af2390cc3e5d: Verifying Checksum
af2390cc3e5d: Download complete
d65f0cc0c2e2: Pull complete
c7fbf3401fad: Pull complete
811ff2aaa8ce: Pull complete
6961ed5764f3: Pull complete
77321725071c: Pull complete
e5ddd6d9acb6: Pull complete
176840c42401: Pull complete
414f407f492d: Pull complete
7023f3ea382b: Pull complete
af2390cc3e5d: Pull complete
8bc34c14ff5d: Pull complete
50a05621282c: Pull complete
543da683a9cb: Pull complete
Digest: sha256:1927fd540edeebf51540dffc05058271fdf3caec4291ef07f3c1dd0947431add
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-eslint:b1476
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
e00d546a75ad: Download complete
cd9d3946aa16: Verifying Checksum
cd9d3946aa16: Download complete
e00d546a75ad: Pull complete
6c87f215a2be: Verifying Checksum
6c87f215a2be: Download complete
c2b31566ca3d: Verifying Checksum
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
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-14T00:26:56.519489 #1]  INFO -- : Skipping file ./solarpi/electricity/helper.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 29
    """
      ^
SyntaxError: invalid syntax


I, [2024-04-14T00:26:56.574152 #1]  INFO -- : Skipping file ./solarpi/pvdata/helper.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 80
    """
      ^
SyntaxError: invalid syntax
7
csslint
csslint engine documentation
8
eslint
eslint engine documentation
View output
ESLint is running with the default parser.
.eslintrc appears to be incompatible with ESLint 3.
We've attempted to fix any compatibility issues.
Note: some of these warnings may originate in configurations you are extending.
If analysis succeeds, you have nothing to worry about.
To upgrade it do the following:

* Add .yml or .json to the config file name. Extension-less config file names are deprecated.
* Set sourceType to "module" in parserOptions section
* Remove modules from ecmaFeatures section
* Set ecmaVersion to 6 in parserOptions section
* Move ecmaFeatures section under parserOptions section
* Remove no-arrow-condition rule and add the following:

    "no-confusing-arrow": "off",
    "no-constant-condition": [
        "off",
        {
            "checkLoops": false
        }
    ]


* Remove no-empty-label rule and add the following:

    "no-labels": [
        "error",
        {
            "allowLoop": true
        }
    ]


* Remove space-after-keywords rule and add the following:

    "keyword-spacing": [
        "off",
        {
            "after": false
        }
    ]


* Remove space-before-keywords rule and add the following:

    "keyword-spacing": [
        "off",
        {
            "before": false
        }
    ]


* Remove space-return-throw-case rule and add the following:

    "keyword-spacing": [
        "off",
        {
            "after": true
        }
    ]



WARN: Skipping solarpi/static/js/plugins.js: it appears to be minified
(node:8) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
9
fixme
fixme engine documentation
10
radon
radon engine documentation
View output
Running radon3...