File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ clean :
2+ find . -path ' */__pycache__/*' -delete
3+ find . -type d -name ' __pycache__' -empty -delete
4+ find . -name * .pyc -o -name * .pyo -delete
5+ rm -rf * .egg-info
6+ rm -rf .cache
7+ rm -rf .tox
8+ rm -f .coverage
9+
10+ style :
11+ flake8
12+
13+ test :
14+ python InvenTree/manage.py test --noinput
15+
16+ setup :
17+ # TODO: replace this with a proper setup.py
18+ pip install -U -r requirements/base.txt
19+ python InvenTree/manage.py migrate --run-syncdb
20+ python InvenTree/manage.py check
21+
22+ develop :
23+ pip install -U -r requirements/dev.txt
24+
25+ superuser :
26+ python InvenTree/manage.py createsuperuser
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ Django==1.11
2+ djangorestframework==3.6.2
3+ pep8==1.7.0
4+ pkg-resources==0.0.0
5+ pytz==2017.2
Original file line number Diff line number Diff line change 1+ -r base.txt
2+ flake8==3.3.0
Original file line number Diff line number Diff line change 1+ -r build.txt
2+ django-extensions==1.7.8
3+ graphviz==0.6
4+ ipython==5.3.0
Original file line number Diff line number Diff line change 1+ [flake8]
2+ ignore =
3+ # - W293 - blank lines contain whitespace
4+ W293,
5+ # - E501 - line too long (82 characters)
6+ E501
7+ exclude = .git,__pycache__
8+ max-complexity = 10
You can’t perform that action at this time.
0 commit comments