Skip to content

Commit

Permalink
Apply updated linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed Aug 15, 2023
1 parent 136c846 commit 64eb0ca
Show file tree
Hide file tree
Showing 17 changed files with 67 additions and 703 deletions.
2 changes: 1 addition & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ coverage:
default:
enabled: true
if_no_uploads: error
comment: false
comment: false
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[flake8]
ignore = E501 F401
max-line-length = 88
max-line-length = 88
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Please include relevant links supporting this change such as a:

### Testing

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.
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.

- [ ] This change adds unit test coverage
- [ ] This change adds integration test coverage
Expand Down
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
ignore:
Expand Down
2 changes: 1 addition & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ staleLabel: closed:stale

# Comment to post when marking as stale. Set to `false` to disable
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. 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! 🙇‍♂️
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! 🙇‍♂️
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ docs/build/

# IDEA
.idea/
*.iml
*.iml

# VSCode
.vscode/
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ sphinx:
python:
version: "3.7"
install:
- requirements: requirements.txt
- requirements: requirements.txt
2 changes: 1 addition & 1 deletion .shiprc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"auth0/__init__.py": []
},
"prefixVersion": false
}
}
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ See the [V4_MIGRATION_GUIDE](https://github.com/auth0/auth0-python/blob/master/V
3.8.1
------------------

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.
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.

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

Expand Down Expand Up @@ -375,7 +375,7 @@ Authentication API
Authentication API
- Added Logout Functionality

3.0.0
3.0.0
------------------

Authentication API
Expand All @@ -388,8 +388,8 @@ Authentication API
- Authorization Code Grant

Management API v2
- Added Support for Guardian
- Added Support for Guardian
- Added Support to retrieve Logs
- Added Support to manage Resource Servers
- Added Support to manage Client Grants
- Added Support to manage User blocks
- Added Support to manage User blocks
8 changes: 4 additions & 4 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
The MIT License (MIT)

Copyright (c) 2017 Auth0, Inc. <[email protected]> (http://auth0.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,4 @@ Please do not report security vulnerabilities on the public GitHub issue tracker
</p>
<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>
<p align="center">
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>
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>
6 changes: 3 additions & 3 deletions V4_MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Guide to migrating from `3.x` to `4.x`

## Python <3.7 is no longer supported

Python <=3.6 and Python 2 are EOL and are no longer supported.
Python <=3.6 and Python 2 are EOL and are no longer supported.

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

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

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

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

- `users.delete_all_users` - Use `users.delete`
- `jobs.get_results` - Use `jobs.get`
- `jobs.get_results` - Use `jobs.get`
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Auth0-Python documentation
.. toctree::
:hidden:
:caption: Learn the basics

readme_content

.. toctree::
Expand Down
2 changes: 1 addition & 1 deletion docs/source/readme_content.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.. mdinclude:: ../../README.md
.. mdinclude:: ../../README.md
2 changes: 1 addition & 1 deletion examples/flask-webapp/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Deprecation Notice

These samples have been deprecated. Please see the new Python API samples [here](https://github.com/auth0-samples/auth0-python-web-app).
These samples have been deprecated. Please see the new Python API samples [here](https://github.com/auth0-samples/auth0-python-web-app).
2 changes: 1 addition & 1 deletion examples/webapi2/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Deprecation Notice

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

0 comments on commit 64eb0ca

Please sign in to comment.