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

Rewrite Auth + A lot of other fixes #215

Merged
merged 11 commits into from
Mar 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/--anything-else.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!--
If your issue doesn't fall into any of the previous categories, that's fine!
-->
# Description
<!-- Feel free to write up your issue️ -->
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/--bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!--
Thank you for taking the time to find and submit an issue. Before you submit this; let's
run through a few quick checks. Please make sure to check off the following boxes.
-->

<!-- Note: Checked checkbox should look like this: [x] -->
#### Checklist
- [ ] I am on the [latest](https://github.com/robinhood-unofficial/Robinhood/releases/latest) pyrh version.
- [ ] I have searched the [issues](https://github.com/robinhood-unofficial/Robinhood/issues) of this repo and believe that this is not a duplicate.

# Description
<!--
Example: pyrh fails to return a result when calling function_X
-->

# Steps/Code to Reproduce
<!--
Please add a code snippet required to reproduce the issue if possible.
Example:
```python
print("Hello World!")
```
If the code is too long, feel free to put it in a public gist and link it in the issue:
https://gist.github.com
-->

# Results
<!--
Please add the results that you would expect and what you got.
-->

# Versions
<!--
Please run the following snippet in your environment and paste the results here.

```python
import platform; print(platform.platform())
import sys; print("Python", sys.version)
import pyrh; print("pyrh", pyrh.__version__)
```
-->

<!--Thank you for contributing!-->
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/--documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!--
Thank you for taking the time to find a gap in our documentation. Before you submit
this; let's run through a few quick checks. Please make sure to check off the following
boxes.
-->

<!-- Checked checkbox should look like this: [x] -->
#### Checklist
- [ ] I have searched the [issues](https://github.com/robinhood-unofficial/Robinhood/issues) of this repo and believe that this is not a duplicate.

# Documentation Request
<!-- Now feel free to write up your issue️ -->
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/--feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!--
Thank you for thinking about how we can make pyrh better! Before you submit
this; let's run through a few quick checks. Please make sure to check off the following
boxes.
-->

<!-- Checked checkbox should look like this: [x] -->
#### Checklist
- [ ] I have searched the [issues](https://github.com/robinhood-unofficial/Robinhood/issues) of this repo and believe that this is not a duplicate.

# Feature Request
<!-- Now feel free to write up your issue️ -->
29 changes: 29 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!--
Thanks you for taking the time to submit a pull request! Please take a look at some
guidelines before submitting a pull request:
https://github.com/robinhood-unofficial/Robinhood/blob/master/doc/developers.rst

Below are some gentle reminder about common mistakes before PR submission. Please make sure that you tick
all *appropriate* boxes.
-->

#### Checklist
- [ ] Added **tests** for changed code.
- [ ] Updated **documentation** for changed code.
- [ ] I've added a news fragment of my changes with the name,
"{ISSUE_NUM}.{feature|bugfix|doc|removal|misc}""


# Related Issue
<!--
Example: Fixes #7. See also #35.
Please use keywords (e.g., Fixes) to create link to the issues or pull requests
you resolved, so that they will automatically be closed when your pull request
is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests
-->

# Description
<!--
Please add a narrative description of your the changes made and the rationale behind
them. If making an enhancement include the motivation and use cases addressed.
-->
22 changes: 22 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
exemptProjects: true
exemptMilestones: true

staleLabel: stale

markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: >
Closing this issue automatically because it has not had any activity since
it has been marked as stale. If you think it is still relevant and should
be addressed, feel free to open a new one.
pulls:
markComment: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
closeComment: >
Closing this pull request automatically because it has not had any activity since
it has been marked as stale. If you think it is still relevant and should
be addressed, feel free to open a new one.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: build

on:
pull_request:
Expand All @@ -20,7 +20,7 @@ jobs:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- uses: pre-commit/action@v1.0.1
build:
test:
needs: lint
strategy:
matrix:
Expand Down Expand Up @@ -60,3 +60,5 @@ jobs:
run: |
poetry install -vvv
if: steps.cache-poetry.outputs.cache-hit != 'true'
- name: Run pytest
run : poetry run pytest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ target/
.idea/
.python-version
.DS_Store
*.mypy_cache/*
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ repos:
rev: 3.7.9
hooks:
- id: flake8
additional_dependencies: ['flake8-docstrings']
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.770
hooks:
- id: mypy
20 changes: 10 additions & 10 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Matt Beattie (@mattbeattie)
Milan Curcic (@milancurcic)
Ryan D'souza (@dsouzarc)
AJ Haggard (@ahaggard2013)
Jamone Kelly (@jamonek)
Rohan Pai (@rohanpai)
Bharath Lohray (@lordloh)
John Purcell (@lockefox)
Greg Oberifeld (@gregoberfield)
Eric Evans (@ciresnave)
Anthony Krivonos (@anthonykrivonos)
Aaron Mazie (@aamazie)
Adithya Balaji (@adithyabsk)
Anthony Krivonos (@anthonykrivonos)
Bharath Lohray (@lordloh)
Eric Evans (@ciresnave)
Greg Oberifeld (@gregoberfield)
Jamone Kelly (@jamonek)
John Purcell (@lockefox)
Matt Beattie (@mattbeattie)
Milan Curcic (@milancurcic)
Rohan Pai (@rohanpai)
Ryan D'souza (@dsouzarc)
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Rohan Pai
Copyright (c) 2020 Unofficial Robinhood Python API Developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 0 additions & 7 deletions MANIFEST

This file was deleted.

97 changes: 0 additions & 97 deletions README.md

This file was deleted.

Loading