Skip to content

Commit 5a85264

Browse files
authored
Removed redundant files. (#109)
* Removed redundant files. Description: Rabbitmq routes and test are still present even if demo routers option isn't chosen. Also I removed aerich.ini file, since new versions of aerich don't use it. Signed-off-by: Pavel Kirilin <win10@list.ru>
1 parent 5f9011a commit 5a85264

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

fastapi_template/template/{{cookiecutter.project_name}}/aerich.ini

Lines changed: 0 additions & 4 deletions
This file was deleted.

fastapi_template/template/{{cookiecutter.project_name}}/conditional_files.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"Database support": {
5454
"enabled": "{{cookiecutter.db_info.name != 'none'}}",
5555
"resources": [
56-
"aerich.ini",
5756
"alembic.ini",
5857
"{{cookiecutter.project_name}}/web/api/dummy",
5958
"{{cookiecutter.project_name}}/web/gql/dummy",
@@ -71,7 +70,6 @@
7170
"Migrations": {
7271
"enabled": "{{cookiecutter.enable_migrations}}",
7372
"resources": [
74-
"aerich.ini",
7573
"alembic.ini",
7674
"{{cookiecutter.project_name}}/db_sa/migrations",
7775
"{{cookiecutter.project_name}}/db_ormar/migrations",
@@ -114,9 +112,12 @@
114112
"{{cookiecutter.project_name}}/web/gql/redis",
115113
"{{cookiecutter.project_name}}/web/api/kafka",
116114
"{{cookiecutter.project_name}}/web/gql/kafka",
115+
"{{cookiecutter.project_name}}/web/api/rabbit",
116+
"{{cookiecutter.project_name}}/web/gql/rabbit",
117117
"{{cookiecutter.project_name}}/tests/test_echo.py",
118118
"{{cookiecutter.project_name}}/tests/test_dummy.py",
119-
"{{cookiecutter.project_name}}/tests/test_redis.py"
119+
"{{cookiecutter.project_name}}/tests/test_redis.py",
120+
"{{cookiecutter.project_name}}/tests/test_rabbit.py"
120121
]
121122
},
122123
"Dummy model": {
@@ -159,7 +160,6 @@
159160
"Tortoise ORM": {
160161
"enabled": "{{cookiecutter.orm == 'tortoise'}}",
161162
"resources": [
162-
"aerich.ini",
163163
"{{cookiecutter.project_name}}/db_tortoise"
164164
]
165165
},

0 commit comments

Comments
 (0)