Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmancuso committed Aug 31, 2019
1 parent 31216a4 commit 068e85e
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions masonite/drivers/mail/BaseMailDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from masonite.app import App
from masonite.helpers import config


class BaseMailDriver(BaseDriver):
"""Base mail driver class. This class is inherited by all mail drivers."""

Expand Down
1 change: 1 addition & 0 deletions masonite/drivers/upload/UploadS3Driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from masonite.app import App
from masonite.helpers import config


class UploadS3Driver(BaseUploadDriver, UploadContract):
"""Amazon S3 Upload driver."""

Expand Down
1 change: 1 addition & 0 deletions masonite/helpers/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ def config(path, default=''):
"""
return Dot().locate('config.' + path, default)


def load(path, default=''):
"""Used to fetch a value from a configuration file
Expand Down
1 change: 1 addition & 0 deletions masonite/managers/MailManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from masonite.managers import Manager
from masonite.helpers import config


class MailManager(Manager, MailManagerContract):
"""Manages all mail drivers.
Expand Down
1 change: 1 addition & 0 deletions masonite/managers/Manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from masonite.app import App
from masonite.helpers import config


class Manager:
"""Base Manager Class."""

Expand Down
2 changes: 1 addition & 1 deletion masonite/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def assets(self, assets):
Arguments:
assets {dict} -- A dictionary of assets to add
"""

self.app.make('staticfiles').update(assets)

def publishes(self, dictionary, tag=None):
Expand Down
1 change: 1 addition & 0 deletions masonite/providers/AppProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from masonite.drivers import AuthCookieDriver, AuthJwtDriver
from masonite.helpers import load


class AppProvider(ServiceProvider):

def register(self):
Expand Down
1 change: 1 addition & 0 deletions masonite/providers/BroadcastProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from masonite import Broadcast
from masonite.helpers import config


class BroadcastProvider(ServiceProvider):

wsgi = False
Expand Down
1 change: 1 addition & 0 deletions masonite/providers/CacheProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from masonite.provider import ServiceProvider
from masonite.helpers import config


class CacheProvider(ServiceProvider):

wsgi = False
Expand Down
1 change: 1 addition & 0 deletions masonite/providers/MailProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from masonite import Mail
from masonite.helpers import config


class MailProvider(ServiceProvider):

wsgi = False
Expand Down
1 change: 1 addition & 0 deletions masonite/providers/QueueProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from masonite import Queue
from masonite.helpers import config


class QueueProvider(ServiceProvider):

wsgi = False
Expand Down
1 change: 1 addition & 0 deletions masonite/providers/SessionProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from masonite import Session
from masonite.helpers import config


class SessionProvider(ServiceProvider):

def register(self):
Expand Down
1 change: 1 addition & 0 deletions masonite/providers/UploadProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from masonite import Upload
from masonite.helpers import config


class UploadProvider(ServiceProvider):

wsgi = False
Expand Down
1 change: 1 addition & 0 deletions masonite/providers/WhitenoiseProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from masonite.provider import ServiceProvider
from masonite.helpers import config


class WhitenoiseProvider(ServiceProvider):

wsgi = False
Expand Down
1 change: 1 addition & 0 deletions masonite/snippets/auth/controllers/LoginController.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from masonite.view import View
from masonite.helpers import config


class LoginController:
"""Login Form Controller."""

Expand Down
2 changes: 1 addition & 1 deletion masonite/testsuite/TestSuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def create_container(self, wsgi=generate_wsgi(), container=None, routes=[]):
located_provider = provider()
except TypeError:
located_provider = provider

located_provider.load_app(container).register()
if located_provider.wsgi:
container.make('WSGIProviders').append(located_provider)
Expand Down

0 comments on commit 068e85e

Please sign in to comment.