for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Module documentation goes here."""
import unittest
import sys
from src.hello import Greeter
from src.hello import main
class MyTestCase(unittest.TestCase):
"""Class documentation goes here."""
def test_default_greeting_set(self):
"""Test documentation goes here."""
INPUT="SDF"
This check looks for invalid names for a range of different identifiers.
You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements.
If your project includes a Pylint configuration file, the settings contained in that file take precedence.
To find out more about Pylint, please refer to their site.
greeter = Greeter()
greeter.set_message(INPUT)
self.assertEqual(greeter.message, INPUT)
main(sys.argv[1:])
if __name__ == '__main__':
unittest.main()
This check looks for invalid names for a range of different identifiers.
You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements.
If your project includes a Pylint configuration file, the settings contained in that file take precedence.
To find out more about Pylint, please refer to their site.