Skip to content

Commit fb8284d

Browse files
committed
update black version & makefile for dev commands
1 parent 7fbf546 commit fb8284d

File tree

5 files changed

+41
-32
lines changed

5 files changed

+41
-32
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ check-safety:
5555
.PHONY: lint
5656
lint: test check-codestyle mypy check-safety
5757

58+
.PHONY: update-dev-deps
59+
update-dev-deps:
60+
poetry add -D bandit@latest darglint@latest "isort[colors]@latest" mypy@latest pre-commit@latest pydocstyle@latest pylint@latest pytest@latest pyupgrade@latest safety@latest
61+
poetry add -D --allow-prereleases black@latest
62+
5863
#* Cleaning
5964
.PHONY: pycache-remove
6065
pycache-remove:

poetry.lock

Lines changed: 29 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ cookiecutter = "^1.7.3"
3535

3636
[tool.poetry.dev-dependencies]
3737
bandit = "^1.7.0"
38-
black = {version = "^21.6b0", allow-prereleases = true}
38+
black = {version = "^21.7b0", allow-prereleases = true}
3939
darglint = "^1.8.0"
4040
isort = {extras = ["colors"], version = "^5.9.2"}
4141
mypy = "^0.910"
4242
pre-commit = "^2.13.0"
4343
pydocstyle = "^6.1.1"
4444
pylint = "^2.9.3"
4545
pytest = "^6.2.4"
46-
pyupgrade = "^2.21.0"
46+
pyupgrade = "^2.21.2"
4747
safety = "^1.10.3"
4848

4949
[tool.black]

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ arrow==1.1.1; python_version >= "3.6" and python_full_version < "3.0.0" or pytho
22
binaryornot==0.4.4; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
33
certifi==2021.5.30; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0"
44
chardet==4.0.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
5-
charset-normalizer==2.0.1; python_full_version >= "3.6.0" and python_version >= "3"
5+
charset-normalizer==2.0.3; python_full_version >= "3.6.0" and python_version >= "3"
66
click==8.0.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
77
colorama==0.4.4; python_version >= "3.6" and python_full_version < "3.0.0" and platform_system == "Windows" or python_full_version >= "3.5.0" and python_version >= "3.6" and platform_system == "Windows"
88
cookiecutter==1.7.3; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0")
@@ -12,7 +12,7 @@ jinja2-time==0.2.0; python_version >= "2.7" and python_full_version < "3.0.0" or
1212
jinja2==3.0.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
1313
markupsafe==2.0.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
1414
poyo==0.5.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
15-
python-dateutil==2.8.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
15+
python-dateutil==2.8.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
1616
python-slugify==5.0.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
1717
requests==2.26.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0"
1818
six==1.16.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"

{{ cookiecutter.project_name }}/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ rich = "^10.4.0"
4848
{% endif %}
4949
[tool.poetry.dev-dependencies]
5050
bandit = "^1.7.0"
51-
black = {version = "^21.6b0", allow-prereleases = true}
51+
black = {version = "^21.7b0", allow-prereleases = true}
5252
darglint = "^1.8.0"
5353
isort = {extras = ["colors"], version = "^5.9.2"}
5454
mypy = "^0.910"
5555
pre-commit = "^2.13.0"
5656
pydocstyle = "^6.1.1"
57-
pylint = "^2.8.3"
57+
pylint = "^2.9.3"
5858
pytest = "^6.2.4"
59-
pyupgrade = "^2.21.0"
59+
pyupgrade = "^2.21.2"
6060
safety = "^1.10.3"
6161

6262
[tool.black]

0 commit comments

Comments
 (0)