diff --git a/tests/check.py b/tests/check.py index ca843ab..7dce8cd 100644 --- a/tests/check.py +++ b/tests/check.py @@ -2,8 +2,8 @@ ## Copyright (c) 2020-2021 Thakee Nathees ## Distributed Under The MIT License -## This will run a static checks on the source files, for line length, -## uses of tabs and trailing white spaces, etc. +## This will run static checks on the source files, for line length, +## uses of tabs, and trailing white spaces, etc. import os, sys, re from os import listdir @@ -79,7 +79,7 @@ def check_fnv1_hash(sources): fp.close() ## Check each source file ('.c', '.h', '.py') in the [dirs] contains tabs, -## more than 79 characters and trailing white space. +## more than 79 characters, and trailing white space. def check_static(dirs): valid_ext = ('.c', '.h', '.py', '.pk') for dir in dirs: diff --git a/tests/tests.py b/tests/tests.py index 9cf13e0..25e4278 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -6,7 +6,7 @@ import os, sys, platform import subprocess, json, re from os.path import join, abspath, dirname, relpath -## TODO: Re write this in doctest (https://github.com/onqtam/doctest) +## TODO: Re-write this in doctest (https://github.com/onqtam/doctest) ## The absolute path of this file, when run as a script. ## This file is not intended to be included in other files at the moment. @@ -108,7 +108,7 @@ COLORS = { 'END' : '\033[0m' , } -## All tests messages are written to stdour because they're mixed +## All tests messages are written to stdout because they're mixed ## and github actions io calls seems asynchronous. And ANSI colors ## not seems to working with multiline in github actions, so ## printing the message line by line.