-
Notifications
You must be signed in to change notification settings - Fork 170
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
Move Black to pre-commit #503
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,27 +27,30 @@ | |
readme = f.read() | ||
|
||
kerberos_require = ["requests_kerberos"] | ||
gssapi_require = ["" | ||
"requests_gssapi", | ||
# PyPy compatibility issue https://github.com/jborean93/pykrb5/issues/49 | ||
"krb5 == 0.5.1"] | ||
gssapi_require = [ | ||
"" "requests_gssapi", | ||
# PyPy compatibility issue https://github.com/jborean93/pykrb5/issues/49 | ||
"krb5 == 0.5.1", | ||
] | ||
sqlalchemy_require = ["sqlalchemy >= 1.3"] | ||
external_authentication_token_cache_require = ["keyring"] | ||
|
||
# We don't add localstorage_require to all_require as users must explicitly opt in to use keyring. | ||
all_require = kerberos_require + sqlalchemy_require | ||
|
||
tests_require = all_require + gssapi_require + [ | ||
# httpretty >= 1.1 duplicates requests in `httpretty.latest_requests` | ||
# https://github.com/gabrielfalcao/HTTPretty/issues/425 | ||
"httpretty < 1.1", | ||
"pytest", | ||
"pytest-runner", | ||
"pre-commit", | ||
"black", | ||
"isort", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Both There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. might want to look at #227 for context. The TL;DR version was:
|
||
"keyring" | ||
] | ||
tests_require = ( | ||
all_require | ||
+ gssapi_require | ||
+ [ | ||
# httpretty >= 1.1 duplicates requests in `httpretty.latest_requests` | ||
# https://github.com/gabrielfalcao/HTTPretty/issues/425 | ||
"httpretty < 1.1", | ||
"pytest", | ||
"pytest-runner", | ||
"pre-commit", | ||
"keyring", | ||
] | ||
) | ||
|
||
setup( | ||
name=about["__title__"], | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about the purpose of
""
here. Perhaps it should be removed?