diff options
author | pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | 2022-04-29 06:04:42 +0000 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-05-02 18:05:18 +0200 |
commit | 1abd194a62074a5ed7a6c4c41ebff7da2ca30fe7 (patch) | |
tree | 4e109359004f3d87cb53847a08f3c58dbe581323 /doc/data/messages/c | |
parent | 444d60585e390e9c2f7e19caddaf6d7a016b0be6 (diff) | |
download | pylint-git-1abd194a62074a5ed7a6c4c41ebff7da2ca30fe7.tar.gz |
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Diffstat (limited to 'doc/data/messages/c')
-rw-r--r-- | doc/data/messages/c/consider-using-sys-exit/bad.py | 2 | ||||
-rw-r--r-- | doc/data/messages/c/consider-using-sys-exit/good.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/data/messages/c/consider-using-sys-exit/bad.py b/doc/data/messages/c/consider-using-sys-exit/bad.py index 40947189c..8617a2a4e 100644 --- a/doc/data/messages/c/consider-using-sys-exit/bad.py +++ b/doc/data/messages/c/consider-using-sys-exit/bad.py @@ -1,4 +1,4 @@ if __name__ == '__main__': user = input('Enter user name: ') print(f'Hello, {user}') - exit(0) # [consider-using-sys-exit]
\ No newline at end of file + exit(0) # [consider-using-sys-exit] diff --git a/doc/data/messages/c/consider-using-sys-exit/good.py b/doc/data/messages/c/consider-using-sys-exit/good.py index e5142dcda..0a73ae4ae 100644 --- a/doc/data/messages/c/consider-using-sys-exit/good.py +++ b/doc/data/messages/c/consider-using-sys-exit/good.py @@ -3,4 +3,4 @@ import sys if __name__ == '__main__': user = input('Enter user name: ') print(f'Hello, {user}') - sys.exit(0)
\ No newline at end of file + sys.exit(0) |