-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
100 changed files
with
16 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
test: bootstrap | ||
cd testproject && poetry run src/manage.py makemigrations --check | ||
cd testproject && poetry run src/manage.py startapp test_app | ||
|
||
make coverage | ||
|
||
bootstrap: | ||
rm -Rf testproject | ||
|
||
poetry run cookiecutter --no-input ./ | ||
|
||
cd testproject && poetry install | ||
|
||
coverage: | ||
cd testproject && poetry run python -m pytest --cov-report=xml --cov=core --cov=apps.a12n --cov=apps.users --cov=sepulkas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
{ | ||
"project_slug": "testproject", | ||
"email": "", | ||
"project_version": "0.0.0-dev", | ||
"name": "testproject", | ||
"_copy_without_render": [ | ||
"*.py-tpl", | ||
".github/workflows/ci.yml" | ||
".github/workflows/ci.yml", | ||
".mypy_cache", | ||
".pytest_cache", | ||
".venv", | ||
"**/__pycache__", | ||
"db.sqlite", | ||
"src/.django-app-template" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
#!/bin/bash -e | ||
|
||
rm -rf .mypy_cache \ | ||
.pytest_cache \ | ||
.venv | ||
|
||
cp src/core/.env.ci src/core/.env | ||
|
||
poetry install | ||
|
||
poetry run python src/manage.py collectstatic | ||
poetry run python src/manage.py migrate | ||
poetry run python src/manage.py startapp test_app | ||
|
||
make fmt lint test | ||
make lint test |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
{{cookiecutter.project_slug}}/pyproject.toml → {{cookiecutter.name}}/pyproject.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
[tool.poetry] | ||
authors = ["you <[email protected]>"] | ||
description = "your project description" | ||
name = "{{cookiecutter.project_slug}}" | ||
name = "your project name" | ||
readme = "README.md" | ||
version = "{{cookiecutter.project_version}}" | ||
version = "0.0.0-dev" | ||
|
||
[tool.poetry.dependencies] | ||
python = "~3.11" | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.