diff options
author | Matus Valo <matusvalo@users.noreply.github.com> | 2022-04-09 16:42:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-09 16:42:06 +0200 |
commit | 5be3a464f9c16cd3f94229886116c540487f5b2c (patch) | |
tree | 7a3dc2daec7c24913b61b38a97d8b08e48961402 /doc/data/messages/w/wrong-import-position/bad.py | |
parent | 2d363e48ebbfe84237910e1218d639cd5c40603e (diff) | |
download | pylint-git-5be3a464f9c16cd3f94229886116c540487f5b2c.tar.gz |
Added wrong-import-position message example (#6240)
Diffstat (limited to 'doc/data/messages/w/wrong-import-position/bad.py')
-rw-r--r-- | doc/data/messages/w/wrong-import-position/bad.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/data/messages/w/wrong-import-position/bad.py b/doc/data/messages/w/wrong-import-position/bad.py new file mode 100644 index 000000000..f5162adeb --- /dev/null +++ b/doc/data/messages/w/wrong-import-position/bad.py @@ -0,0 +1,7 @@ +import os + +home = os.environ['HOME'] + +import sys # [wrong-import-position] + +print(f'Home directory is {home}', file=sys.stderr) |