uktrade/directory-api-client

View on GitHub
add endpoint to get business cluster information data #601
Timothy Patterson authored da1387a0
complete00:00:44
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
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
13
Parser process id: 13
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-24T14:52:01.464729 #1]  INFO -- : Skipping file ./directory_api_client/testapiclient.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 20
    def get_published_companies(self, *, limit=None, minimal_number_of_sectors=None, authenticator=None):
                                       ^
SyntaxError: invalid syntax


I, [2024-04-24T14:52:01.478349 #1]  INFO -- : Skipping file ./directory_api_client/dataservices.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
    def get_society_data_by_country(self, countries: list):
                                                   ^
SyntaxError: invalid syntax


I, [2024-04-24T14:52:01.503851 #1]  INFO -- : Skipping file ./directory_api_client/base.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
    def get(self, *args, use_fallback_cache=False, **kwargs):
                                          ^
SyntaxError: invalid syntax
7
radon
radon engine documentation
View output
Running radon3...
8
fixme
fixme engine documentation