Skip to content

Commit

Permalink
Merge pull request #46 from python-ellar/lint_pkg_upgrade
Browse files Browse the repository at this point in the history
Updated lint packages
  • Loading branch information
eadwinCode authored Nov 5, 2023
2 parents 16c3ca0 + f9aad44 commit 062f0d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ellar_cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Ellar CLI Tool for Scaffolding Ellar Projects, Modules and also running Ellar Commands"""

__version__ = "0.2.2"
__version__ = "0.2.3"
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import os

from ellar.common.constants import ELLAR_CONFIG_MODULE
from ellar.core.factory import AppFactory
# from ellar.openapi import OpenAPIDocumentModule, OpenAPIDocumentBuilder, SwaggerDocumentGenerator
# from ellar.openapi import OpenAPIDocumentModule, OpenAPIDocumentBuilder, SwaggerUI
from .root_module import ApplicationModule

application = AppFactory.create_from_app_module(
Expand All @@ -20,11 +20,11 @@ application = AppFactory.create_from_app_module(
# .set_version('1.0.2') \
# .set_contact(name='Author Name', url='https://www.author-name.com', email='[email protected]') \
# .set_license('MIT Licence', url='https://www.google.com')
#
#
# document = document_builder.build_document(application)
# module = OpenAPIDocumentModule.setup(
# document=document,
# document_generator=SwaggerDocumentGenerator(),
# docs_ui=SwaggerUI(),
# guards=[]
# )
# application.install_module(module)
3 changes: 1 addition & 2 deletions tests/test_ellar_cli_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ def test_version_works(write_empty_py_project, process_runner):
result = process_runner(["ellar", "--version"])
assert result.returncode == 0

assert (
assert "Ellar CLI Version:" in str(result.stdout) and "Ellar Version:" in str(
result.stdout
== b"===========================================================\nEllar CLI Version: 0.2.2\n-----------------------------------------------------------\nEllar Version: 0.4.7\n===========================================================\n"
)

0 comments on commit 062f0d5

Please sign in to comment.