NatLibFi/Annif

View on GitHub
refactor code to avoid flake8 warning #2388
Osma Suominen authored d2a00519
complete00:02:02
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' 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
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-11-12T19:15:07.931616 #1]  WARN -- : Skipping annif/static/js/axios.min.js due to CC::Parser::Client::HTTPError
W, [2024-11-12T19:15:07.931697 #1]  WARN -- : Response status: 422
W, [2024-11-12T19:15:07.936196 #1]  WARN -- : Skipping annif/static/js/vue.min.js due to CC::Parser::Client::HTTPError
W, [2024-11-12T19:15:07.936235 #1]  WARN -- : Response status: 422
W, [2024-11-12T19:15:07.938585 #1]  WARN -- : Skipping annif/static/js/bootstrap.min.js due to CC::Parser::Client::HTTPError
W, [2024-11-12T19:15:07.938621 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-12T19:15:12.241312 #1]  INFO -- : Skipping file ./annif/hfh_util.py due to exception (CC::Engine::Analyzers::ParserError): `python3 /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/python3/lib/python3.7/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 263
    while chunk := fp.read(size):
                 ^
SyntaxError: invalid syntax
7
pep8
pep8 engine documentation
View output
.github/ docs/ annif/
8
radon
radon engine documentation
View output
Running radon3...