Skip to content

Commit 6d2b80c

Browse files
improve setup and add sync command
1 parent 491a15e commit 6d2b80c

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
init:
22
pip install -r requirements.txt
3+
update_test_project:
4+
masonite-package pull --directory tests/integrations
35
test:
46
python -m pytest tests
57
lint:
68
flake8 .
9+
format:
10+
black .
711
ci:
812
make test
913
coverage:

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
flake8
2+
black
23
pytest
34
masonite>=4,<5
45
masonite-orm>=2,<3

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
# requirements files see:
8787
# https://packaging.python.org/en/latest/requirements.html
8888
install_requires=[
89-
"masonite>=4,<5"
89+
"masonite>=4,<5",
9090
],
9191

9292
# List additional groups of dependencies here (e.g. development
@@ -96,6 +96,7 @@
9696
# $ pip install your-package[dev,test]
9797
extras_require={
9898
"test": ["coverage", "pytest"],
99+
"dev": ["twine", "flake8", "black", "masonite-package-sync"],
99100
},
100101

101102
# If there are data files included in your packages that need to be

0 commit comments

Comments
 (0)