summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorKyrylo Silin <silin@kyrylo.org>2019-03-03 17:37:58 +0200
committerKyrylo Silin <silin@kyrylo.org>2019-03-03 17:37:58 +0200
commit4956376f1340f4eb41438e5097237b4196a7273b (patch)
tree53d5e4d7e1ccd14b0f32e682cf9c9cff6bc5ac69 /Rakefile
parentb2af65a6d3bf0ad93cc4cd0c9993b6eb0b606480 (diff)
downloadpry-4956376f1340f4eb41438e5097237b4196a7273b.tar.gz
rubocop: fix offences of the Metrics/LineLength cop
I realise that some code might be less readable now, but now that we set a good default limit, we protect the codebase from further mess. It's important to do this to prevent adding more mess to already messy code that we have. :doctor:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index a87a30fd..21286e3b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -5,7 +5,9 @@ $LOAD_PATH.unshift 'lib'
require 'pry/version'
CLOBBER.include('**/*~', '**/*#*', '**/*.log')
-CLEAN.include('**/*#*', '**/*#*.*', '**/*_flymake*.*', '**/*_flymake', '**/*.rbc', '**/.#*.*')
+CLEAN.include(
+ '**/*#*', '**/*#*.*', '**/*_flymake*.*', '**/*_flymake', '**/*.rbc', '**/.#*.*'
+)
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
@@ -112,6 +114,8 @@ namespace :docker do
desc "test pry on multiple ruby versions"
task test: :build do
- system "docker run -i -t -v /tmp/prytmp:/tmp/prytmp pry/pry ./multi_test_inside_docker.sh"
+ system(
+ "docker run -i -t -v /tmp/prytmp:/tmp/prytmp pry/pry ./multi_test_inside_docker.sh"
+ )
end
end