-
Notifications
You must be signed in to change notification settings - Fork 3
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
ENH adding a mock function #43
Conversation
Yo, so here's my 2c on it all :) First off, nice one opening this. That's a lot of new tings all at once already, so big ups. Second, my suggestion now would be to try to get this PR so that it is passing the CI. You see the (Soz if you already know all this.) The CI (Continuos Integration) is all the checks and tests that get ran on the code base to assert and give confidence that a) the code will do what we want it to do (this comes from the unit tests and mypy and the linters), and b) the code follows the standards and conventions we want it to (this comes from the linters and the formatters). Something to keep in mind is that the first PR is always the hardest by a long long way. They'll be a done of new tools and things going on that you likely won't yet have encountered, so they'll be a lot a lot to learn. So progress on the actual PR will be slow, but progress on ones own knowledge and development will be very fast. So be patient with it and do best to avoid trying to tackle everything at once as it might become overwhelming - eat the elephant one spoon at a time (is what my brother always says). So back to the CI.
The Makefile is a really important and central file to any/most projects that contain one. So reading that file is always a good place to start when working on any new project. The Makefile is used a convenience tool, to define common terminal commands that developers will want to repeatedly run during writing code, and the Makefile makes it easy and fast for the developer to do that. The most important ones for you at the start in this project are The most important Makefile command is the top one in the file, and the reason for this is that if you run just So the workflow when developing should look like:
Ok, so that could be a lot at once already, but here's some more important stuff. Formatting:
On your commit messages:
On you commit history:
Last nit: git commit message should be in the imperative:
Oh ye, and in the top right of this page, you can pick/assign reviewers, if you wanna put some people (i.e. me, Ali if you want his thoughts also if you're lucky for him to give them!). |
383c69c
to
86478de
Compare
6dd7dc0
to
4c98f71
Compare
Yo, hope it's ok for me to reply to those questions on here (if not then do go ahead and delete this comment once you've read/made a copy of it!):
Hope this helps! |
Ok, Dan, |
I have added the mock function flora_mock_func() in run.py, which is called at the end of the run function. This has no use; I am just saying hi.