Peter Magnusson 8 years ago
parent
commit
69b5a9b6f2
3 changed files with 6 additions and 1 deletions
  1. 1 1
      nodemcu-uploader.py
  2. 4 0
      tests/__init__.py
  3. 1 0
      tests/uploader.py

+ 1 - 1
nodemcu-uploader.py

@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 # Copyright (C) 2015-2016 Peter Magnusson <peter@birchroad.net>
-
+#pylint: disable=C0103
 """makes it easier to run nodemcu-uploader from command line"""
 
 from nodemcu_uploader import main

+ 4 - 0
tests/__init__.py

@@ -1,12 +1,16 @@
 # -*- coding: utf-8 -*-
 # Copyright (C) 2015-2016 Peter Magnusson <peter@birchroad.net>
+"""Add tests to include here"""
+
 import unittest
 import logging
 
 def get_tests():
+    """returns the tests to run"""
     return full_suite()
 
 def full_suite():
+    """creates a full suite of tests"""
     logging.basicConfig(filename='test-debug.log', level=logging.INFO, format='%(message)s')
 
     from .misc import MiscTestCase

+ 1 - 0
tests/uploader.py

@@ -1,5 +1,6 @@
 # -*- coding: utf-8 -*-
 # Copyright (C) 2015-2016 Peter Magnusson <peter@birchroad.net>
+#pylint: disable=C0111,R0904
 import unittest
 import os, time
 from nodemcu_uploader import Uploader