Closed HedvigS closed 2 years ago
Could you address the failing test - and preferably run the tests locally before commit? The problem seems to be the changed order of cli arguments for sourcelookup.
I saw that tests failed but I couldn't figure out what was going on. I'm not well-versed enough in this set-up. I can try, but yeah. Not confident.
Haha, made it worse :)
Why would you want to change the order of cli args? That's a change that would impact anyone else running the commands as well.
Did you try running the tests locally? All you'd need to do would be
pip install -e .[dev,test]
pytest
Why would you want to change the order of cli args? That's a change that would impact anyone else running the commands as well.
Because it makes my life easier when I need to run several sheets.
Who else but you and I are using these commands?
Right. So you'd change things for me.
Right. So you'd change things for me.
Yes. Is that ok?
It makes it easier for me as I'm going through and running sourcelookup for many sheets if the sheet argument is last because then i can just backspace a few characters and change the sheet name.
I see. It makes things harder for me, because if I come back to having to run the command I have to remember things changed. Anyway, since you are taking over triaging PRs, you can have it your way.
I see. It makes things harder for me, because if I come back to having to run the command I have to remember things changed. Anyway, since you are taking over triaging PRs, you can have it your way.
Thanks that's very kind of you.
I've got a document called "pygrambank notes" where i write up specific help for myself, such as the order of arguments etc :)
In R, you can either rely on the order of arguments for a function or specify the arguments specifically. If you do the second, you don't need to conform to the default order. I find that is often very helpful.
Just a few small changes that would make the grambank PR-review process easier for me