kleros/kleros-v2

View on GitHub
Merge pull request #1324 from kleros/feat(web)/locked-pnk-redesigns-frontend #7337
Aleix authored cfe88a2b
complete00:00:37
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
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-08T11:49:35.429235 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.429265 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.435153 #1]  WARN -- : Skipping contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.435188 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:35.465994 #1]  WARN -- : Skipping contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:35.466024 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.097552 #1]  WARN -- : Skipping web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.097587 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.183030 #1]  WARN -- : Skipping web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.183069 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.195861 #1]  WARN -- : Skipping web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.195899 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.217760 #1]  WARN -- : Skipping web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.217789 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.347717 #1]  WARN -- : Skipping web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.347749 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.398305 #1]  WARN -- : Skipping web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.398343 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.443678 #1]  WARN -- : Skipping web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.443718 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.448122 #1]  WARN -- : Skipping web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.448158 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.451855 #1]  WARN -- : Skipping web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.451882 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.720179 #1]  WARN -- : Skipping web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.720217 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:36.838246 #1]  WARN -- : Skipping web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:36.838280 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.074203 #1]  WARN -- : Skipping web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.074237 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.166879 #1]  WARN -- : Skipping web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.166907 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.320528 #1]  WARN -- : Skipping web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.320555 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.504442 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.504744 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.522809 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.522840 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.525375 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.525406 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.527255 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.527280 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.529088 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.529116 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.540928 #1]  WARN -- : Skipping web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.540955 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.662094 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.662127 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:37.680840 #1]  WARN -- : Skipping web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:37.680872 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-08T11:49:40.984951 #1]  INFO -- : Skipping file ./bot-pinner/src/add_hashes.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 47
    logger.info(f"Cycle starting from block #{block_number}. WANTED HASHES: {len(hashes_wanted)}")
                                                                                                ^
SyntaxError: invalid syntax


I, [2024-11-08T11:49:40.985632 #1]  INFO -- : Skipping file ./bot-pinner/src/tooling.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 9
    r = requests.post(f"{IPFS}/version")
                                      ^
SyntaxError: invalid syntax


W, [2024-11-08T11:49:42.536012 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.536092 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.558174 #1]  WARN -- : Skipping ./contracts/scripts/console-init-chiado-resolver.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.558228 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:42.595412 #1]  WARN -- : Skipping ./contracts/scripts/console-init.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:42.595676 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.635224 #1]  WARN -- : Skipping ./web/src/hooks/useParsedAmount.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.635408 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.772733 #1]  WARN -- : Skipping ./web/src/hooks/queries/useEvidenceGroup.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.772962 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.789024 #1]  WARN -- : Skipping ./web/src/hooks/queries/useDisputeTemplate.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.789069 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:43.810809 #1]  WARN -- : Skipping ./web/src/hooks/useIsCrossChainDispute.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:43.810895 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.024766 #1]  WARN -- : Skipping ./web/src/utils/uploadSettingsToSupabase.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.024875 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.115802 #1]  WARN -- : Skipping ./web/src/utils/wrapWithToast.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.115918 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.198324 #1]  WARN -- : Skipping ./web/src/components/Verdict/DisputeTimeline.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.198424 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.199693 #1]  WARN -- : Skipping ./web/src/components/Verdict/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.199778 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.207787 #1]  WARN -- : Skipping ./web/src/components/Verdict/FinalDecision.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.207890 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.727864 #1]  WARN -- : Skipping ./web/src/components/ConnectWallet/AccountDisplay.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.727967 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:44.892438 #1]  WARN -- : Skipping ./web/src/components/DisputeCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:44.892713 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.149737 #1]  WARN -- : Skipping ./web/src/consts/eip712-messages.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.150058 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.279356 #1]  WARN -- : Skipping ./web/src/pages/Home/TopJurors/JurorCard/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.279456 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.548124 #1]  WARN -- : Skipping ./web/src/pages/Dashboard/Courts/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.548225 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.847087 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Evidence/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.847166 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.888909 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.889219 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.892789 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.892817 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.894378 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/index.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.894409 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.895777 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Voting/Classic.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.895806 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:45.905433 #1]  WARN -- : Skipping ./web/src/pages/Cases/CaseDetails/Overview.tsx due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:45.914201 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:46.140358 #1]  WARN -- : Skipping web/wagmi.config.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:46.140471 #1]  WARN -- : Response status: 422
W, [2024-11-08T11:49:46.149047 #1]  WARN -- : Skipping ./web/netlify/functions/update-settings.ts due to CC::Parser::Client::HTTPError
W, [2024-11-08T11:49:46.149144 #1]  WARN -- : Response status: 422
7
tslint
tslint engine documentation
View output
Could not find implementations for the following rules specified in the configuration:
    angular-whitespace
    banana-in-box
    templates-no-negated-async
    directive-selector
    component-selector
    use-input-property-decorator
    use-output-property-decorator
    use-host-property-decorator
    use-view-encapsulation
    no-attribute-parameter-decorator
    no-input-rename
    no-output-rename
    no-output-on-prefix
    no-forward-ref
    use-life-cycle-interface
    contextual-life-cycle
    trackBy-function
    use-pipe-transform-interface
    pipe-naming
    component-class-suffix
    directive-class-suffix
    no-case-with-or
Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed.
If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up.