File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ ## v1.7.1 (2022-02-10)
4+
5+ * Update Makefile install target to not symlink to the home directory
6+ * Update Black to use the ` preview ` flag
7+ * Bump dev dependencies
8+
39## v1.7.0 (2021-11-29)
410
511* Adds ` mypy ` and type hinting via ` py.typed `
Original file line number Diff line number Diff line change 11PYTHON_BINARY := python3
2- VIRTUAL_BIN := venv/bin
2+ VIRTUAL_ENV := venv
3+ VIRTUAL_BIN := $(VIRTUAL_ENV ) /bin
34PROJECT_NAME := project_name
45TEST_DIR := test
56
@@ -17,7 +18,7 @@ coverage:
1718
1819# # clean - Remove the virtual environment and clear out .pyc files
1920clean :
20- rm -rf ~ /.venv/ $( PROJECT_NAME ) / venv
21+ rm -rf $( VIRTUAL_ENV )
2122 find . -name ' *.pyc' -delete
2223 rm -rf dist
2324 rm -rf build
@@ -39,8 +40,7 @@ format-check: black-check isort-check lint mypy
3940
4041# # install - Install the project locally
4142install :
42- $(PYTHON_BINARY ) -m venv ~ /.venv/$(PROJECT_NAME ) /
43- ln -snf ~ /.venv/$(PROJECT_NAME ) / venv
43+ $(PYTHON_BINARY ) -m venv $(VIRTUAL_ENV )
4444 $(VIRTUAL_BIN ) /pip install -e ." [dev]"
4545
4646# # isort - Sorts imports throughout the project
Original file line number Diff line number Diff line change 11[tool .black ]
2- experimental-string-processing = true
2+ preview = true
33line-length = 120
44skip-string-normalization = true
55
Original file line number Diff line number Diff line change 55
66REQUIREMENTS = [
77 # Add your list of production dependencies here, eg:
8- # 'requests == 1 .*',
8+ # 'requests == 2 .*',
99]
1010
1111DEV_REQUIREMENTS = [
1414 'flake8' ,
1515 'isort' ,
1616 'mypy' ,
17- 'pytest == 6 .*' ,
18- 'pytest-cov == 2 .*' ,
17+ 'pytest == 7 .*' ,
18+ 'pytest-cov == 3 .*' ,
1919]
2020
2121setuptools .setup (
You can’t perform that action at this time.
0 commit comments