mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
Merge branch 'master' into auto-generate-contributors
# Conflicts: # CONTRIBUTORS.rst
This commit is contained in:
commit
733b4810f1
|
@ -7,7 +7,7 @@ binaryornot==0.4.4
|
||||||
black==19.10b0
|
black==19.10b0
|
||||||
isort==4.3.21
|
isort==4.3.21
|
||||||
flake8==3.8.3
|
flake8==3.8.3
|
||||||
flake8-isort==3.0.1
|
flake8-isort==4.0.0
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
|
@ -5,6 +5,10 @@
|
||||||
|
|
||||||
set -o errexit
|
set -o errexit
|
||||||
|
|
||||||
|
# Install modern pip to use new resolver:
|
||||||
|
# https://blog.python.org/2020/07/upgrade-pip-20-2-changes-20-3.html
|
||||||
|
pip install 'pip>=20.2'
|
||||||
|
|
||||||
# install test requirements
|
# install test requirements
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
@ -20,7 +24,7 @@ cd my_awesome_project
|
||||||
sudo utility/install_os_dependencies.sh install
|
sudo utility/install_os_dependencies.sh install
|
||||||
|
|
||||||
# Install Python deps
|
# Install Python deps
|
||||||
pip install -r requirements/local.txt
|
pip install --use-feature=2020-resolver -r requirements/local.txt
|
||||||
|
|
||||||
# run the project's tests
|
# run the project's tests
|
||||||
pytest
|
pytest
|
||||||
|
|
|
@ -15,6 +15,11 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
|
|
||||||
|
- repo: https://github.com/timothycrosley/isort
|
||||||
|
rev: 4.3.21
|
||||||
|
hooks:
|
||||||
|
- id: isort
|
||||||
|
|
||||||
- repo: https://gitlab.com/pycqa/flake8
|
- repo: https://gitlab.com/pycqa/flake8
|
||||||
rev: 3.8.3
|
rev: 3.8.3
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
@ -13,7 +13,7 @@ watchgod==0.6 # https://github.com/samuelcolvin/watchgod
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
mypy==0.782 # https://github.com/python/mypy
|
mypy==0.770 # https://github.com/python/mypy
|
||||||
django-stubs==1.5.0 # https://github.com/typeddjango/django-stubs
|
django-stubs==1.5.0 # https://github.com/typeddjango/django-stubs
|
||||||
pytest==6.0.1 # https://github.com/pytest-dev/pytest
|
pytest==6.0.1 # https://github.com/pytest-dev/pytest
|
||||||
pytest-sugar==0.9.4 # https://github.com/Frozenball/pytest-sugar
|
pytest-sugar==0.9.4 # https://github.com/Frozenball/pytest-sugar
|
||||||
|
@ -26,7 +26,7 @@ sphinx-autobuild==0.7.1 # https://github.com/GaretJax/sphinx-autobuild
|
||||||
# Code quality
|
# Code quality
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
flake8==3.8.3 # https://github.com/PyCQA/flake8
|
flake8==3.8.3 # https://github.com/PyCQA/flake8
|
||||||
flake8-isort==3.0.1 # https://github.com/gforcada/flake8-isort
|
flake8-isort==4.0.0 # https://github.com/gforcada/flake8-isort
|
||||||
coverage==5.2.1 # https://github.com/nedbat/coveragepy
|
coverage==5.2.1 # https://github.com/nedbat/coveragepy
|
||||||
black==19.10b0 # https://github.com/ambv/black
|
black==19.10b0 # https://github.com/ambv/black
|
||||||
pylint-django==2.3.0 # https://github.com/PyCQA/pylint-django
|
pylint-django==2.3.0 # https://github.com/PyCQA/pylint-django
|
||||||
|
|
Loading…
Reference in New Issue
Block a user