-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reorganize plugins to simplify import strategy
also update travis and setup travis removed hunspell dependency since pyontutils is not being installed with the spell option
- Loading branch information
Showing
13 changed files
with
1,198 additions
and
1,205 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
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,17 +0,0 @@ | ||
import pathlib | ||
|
||
try: | ||
import orthauth as oa | ||
auth = oa.configure(pathlib.Path(__file__).parent / 'auth-config.py') | ||
class deco: | ||
scigraph_api_key = auth.tangential_init('api_key', 'scigraph-api-key') | ||
interlex_api_key = auth.tangential_init('api_key', 'interlex-api-key') | ||
interlex_basic_u = auth.tangential_init('_basic_auth_user', 'interlex-basic-auth-user') | ||
interlex_basic_p = auth.tangential_init('_basic_auth_pass', 'interlex-basic-auth-pass') | ||
except ModuleNotFoundError: | ||
class deco: | ||
scigraph_api_key = lambda cls: cls | ||
interlex_api_key = lambda cls: cls | ||
interlex_basic_u = lambda cls: cls | ||
interlex_basic_p = lambda cls: cls | ||
|
||
Large diffs are not rendered by default.
Oops, something went wrong.
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,15 @@ | ||
import pathlib | ||
try: | ||
import orthauth as oa | ||
auth = oa.configure(pathlib.Path(__file__).parent / 'auth-config.py') | ||
class deco: | ||
scigraph_api_key = auth.tangential_init('api_key', 'scigraph-api-key') | ||
interlex_api_key = auth.tangential_init('api_key', 'interlex-api-key') | ||
interlex_basic_u = auth.tangential_init('_basic_auth_user', 'interlex-basic-auth-user') | ||
interlex_basic_p = auth.tangential_init('_basic_auth_pass', 'interlex-basic-auth-pass') | ||
except ModuleNotFoundError: | ||
class deco: | ||
scigraph_api_key = lambda cls: cls | ||
interlex_api_key = lambda cls: cls | ||
interlex_basic_u = lambda cls: cls | ||
interlex_basic_p = lambda cls: cls |
File renamed without changes.
Oops, something went wrong.