Skip to content

Commit

Permalink
API is a controller, and saves us a linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
silasary committed Dec 6, 2019
1 parent 15c1885 commit 9908752
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion decksite/__init__.py
Expand Up @@ -97,6 +97,5 @@ def setup_links(menu: List[Dict[str, Any]]) -> None:
oracle.init()

from decksite.controllers import admin # isort:skip # pylint: disable=wrong-import-position
from . import api as API # isort:skip # pylint: disable=wrong-import-position, unused-import
from .data import deck # isort:skip # pylint: disable=wrong-import-position
APP.config['menu'] = build_menu
2 changes: 1 addition & 1 deletion decksite/controllers/__init__.py
@@ -1 +1 @@
from . import about, admin, competitions, league, metagame, resources
from . import about, admin, api, competitions, league, metagame, resources
File renamed without changes.

0 comments on commit 9908752

Please sign in to comment.