diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-12-20 10:23:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 10:23:43 +0100 |
commit | cdb57a8bfef91df7771c339b95931184f81ef940 (patch) | |
tree | e8b168e3429e2d132664b5670bd879e0173beb17 /tests/functional/e/.#emacs_file_lock_by_conf.py | |
parent | 4f95e4d1db7bebe62aca1b757a54370b2546a33f (diff) | |
download | pylint-git-cdb57a8bfef91df7771c339b95931184f81ef940.tar.gz |
Ignore files with name that starts like an emacs lock files (#5554)
* Fix 'path' shadowing variable from outer scope
* Ignore file that starts like emacs's file lock
Closes #367
Co-authored-by: Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>
Diffstat (limited to 'tests/functional/e/.#emacs_file_lock_by_conf.py')
-rw-r--r-- | tests/functional/e/.#emacs_file_lock_by_conf.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/functional/e/.#emacs_file_lock_by_conf.py b/tests/functional/e/.#emacs_file_lock_by_conf.py new file mode 100644 index 000000000..151168cc8 --- /dev/null +++ b/tests/functional/e/.#emacs_file_lock_by_conf.py @@ -0,0 +1,3 @@ +# The name is invalid, but we should not analyse this file +# Because it resembles an emacs file lock and is ignored by the configuration +# See https://github.com/PyCQA/pylint/issues/367 |