-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from getyoti/release-2.10.0
Release 2.10.0
- Loading branch information
Showing
54 changed files
with
1,009 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: 1 | ||
update_configs: | ||
- package_manager: "python" | ||
directory: "/" | ||
update_schedule: "live" | ||
target_branch: "development" | ||
|
||
default_reviewers: | ||
- "echarrod" | ||
- "davidgrayston" | ||
- "emmas-yoti" | ||
- "MrBurtyyy" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
- repo: https://github.com/ambv/black | ||
rev: stable | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v1.2.3 | ||
hooks: | ||
- id: flake8 | ||
args: | ||
- --ignore=E501,W5 | ||
exclude: protobuf/ | ||
repos: | ||
- repo: https://github.com/ambv/black | ||
rev: stable | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v1.2.3 | ||
hooks: | ||
- id: flake8 | ||
args: | ||
- --ignore=E501,W5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[MASTER] | ||
ignore=yoti_python_sdk/tests/**,examples/** | ||
ignore=tests,protobuf | ||
disable=C0330 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Contributing | ||
|
||
1. Fork the repo, develop and test your code changes. | ||
2. Ensure commit messages clearly define the changes that have been made. | ||
3. Create a pull request. | ||
|
||
## Adding Features | ||
|
||
Any features added must be fully tested and documented, with examples supplied in the pull request. | ||
The feature must support the lowest Python version that the SDK supports (see [the travis file](.travis.yml) for all supported versions). The feature | ||
must not introduce any unnecessary dependencies (although introducing a new third party library | ||
is open for discussion if absolutely required). | ||
|
||
## Pre-commit Hook | ||
|
||
* Install the [pre-commit framework](https://pre-commit.com/) | ||
* Run `pre-commit install` | ||
|
||
## Testing | ||
|
||
After cloning the repository, run the following to install dependencies: | ||
|
||
```bash | ||
pip install -r requirements.txt | ||
pip install -e .[dev] | ||
``` | ||
|
||
Running the tests: | ||
|
||
```bash | ||
pytest | ||
``` | ||
|
||
## Coding Style | ||
|
||
* The pre-commit hook uses the `black` formatter to auto-format any code when committing, | ||
along with `flake8` for style guide enforcement. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
cryptography>=2.3 | ||
Django==2.2.4 | ||
Django==2.2.8 | ||
django-sslserver>=0.2.0 | ||
python-dotenv>=0.7.1 | ||
requests>=2.20.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[pytest] | ||
testpaths = yoti_python_sdk/tests/ | ||
python_files = test_*.py | ||
norecursedirs = venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
asn1==2.2.0 | ||
click==6.6 | ||
cryptography>=2.3.0 | ||
cryptography>=2.7.0 | ||
cffi>=1.13.0 | ||
future==0.15.2 | ||
itsdangerous==0.24 | ||
mock==2.0.0 | ||
pbr==1.10.0 | ||
protobuf==3.7.0 | ||
pyopenssl==18.0.0 | ||
pytest==3.3.2 | ||
pytz==2018.9 | ||
requests>=2.20.0 | ||
urllib3>=1.24.2 | ||
virtualenv==15.2 | ||
wheel==0.24.0 | ||
deprecated==1.2.6 | ||
pre-commit==1.17.0 | ||
wheel==0.24.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
yoti_python_sdk/sandbox/age_verification.py → yoti_python_sandbox/age_verification.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.