Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add numpy example #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

robertodr
Copy link
Member

No description provided.

@MinazoBot
Copy link

MinazoBot commented Sep 30, 2017

1 Error
🚫 Code style violations detected.

Code Style Check


Code style violations detected in the following files:

  • hello_world.py

Execute one of the following actions and commit again:

  1. Run yapf on the offending files
  2. Apply the suggested patches with git apply patch.

hello_world.py

--- hello_world.py
+++ hello_world.py
@@ -1,9 +1,9 @@
 def vector(dim):
     import numpy as np
 
-
     return np.random.rand(dim)
 
+
 def message():
     return 'Hello, Danger world!'
 
@@ -11,5 +11,6 @@
     print(message())
     print(vector(10))
 
+
 if __name__ == '__main__':
     main()

Generated by 🚫 Danger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants