Skip to content

Commit cddc0f6

Browse files
authored
Merge branch 'master' into proj_info_update
2 parents 16d4257 + b6e23e9 commit cddc0f6

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
publish:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
- name: Set up Python
1414
uses: actions/setup-python@v4
1515
with:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- name: Set up Python
1515
uses: actions/setup-python@v4
1616
with:
@@ -22,4 +22,4 @@ jobs:
2222
- name: Test
2323
run: make test-cov
2424
- name: Coverage
25-
uses: codecov/[email protected].1
25+
uses: codecov/[email protected].4

.github/workflows/test_full.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
django-version: ['<3.0', '<3.1', '<3.2', '<3.3', '<4.1', '<4.2']
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- name: Set up Python
1919
uses: actions/setup-python@v4
2020
with:
@@ -31,7 +31,7 @@ jobs:
3131
codestyle:
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
3535
- name: Set up Python
3636
uses: actions/setup-python@v4
3737
with:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ repos:
1414
name: Code Formatting
1515
entry: "make fmt"
1616
types: [python]
17-
language_version: python3.8
17+
language_version: python3.10
1818
language: python
1919
- id: code_linting
2020
args: [ ]
2121
name: Code Linting
2222
entry: "make lint"
2323
types: [ python ]
24-
language_version: python3.8
24+
language_version: python3.10
2525
language: python
2626
- repo: https://github.com/pre-commit/pre-commit-hooks
2727
rev: v2.3.0

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<p align="center">
2-
<a href="#" target="blank"><img src="https://eadwincode.github.io/ellar/img/EllarLogoB.png" width="200" alt="Ellar Logo" /></a>
2+
<a href="#" target="blank"><img src="https://python-ellar.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>
4+
<p align="center">Ellar - Python ASGI web framework for building fast, efficient, and scalable RESTful APIs and server-side applications.</p>
55

6-
![Test](https://github.com/eadwinCode/ellar-django-module/actions/workflows/test_full.yml/badge.svg)
7-
![Coverage](https://img.shields.io/codecov/c/github/eadwinCode/ellar-django-module)
6+
![Test](https://github.com/python-ellar/ellar-django-module/actions/workflows/test_full.yml/badge.svg)
7+
![Coverage](https://img.shields.io/codecov/c/github/python-ellar/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)

ellar_django/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Enables Django ORM and Admin feature in Ellar's application"""
22

3-
__version__ = "1.0.2"
3+
__version__ = "1.0.3"
44

55
from .module import DjangoModule
66

ellar_django/module.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async def _redirect_route(req: Request) -> RedirectResponse:
1717
return RedirectResponse(url=str(req.base_url))
1818

1919

20-
@Module()
20+
@Module(commands=[django_command_wrapper])
2121
class DjangoModule(IModuleSetup):
2222
@classmethod
2323
def setup(cls, settings_module: str, path_prefix: str = "/dj") -> "DynamicModule":
@@ -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])
30+
return DynamicModule(cls, routers=[mount])

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ test = [
6262
"pytest >= 7.1.3,<8.0.0",
6363
"pytest-django",
6464
"pytest-cov >= 2.12.0,<5.0.0",
65-
"black ==23.10.1",
66-
"mypy == 1.6.1",
67-
"ruff ==0.1.3",
65+
"mypy == 1.7.1",
66+
"ruff ==0.1.7",
67+
"black == 23.11.0",
6868
"pytest-asyncio",
6969
"autoflake",
7070
]

0 commit comments

Comments
 (0)