Skip to content

Commit 64eb0ca

Browse files
committed
Apply updated linting rules
1 parent 136c846 commit 64eb0ca

17 files changed

+67
-703
lines changed

.codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ coverage:
1919
default:
2020
enabled: true
2121
if_no_uploads: error
22-
comment: false
22+
comment: false

.flake8

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[flake8]
22
ignore = E501 F401
3-
max-line-length = 88
3+
max-line-length = 88

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Please include relevant links supporting this change such as a:
1919

2020
### Testing
2121

22-
Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
22+
Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
2323

2424
- [ ] This change adds unit test coverage
2525
- [ ] This change adds integration test coverage

.github/dependabot.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "pip"
4-
directory: "/"
3+
- package-ecosystem: "pip"
4+
directory: "/"
55
schedule:
66
interval: "daily"
77
ignore:

.github/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ staleLabel: closed:stale
1717

1818
# Comment to post when marking as stale. Set to `false` to disable
1919
markComment: >
20-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇‍♂️
20+
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇‍♂️

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ docs/build/
5353

5454
# IDEA
5555
.idea/
56-
*.iml
56+
*.iml
5757

5858
# VSCode
5959
.vscode/

.readthedocs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ sphinx:
66
python:
77
version: "3.7"
88
install:
9-
- requirements: requirements.txt
9+
- requirements: requirements.txt

.shiprc

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
"auth0/__init__.py": []
44
},
55
"prefixVersion": false
6-
}
6+
}

CHANGELOG.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ See the [V4_MIGRATION_GUIDE](https://github.com/auth0/auth0-python/blob/master/V
243243
3.8.1
244244
------------------
245245

246-
July 18, 2019: This release included an unintentionally breaking change affecting those users that were manually parsing the response from GET requests. e.g. /userinfo or /authorize. The `AuthenticationBase#get` method was incorrectly parsing the request result into a String.
246+
July 18, 2019: This release included an unintentionally breaking change affecting those users that were manually parsing the response from GET requests. e.g. /userinfo or /authorize. The `AuthenticationBase#get` method was incorrectly parsing the request result into a String.
247247

248248
From this release on, making a GET request returns a Dictionary instead.
249249

@@ -375,7 +375,7 @@ Authentication API
375375
Authentication API
376376
- Added Logout Functionality
377377

378-
3.0.0
378+
3.0.0
379379
------------------
380380

381381
Authentication API
@@ -388,8 +388,8 @@ Authentication API
388388
- Authorization Code Grant
389389

390390
Management API v2
391-
- Added Support for Guardian
391+
- Added Support for Guardian
392392
- Added Support to retrieve Logs
393393
- Added Support to manage Resource Servers
394394
- Added Support to manage Client Grants
395-
- Added Support to manage User blocks
395+
- Added Support to manage User blocks

LICENSE

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
The MIT License (MIT)
2-
2+
33
Copyright (c) 2017 Auth0, Inc. <[email protected]> (http://auth0.com)
4-
4+
55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
77
in the Software without restriction, including without limitation the rights
88
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99
copies of the Software, and to permit persons to whom the Software is
1010
furnished to do so, subject to the following conditions:
11-
11+
1212
The above copyright notice and this permission notice shall be included in all
1313
copies or substantial portions of the Software.
14-
14+
1515
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,4 @@ Please do not report security vulnerabilities on the public GitHub issue tracker
181181
</p>
182182
<p align="center">Auth0 is an easy to implement, adaptable authentication and authorization platform. To learn more checkout <a href="https://auth0.com/why-auth0">Why Auth0?</a></p>
183183
<p align="center">
184-
This project is licensed under the MIT license. See the <a href="https://github.com/auth0/auth0-python/blob/master/LICENSE"> LICENSE</a> file for more info.</p>
184+
This project is licensed under the MIT license. See the <a href="https://github.com/auth0/auth0-python/blob/master/LICENSE"> LICENSE</a> file for more info.</p>

V4_MIGRATION_GUIDE.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Guide to migrating from `3.x` to `4.x`
1010

1111
## Python <3.7 is no longer supported
1212

13-
Python <=3.6 and Python 2 are EOL and are no longer supported.
13+
Python <=3.6 and Python 2 are EOL and are no longer supported.
1414

1515
Also note the new Python [Support Policy](https://github.com/auth0/auth0-python#support-policy)
1616

@@ -51,7 +51,7 @@ get_token.client_credentials('my-client-id', 'my-client-secret', 'my-api')
5151
```py
5252
from auth0.authentication import GetToken
5353

54-
# `client_secret` is optional (you can now use `client_assertion_signing_key` as an alternative)
54+
# `client_secret` is optional (you can now use `client_assertion_signing_key` as an alternative)
5555
get_token = GetToken('my-domain.us.auth0.com', 'my-client-id', client_secret='my-client-secret')
5656

5757
get_token.client_credentials('my-api')
@@ -74,4 +74,4 @@ The following methods have been removed:
7474
### Management
7575

7676
- `users.delete_all_users` - Use `users.delete`
77-
- `jobs.get_results` - Use `jobs.get`
77+
- `jobs.get_results` - Use `jobs.get`

docs/source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Auth0-Python documentation
55
.. toctree::
66
:hidden:
77
:caption: Learn the basics
8-
8+
99
readme_content
1010

1111
.. toctree::

docs/source/readme_content.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.. mdinclude:: ../../README.md
1+
.. mdinclude:: ../../README.md

examples/flask-webapp/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Deprecation Notice
22

3-
These samples have been deprecated. Please see the new Python API samples [here](https://github.com/auth0-samples/auth0-python-web-app).
3+
These samples have been deprecated. Please see the new Python API samples [here](https://github.com/auth0-samples/auth0-python-web-app).

examples/webapi2/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Deprecation Notice
22

3-
These samples have been deprecated. Please see the new Python API samples [here](https://github.com/auth0-samples/auth0-python-api-samples).
3+
These samples have been deprecated. Please see the new Python API samples [here](https://github.com/auth0-samples/auth0-python-api-samples).

0 commit comments

Comments
 (0)