Skip to content

Commit 062f0d5

Browse files
authored
Merge pull request #46 from python-ellar/lint_pkg_upgrade
Updated lint packages
2 parents 16c3ca0 + f9aad44 commit 062f0d5

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

ellar_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Ellar CLI Tool for Scaffolding Ellar Projects, Modules and also running Ellar Commands"""
22

3-
__version__ = "0.2.2"
3+
__version__ = "0.2.3"

ellar_cli/scaffolding/project_template/project_name/server.ellar

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import os
22

33
from ellar.common.constants import ELLAR_CONFIG_MODULE
44
from ellar.core.factory import AppFactory
5-
# from ellar.openapi import OpenAPIDocumentModule, OpenAPIDocumentBuilder, SwaggerDocumentGenerator
5+
# from ellar.openapi import OpenAPIDocumentModule, OpenAPIDocumentBuilder, SwaggerUI
66
from .root_module import ApplicationModule
77

88
application = AppFactory.create_from_app_module(
@@ -20,11 +20,11 @@ application = AppFactory.create_from_app_module(
2020
# .set_version('1.0.2') \
2121
# .set_contact(name='Author Name', url='https://www.author-name.com', email='[email protected]') \
2222
# .set_license('MIT Licence', url='https://www.google.com')
23-
#
23+
#
2424
# document = document_builder.build_document(application)
2525
# module = OpenAPIDocumentModule.setup(
2626
# document=document,
27-
# document_generator=SwaggerDocumentGenerator(),
27+
# docs_ui=SwaggerUI(),
2828
# guards=[]
2929
# )
3030
# application.install_module(module)

tests/test_ellar_cli_service.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ def test_version_works(write_empty_py_project, process_runner):
176176
result = process_runner(["ellar", "--version"])
177177
assert result.returncode == 0
178178

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

0 commit comments

Comments
 (0)