Skip to content
Snippets Groups Projects
Commit b048ef81 authored by Ned Batchelder's avatar Ned Batchelder
Browse files

test: add more quality checks.

The 2.10.0 release couldn't upload to PyPI because of ReStructured Text
errors. Add some checking so that we'll know next time.
parent 92cf504e
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,8 @@ compile-sass: ## Compile the Sass assets ...@@ -20,6 +20,8 @@ compile-sass: ## Compile the Sass assets
quality: ## Run the quality checks quality: ## Run the quality checks
pycodestyle --config=.pep8 lti_consumer pycodestyle --config=.pep8 lti_consumer
pylint --rcfile=pylintrc lti_consumer pylint --rcfile=pylintrc lti_consumer
python setup.py -q sdist
twine check dist/*
test: ## Run the tests test: ## Run the tests
mkdir -p var mkdir -p var
...@@ -71,4 +73,4 @@ dummy_translations: ## generate dummy translation (.po) files ...@@ -71,4 +73,4 @@ dummy_translations: ## generate dummy translation (.po) files
build_dummy_translations: dummy_translations compile_translations ## generate and compile dummy translation files build_dummy_translations: dummy_translations compile_translations ## generate and compile dummy translation files
validate_translations: build_dummy_translations detect_changed_source_translations ## validate translations validate_translations: build_dummy_translations detect_changed_source_translations ## validate translations
\ No newline at end of file
...@@ -3,11 +3,13 @@ ...@@ -3,11 +3,13 @@
-r base.txt # Core dependencies for the cookiecutter -r base.txt # Core dependencies for the cookiecutter
ddt
coveralls coveralls
mock ddt
django-pyfs django-pyfs
djangorestframework
edx_lint edx_lint
mock
pycodestyle pycodestyle
djangorestframework readme-renderer
twine
xblock-sdk xblock-sdk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment