lint main
This commit is contained in:
parent
bf5a8a65d7
commit
517da87ffb
1 changed files with 5 additions and 5 deletions
|
@ -5,14 +5,14 @@ import os
|
||||||
import fs
|
import fs
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == "__main__":
|
||||||
file_path = os.path.realpath(__file__)
|
file_path = os.path.realpath(__file__)
|
||||||
root_path = os.path.dirname(file_path)
|
root_path = os.path.dirname(file_path)
|
||||||
directory_path = os.path.join(root_path, 'tmp')
|
directory_path = os.path.join(root_path, "tmp")
|
||||||
file_path = os.path.join(directory_path, 'file')
|
file_path = os.path.join(directory_path, "file")
|
||||||
|
|
||||||
fs.wipe(directory_path)
|
fs.wipe(directory_path)
|
||||||
fs.make_directory(directory_path)
|
fs.make_directory(directory_path)
|
||||||
fs.write(file_path, 'Martine écrit beaucoup.')
|
fs.write(file_path, "Martine écrit beaucoup.")
|
||||||
fs.empty_file(file_path)
|
fs.empty_file(file_path)
|
||||||
fs.write(file_path, 'Martine écrit moins.')
|
fs.write(file_path, "Martine écrit moins.")
|
||||||
|
|
Loading…
Reference in a new issue