From 2630937d31bb7f5b7e736925a4ebed768332ffe0 Mon Sep 17 00:00:00 2001 From: Munehiro Doi Date: Thu, 14 Jun 2018 12:29:25 +0900 Subject: [PATCH 1/6] test test --- test.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test.py diff --git a/test.py b/test.py new file mode 100644 index 0000000..5c12020 --- /dev/null +++ b/test.py @@ -0,0 +1,7 @@ +import sys + +def test(): + print('test desuyo', file=sys.stdout) + +if __name__ == '__main__': + test() From 47798a404936848856ab5c13a1662f8754f0dde7 Mon Sep 17 00:00:00 2001 From: Munehiro Doi Date: Thu, 14 Jun 2018 12:32:46 +0900 Subject: [PATCH 2/6] Use unimported func. --- test.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test.py b/test.py index 5c12020..eed784e 100644 --- a/test.py +++ b/test.py @@ -1,7 +1,13 @@ import sys + +def foo(): + print(os.path.cwd()) + def test(): print('test desuyo', file=sys.stdout) - + print(foo()) + + if __name__ == '__main__': test() From 2bc3cefef02f6b1b12511f4a227553d93322e632 Mon Sep 17 00:00:00 2001 From: Munehiro Doi Date: Thu, 14 Jun 2018 12:33:47 +0900 Subject: [PATCH 3/6] Add syntax error --- test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test.py b/test.py index eed784e..d0f1220 100644 --- a/test.py +++ b/test.py @@ -8,6 +8,7 @@ def test(): print('test desuyo', file=sys.stdout) print(foo()) +var test = 0.5f if __name__ == '__main__': test() From 177557391160f0ed7cd3a4f34fc50853d8a4b3c5 Mon Sep 17 00:00:00 2001 From: Munehiro Doi Date: Thu, 14 Jun 2018 12:34:46 +0900 Subject: [PATCH 4/6] Create .hound.yml --- .hound.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .hound.yml diff --git a/.hound.yml b/.hound.yml new file mode 100644 index 0000000..79c6e75 --- /dev/null +++ b/.hound.yml @@ -0,0 +1,2 @@ +flake8: + enabled: true From d2e2fd6b9c1ff2856d40cda783d3f1c1a250c98c Mon Sep 17 00:00:00 2001 From: Munehiro Doi Date: Thu, 14 Jun 2018 12:36:45 +0900 Subject: [PATCH 5/6] Fix pointed errors. --- test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test.py b/test.py index d0f1220..371685f 100644 --- a/test.py +++ b/test.py @@ -4,11 +4,11 @@ def foo(): print(os.path.cwd()) + def test(): - print('test desuyo', file=sys.stdout) + print('test desuyo', file=sys.stdout) print(foo()) - -var test = 0.5f - + + if __name__ == '__main__': test() From cb62786faa640ff0e41c65da97585f4bc948890d Mon Sep 17 00:00:00 2001 From: Munehiro Doi Date: Thu, 14 Jun 2018 12:37:30 +0900 Subject: [PATCH 6/6] Fix pointed error --- test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test.py b/test.py index 371685f..069b6c7 100644 --- a/test.py +++ b/test.py @@ -1,4 +1,5 @@ import sys +import os.path def foo():