Skip to content

Commit

Permalink
Move deps, isort.cfg, .flake8 to pyproject.toml (#528)
Browse files Browse the repository at this point in the history
* Move deps, isort, flake-8 in pyproject.toml
* Minor improvements:
1. Increase `isort` line length
2. `makemigrations` command — raise on error instead of print and exit
3. Drop `flake8-mutable`, change initial project version
  • Loading branch information
nkiryanov authored Nov 3, 2022
1 parent 5bc7ddc commit c32e7a5
Show file tree
Hide file tree
Showing 10 changed files with 365 additions and 283 deletions.
1 change: 1 addition & 0 deletions cookiecutter.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"project_slug": "django",
"email": "",
"project_version": "0.0.0-dev",
"_copy_without_render": [
"*.py-tpl",
".circleci/config.yml"
Expand Down
9 changes: 0 additions & 9 deletions {{cookiecutter.project_slug}}/.flake8

This file was deleted.

6 changes: 0 additions & 6 deletions {{cookiecutter.project_slug}}/.isort.cfg

This file was deleted.

4 changes: 2 additions & 2 deletions {{cookiecutter.project_slug}}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ install-deps: deps
pip-sync requirements.txt

deps:
pip-compile requirements.in
pip-compile --output-file=requirements.txt pyproject.toml

dev-deps: deps
pip-compile dev-requirements.in
pip-compile --extra=dev --output-file=dev-requirements.txt pyproject.toml

lint:
dotenv-linter src/app/.env.ci
Expand Down
49 changes: 0 additions & 49 deletions {{cookiecutter.project_slug}}/dev-requirements.in

This file was deleted.

Loading

0 comments on commit c32e7a5

Please sign in to comment.