-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring repo in line with edX standards
- Removed unused PEP 257 dependency - Replaced Pylint with edx-lint - Updated PEP 8 config file - Using Make targets to run commands instead of shell script - Using django-admin instead of copying manage.py file - Removed unnecessary settings - Removed unused mocks directory ECOM-6862
- Loading branch information
Clinton Blackburn
committed
Jan 18, 2017
1 parent
aec2047
commit 35355a7
Showing
23 changed files
with
260 additions
and
357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,4 @@ | |
branch = True | ||
source = organizations | ||
omit = | ||
**/__init__.py | ||
**/migrations/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
[pep8] | ||
ignore=E501 | ||
max_line_length=119 | ||
exclude=settings | ||
exclude=migrations | ||
exclude=settings,migrations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
clean: | ||
coverage erase | ||
find . -name '*.pyc' -delete | ||
|
||
quality: | ||
pep8 --config=.pep8 organizations | ||
pylint --rcfile=pylintrc organizations | ||
|
||
requirements: | ||
pip install -e . # Install this package and its dependencies | ||
pip install -r test-requirements.txt | ||
|
||
test: | ||
django-admin.py test organizations --settings=test_settings --with-coverage --cover-package=organizations | ||
coverage report | ||
|
||
.PHONY: clean, quality, requirements, test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.