Skip to content

Commit aa5ec7a

Browse files
committed
mypy fix
1 parent 9bbb3a0 commit aa5ec7a

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
<p align="center">
2-
<a href="#" target="blank"><img src="docs/img/EllarLogoIconOnly.png" width="200" alt="Ellar Logo" /></a>
2+
<a href="#" target="blank"><img src="https://eadwincode.github.io/ellar/img/EllarLogoB.png" width="200" alt="Ellar Logo" /></a>
33
</p>
4+
<p align="center">Ellar - Python ASGI web framework for building fast, efficient and scalable RESTful APIs and server-side application.</p>
45

5-
A simple way to add use Django ORM with Ellar
66
![Test](https://github.com/eadwinCode/ellar-django-module/actions/workflows/test_full.yml/badge.svg)
77
![Coverage](https://img.shields.io/codecov/c/github/eadwinCode/ellar-django-module)
88
[![PyPI version](https://badge.fury.io/py/ellar-django-module.svg)](https://badge.fury.io/py/ellar-django-module)
99
[![PyPI version](https://img.shields.io/pypi/v/ellar-django-module.svg)](https://pypi.python.org/pypi/ellar-django-module)
1010
[![PyPI version](https://img.shields.io/pypi/pyversions/ellar-django-module.svg)](https://pypi.python.org/pypi/ellar-django-module)
1111

12+
## Introduction
13+
A simple way to add use Django ORM with Ellar
14+
1215
## Installation
1316
```shell
1417
pip install ellar-django-module

ellar_django/module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ def setup(cls, settings_module: str, path_prefix: str = "/dj") -> "DynamicModule
2727
mount = Mount(
2828
path_prefix, routes=[_router, Mount("/", app=get_asgi_application())]
2929
)
30-
return DynamicModule(cls, routers=[mount], commands=[django_command_wrapper]) # type: ignore
30+
return DynamicModule(cls, routers=[mount], commands=[django_command_wrapper])

mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.6
2+
python_version = 3.8
33

44
show_column_numbers = True
55

0 commit comments

Comments
 (0)