sanger/sequencescape

View on GitHub
removed unneeded prettier ignore lines and added lsp directory #4791
Andrew Sparkes authored f35a52b5
complete00:01:16
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-reek:b1077
b1077: Pulling from codeclimate/codeclimate-reek
169185f82c45: Pulling fs layer
222c39e7aa7a: Pulling fs layer
07546bd8601e: Pulling fs layer
7614965d2143: Pulling fs layer
7c1c951cf875: Pulling fs layer
5677c441f256: Pulling fs layer
efdfcd8fbec1: Pulling fs layer
c7595784a397: Pulling fs layer
f514b96dbbe5: Pulling fs layer
7631fbb23e31: Pulling fs layer
1c1134c7116e: Pulling fs layer
c35a874b378d: Pulling fs layer
5677c441f256: Waiting
efdfcd8fbec1: Waiting
c7595784a397: Waiting
f514b96dbbe5: Waiting
7631fbb23e31: Waiting
1c1134c7116e: Waiting
7614965d2143: Waiting
c35a874b378d: Waiting
7c1c951cf875: Waiting
222c39e7aa7a: Verifying Checksum
222c39e7aa7a: Download complete
169185f82c45: Verifying Checksum
169185f82c45: Download complete
07546bd8601e: Verifying Checksum
07546bd8601e: Download complete
7614965d2143: Download complete
169185f82c45: Pull complete
222c39e7aa7a: Pull complete
efdfcd8fbec1: Verifying Checksum
efdfcd8fbec1: Download complete
5677c441f256: Verifying Checksum
5677c441f256: Download complete
f514b96dbbe5: Download complete
c7595784a397: Verifying Checksum
c7595784a397: Download complete
1c1134c7116e: Download complete
7631fbb23e31: Verifying Checksum
7631fbb23e31: Download complete
7c1c951cf875: Verifying Checksum
7c1c951cf875: Download complete
c35a874b378d: Verifying Checksum
c35a874b378d: Download complete
07546bd8601e: Pull complete
7614965d2143: Pull complete
7c1c951cf875: Pull complete
5677c441f256: Pull complete
efdfcd8fbec1: Pull complete
c7595784a397: Pull complete
f514b96dbbe5: Pull complete
7631fbb23e31: Pull complete
1c1134c7116e: Pull complete
c35a874b378d: Pull complete
Digest: sha256:5874e782ab8172808ddb4217d6a62d59f8ecbb0984a612f8d2c2a956dc8b2e7e
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-reek:b1077
docker pull codeclimate/codeclimate-flog:b976
b976: Pulling from codeclimate/codeclimate-flog
df20fa9351a1: Pulling fs layer
b79bab524d4c: Pulling fs layer
8f5dd72031b5: Pulling fs layer
322f2010e51b: Pulling fs layer
da44f014aa21: Pulling fs layer
5d9ebd8a80b7: Pulling fs layer
5164282ac966: Pulling fs layer
362bcfd2d785: Pulling fs layer
5ae01dee2213: Pulling fs layer
e77c316d3f67: Pulling fs layer
b0f4d98df8a9: Pulling fs layer
da44f014aa21: Waiting
5164282ac966: Waiting
362bcfd2d785: Waiting
5ae01dee2213: Waiting
e77c316d3f67: Waiting
322f2010e51b: Waiting
b0f4d98df8a9: Waiting
5d9ebd8a80b7: Waiting
8f5dd72031b5: Verifying Checksum
8f5dd72031b5: Download complete
b79bab524d4c: Verifying Checksum
b79bab524d4c: Download complete
df20fa9351a1: Download complete
da44f014aa21: Verifying Checksum
da44f014aa21: Download complete
df20fa9351a1: Pull complete
5d9ebd8a80b7: Verifying Checksum
5d9ebd8a80b7: Download complete
b79bab524d4c: Pull complete
5164282ac966: Verifying Checksum
5164282ac966: Download complete
8f5dd72031b5: Pull complete
362bcfd2d785: Verifying Checksum
362bcfd2d785: Download complete
322f2010e51b: Verifying Checksum
322f2010e51b: Download complete
5ae01dee2213: Verifying Checksum
5ae01dee2213: Download complete
b0f4d98df8a9: Download complete
e77c316d3f67: Download complete
322f2010e51b: Pull complete
da44f014aa21: Pull complete
5d9ebd8a80b7: Pull complete
5164282ac966: Pull complete
362bcfd2d785: Pull complete
5ae01dee2213: Pull complete
e77c316d3f67: Pull complete
b0f4d98df8a9: Pull complete
Digest: sha256:536a5127f62d41c9014b12a035f064870dd4cd6db0a0c90ed18b15c4fa7e3f3d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-flog:b976
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-04-04T13:11:11.153325 #1]  WARN -- : Skipping app/models/request_type/validator.rb due to CC::Parser::Client::HTTPError
W, [2024-04-04T13:11:11.153366 #1]  WARN -- : Response status: 422
W, [2024-04-04T13:11:14.246644 #1]  WARN -- : Skipping app/models/submission/order_presenter.rb due to CC::Parser::Client::HTTPError
W, [2024-04-04T13:11:14.246686 #1]  WARN -- : Response status: 422
W, [2024-04-04T13:11:19.398679 #1]  WARN -- : Skipping app/api/core/abilities.rb due to CC::Parser::Client::HTTPError
W, [2024-04-04T13:11:19.398721 #1]  WARN -- : Response status: 422
W, [2024-04-04T13:11:19.775923 #1]  WARN -- : Skipping app/api/core/endpoint/basic_handler/actions/guards.rb due to CC::Parser::Client::HTTPError
W, [2024-04-04T13:11:19.775960 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-04-04T13:11:27.339558 #1]  INFO -- : Skipping file ./app/uat_actions/uat_actions/generate_tubes.rb due to exception (Racc::ParseError): ./app/uat_actions/uat_actions/generate_tubes.rb:11 :: parse error on value ":" (tCOLON)

I, [2024-04-04T13:11:28.275789 #1]  INFO -- : Skipping file ./app/models/request_type/validator.rb due to exception (Racc::ParseError): ./app/models/request_type/validator.rb:21 :: parse error on value ":" (tCOLON)

I, [2024-04-04T13:11:28.530001 #1]  INFO -- : Skipping file ./app/models/tube_rack.rb due to exception (Racc::ParseError): ./app/models/tube_rack.rb:10 :: parse error on value ":" (tCOLON)

I, [2024-04-04T13:11:28.778051 #1]  INFO -- : Skipping file ./app/models/cherrypick/volume_by_nano_grams.rb due to exception (Racc::ParseError): ./app/models/cherrypick/volume_by_nano_grams.rb:84 :: parse error on value ")" (tRPAREN)

I, [2024-04-04T13:11:28.877697 #1]  INFO -- : Skipping file ./app/models/plate_volume.rb due to exception (Racc::ParseError): ./app/models/plate_volume.rb:9 :: parse error on value ":" (tCOLON)

I, [2024-04-04T13:11:29.154234 #1]  INFO -- : Skipping file ./app/models/plate/quad_creator.rb due to exception (Racc::ParseError): ./app/models/plate/quad_creator.rb:10 :: parse error on value ":" (tCOLON)

I, [2024-04-04T13:11:29.689364 #1]  INFO -- : Skipping file ./app/models/pulldown/plate_purposes.rb due to exception (Racc::ParseError): ./app/models/pulldown/plate_purposes.rb:75 :: parse error on value ":" (tCOLON)

I, [2024-04-04T13:11:30.369612 #1]  INFO -- : Skipping file ./app/models/submission/order_presenter.rb due to exception (Racc::ParseError): ./app/models/submission/order_presenter.rb:20 :: parse error on value "..." (tDOT3)

I, [2024-04-04T13:11:30.762867 #1]  INFO -- : Skipping file ./app/models/qc_report/file.rb due to exception (Racc::ParseError): ./app/models/qc_report/file.rb:36 :: parse error on value ["rescue", 36] (kRESCUE)

I, [2024-04-04T13:11:32.930527 #1]  INFO -- : Skipping file ./app/api/core/abilities.rb due to exception (Racc::ParseError): ./app/api/core/abilities.rb:46 :: parse error on value "..." (tDOT3)

I, [2024-04-04T13:11:33.173244 #1]  INFO -- : Skipping file ./app/api/core/endpoint/basic_handler/actions/guards.rb due to exception (Racc::ParseError): ./app/api/core/endpoint/basic_handler/actions/guards.rb:29 :: parse error on value ":" (tCOLON)

I, [2024-04-04T13:11:33.659340 #1]  INFO -- : Skipping file ./app/sequencescape_excel/sequencescape_excel/column_list.rb due to exception (Racc::ParseError): ./app/sequencescape_excel/sequencescape_excel/column_list.rb:8 :: parse error on value ":" (tCOLON)
7
fixme
fixme engine documentation
8
reek
reek engine documentation
View output
!!!
        Source 'app/models/request_type/validator.rb' cannot be processed by Reek due to a syntax error in the source file.

        This is a problem that is outside of Reek's scope and should be fixed by you, the
        user, in order for Reek being able to continue.

        Things you can try:
        - Check the syntax of the problematic file
        - If the file is not in fact a Ruby file, exclude it in your .reek.yml file

        Exception message:

        #<Parser::SyntaxError: unexpected token tDOT3>

        Original backtrace:

        /usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
	/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
	/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
	/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
	/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
	/usr/src/app/lib/reek/examiner.rb:93:in `run'
	/usr/src/app/lib/reek/examiner.rb:61:in `smells'
	/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
	/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
	/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
	/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
	/usr/src/app/bin/code_climate_reek:68:in `<main>'

        !!!
        !!!
        Source 'app/models/submission/order_presenter.rb' cannot be processed by Reek due to a syntax error in the source file.

        This is a problem that is outside of Reek's scope and should be fixed by you, the
        user, in order for Reek being able to continue.

        Things you can try:
        - Check the syntax of the problematic file
        - If the file is not in fact a Ruby file, exclude it in your .reek.yml file

        Exception message:

        #<Parser::SyntaxError: unexpected token tDOT3>

        Original backtrace:

        /usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
	/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
	/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
	/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
	/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
	/usr/src/app/lib/reek/examiner.rb:93:in `run'
	/usr/src/app/lib/reek/examiner.rb:61:in `smells'
	/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
	/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
	/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
	/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
	/usr/src/app/bin/code_climate_reek:68:in `<main>'

        !!!
        !!!
        Source 'app/api/core/abilities.rb' cannot be processed by Reek due to a syntax error in the source file.

        This is a problem that is outside of Reek's scope and should be fixed by you, the
        user, in order for Reek being able to continue.

        Things you can try:
        - Check the syntax of the problematic file
        - If the file is not in fact a Ruby file, exclude it in your .reek.yml file

        Exception message:

        #<Parser::SyntaxError: unexpected token tDOT3>

        Original backtrace:

        /usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
	/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
	/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
	/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
	/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
	/usr/src/app/lib/reek/examiner.rb:93:in `run'
	/usr/src/app/lib/reek/examiner.rb:61:in `smells'
	/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
	/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
	/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
	/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
	/usr/src/app/bin/code_climate_reek:68:in `<main>'

        !!!
        !!!
        Source 'app/api/core/endpoint/basic_handler/actions/guards.rb' cannot be processed by Reek due to a syntax error in the source file.

        This is a problem that is outside of Reek's scope and should be fixed by you, the
        user, in order for Reek being able to continue.

        Things you can try:
        - Check the syntax of the problematic file
        - If the file is not in fact a Ruby file, exclude it in your .reek.yml file

        Exception message:

        #<Parser::SyntaxError: unexpected token tDOT3>

        Original backtrace:

        /usr/local/bundle/gems/parser-3.0.2.0/lib/parser/diagnostic/engine.rb:72:in `process'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:286:in `on_error'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
	/usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:190:in `parse'
	/usr/local/bundle/gems/parser-3.0.2.0/lib/parser/base.rb:207:in `parse_with_comments'
	/usr/src/app/lib/reek/source/source_code.rb:117:in `parse'
	/usr/src/app/lib/reek/source/source_code.rb:53:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:116:in `syntax_tree'
	/usr/src/app/lib/reek/examiner.rb:120:in `examine_tree'
	/usr/src/app/lib/reek/examiner.rb:94:in `block in run'
	/usr/src/app/lib/reek/examiner.rb:104:in `wrap_exceptions'
	/usr/src/app/lib/reek/examiner.rb:93:in `run'
	/usr/src/app/lib/reek/examiner.rb:61:in `smells'
	/usr/src/app/lib/reek/examiner.rb:69:in `smells_count'
	/usr/src/app/lib/reek/report/base_report.rb:44:in `add_examiner'
	/usr/src/app/lib/reek/cli/command/report_command.rb:26:in `block in populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `each'
	/usr/src/app/lib/reek/cli/command/report_command.rb:25:in `populate_reporter_with_smells'
	/usr/src/app/lib/reek/cli/command/report_command.rb:17:in `execute'
	/usr/src/app/lib/reek/cli/application.rb:32:in `execute'
	/usr/src/app/bin/code_climate_reek:68:in `<main>'

        !!!
9
bundler-audit
bundler-audit engine documentation
10
flog
flog engine documentation
View output
ERROR: parsing ruby file app/models/request_type/validator.rb
Racc::ParseError: app/models/request_type/validator.rb:77 :: parse error on value "..." (tDOT3) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179:in `on_error'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'
ERROR: parsing ruby file app/models/submission/order_presenter.rb
Racc::ParseError: app/models/submission/order_presenter.rb:20 :: parse error on value "..." (tDOT3) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179:in `on_error'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'
ERROR: parsing ruby file app/api/core/abilities.rb
Racc::ParseError: app/api/core/abilities.rb:46 :: parse error on value "..." (tDOT3) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179:in `on_error'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'
ERROR: parsing ruby file app/api/core/endpoint/basic_handler/actions/guards.rb
Racc::ParseError: app/api/core/endpoint/basic_handler/actions/guards.rb:47 :: parse error on value "..." (tDOT3) at:
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:528:in `on_error'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1179:in `on_error'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `_racc_do_parse_c'
  /usr/local/lib/ruby/2.6.0/racc/parser.rb:259:in `do_parse'
  /usr/local/bundle/gems/ruby_parser-3.13.1/lib/ruby_parser_extras.rb:1086:in `block in process'