aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorPeter Wilmott <p@p8952.info>2015-06-22 20:12:03 +0100
committerPeter Wilmott <p@p8952.info>2015-06-22 15:13:34 +0100
commit112fc59ac6b640513acad9636c0b3b85859f57ee (patch)
tree31f8baa823a766575d743af10a3bfc1953c00b38 /web
parentRestore parallel database writes, removed earlier for debugging (diff)
downloadruby-tinderbox-112fc59ac6b640513acad9636c0b3b85859f57ee.tar.gz
ruby-tinderbox-112fc59ac6b640513acad9636c0b3b85859f57ee.tar.bz2
ruby-tinderbox-112fc59ac6b640513acad9636c0b3b85859f57ee.zip
Fix remaining issues raised by pylint
Diffstat (limited to 'web')
-rw-r--r--web/.pylintrc5
-rw-r--r--web/Rakefile6
2 files changed, 10 insertions, 1 deletions
diff --git a/web/.pylintrc b/web/.pylintrc
new file mode 100644
index 0000000..931865c
--- /dev/null
+++ b/web/.pylintrc
@@ -0,0 +1,5 @@
+[MESSAGES CONTROL]
+disable=missing-docstring, no-member, redefined-outer-name
+
+[REPORTS]
+reports=no
diff --git a/web/Rakefile b/web/Rakefile
index 066d7a2..e6ab09c 100644
--- a/web/Rakefile
+++ b/web/Rakefile
@@ -4,9 +4,13 @@ task default: 'test'
desc 'Run the test suite'
task :test do
+ puts "RUBOCOP:\n"
sh 'bundle exec rubocop'
+ puts "\nSHELLCHECK:\n"
sh "shellcheck --exclude=SC2016 #{Dir.glob('../**/*.sh').join(' ')}"
- sh "pylint --reports=n #{Dir.glob('../**/*.py').join(' ')}"
+ puts "\nPYLINT:\n"
+ sh "pylint --rcfile=.pylintrc #{Dir.glob('../**/*.py').join(' ')}"
+ puts "\nMINITEST:"
Dir.glob('./test/test_*.rb') { |f| require f }
end