diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-11-12 16:44:53 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-11-12 18:00:32 +0100 |
commit | 59e119d17cf7ed8f69927cbd93079580b80c8982 (patch) | |
tree | ba505b9f72a8da69e16001a39e36e9f8b2f233cd | |
parent | b1f3b41ffd809b52802e40debcf4e6c9bf799fcc (diff) | |
download | pylint-git-59e119d17cf7ed8f69927cbd93079580b80c8982.tar.gz |
Apply suggestions from code review
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
-rw-r--r-- | pylint/testutils/configuration_test.py | 4 | ||||
-rw-r--r-- | tests/config/test_functional_config_loading.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pylint/testutils/configuration_test.py b/pylint/testutils/configuration_test.py index 7000a660c..627350592 100644 --- a/pylint/testutils/configuration_test.py +++ b/pylint/testutils/configuration_test.py @@ -13,7 +13,7 @@ from unittest.mock import Mock from pylint.lint import Run USER_SPECIFIC_PATH = str(Path(__file__).parent.parent.parent) -# We use Any in this typing because the configuration contain real object +# We use Any in this typing because the configuration contains real objects and constants # that could be a lot of things. ConfigurationValue = Any PylintConfiguration = Dict[str, ConfigurationValue] @@ -33,7 +33,7 @@ def get_expected_or_default( if expected_result_path.exists(): with open(expected_result_path, encoding="utf8") as f: expected = f.read() - # logging is helpful to to realize your file is not taken into + # logging is helpful to realize your file is not taken into # account after a misspell of the file name. The output of the # program is checked during the test so printing messes with the result. logging.info("%s exists.", expected_result_path) diff --git a/tests/config/test_functional_config_loading.py b/tests/config/test_functional_config_loading.py index 73b21c396..3f18c8ccd 100644 --- a/tests/config/test_functional_config_loading.py +++ b/tests/config/test_functional_config_loading.py @@ -2,7 +2,7 @@ # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE """ -This launch the configuration functional tests. This permit to test configuration +This launches the configuration functional tests. This permits to test configuration files by providing a file with the appropriate extension in the ``tests/config/functional`` directory. |