diff options
author | Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | 2022-05-09 23:25:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 23:25:38 +0200 |
commit | afa6853b57c8c14970e460ca2651d4157751ad1d (patch) | |
tree | 4355e029b0b70008c057543658a2f79607438777 /tests/regrtest_data | |
parent | 273a8b25620467c1e5686aa8d2a1dbb8c02c78d0 (diff) | |
download | pylint-git-afa6853b57c8c14970e460ca2651d4157751ad1d.tar.gz |
Fix disabling of ``bad-option-value`` (#6556)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/regrtest_data')
-rw-r--r-- | tests/regrtest_data/long_test_file.py | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/tests/regrtest_data/long_test_file.py b/tests/regrtest_data/long_test_file.py new file mode 100644 index 000000000..8b3dcfae0 --- /dev/null +++ b/tests/regrtest_data/long_test_file.py @@ -0,0 +1,100 @@ +""" +This file is used for bad-option-value's test. We needed a module that isn’t restricted by line numbers +as the tests use various line numbers to test the behaviour. + +Using an empty module creates issue as you can’t disable something on line 10 if it doesn’t exist. Thus, we created an extra long file so we never run into an issue with that. +""" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +print(1) |