diff --git a/Makefile b/Makefile index bc6c3d7..5446c95 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ requirements: piptools ## install development environment requirements test_integration: export DJANGO_SETTINGS_MODULE=lms.envs.test test_integration: ## run integration tests inside the LMS PATH_TO_PLATFORM=$$( [ -d "../../app/edxapp/edx-platform/" ] && echo "../../app/edxapp/edx-platform/" || echo "../../edx-platform/" ) && \ - cd $$PATH_TO_PLATFORM && pytest -c $(CURDIR)/pyproject.toml --cov-config=$(CURDIR)/pyproject.toml + cd $$PATH_TO_PLATFORM && pytest -c $(CURDIR)/pyproject.toml --cov-config=$(CURDIR)/pyproject.toml --cov-report=xml:$(CURDIR)/coverage.xml test_migrations: export DJANGO_SETTINGS_MODULE=lms.envs.devstack test_migrations: ## check that Django migrations reflect all model changes diff --git a/pyproject.toml b/pyproject.toml index 2d96e55..5234956 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,6 @@ addopts = [ "--pyargs", "openedx_course_enrollment_audit", "--cov", "openedx_course_enrollment_audit", "--cov-report", "term-missing", - "--cov-report", "xml:coverage.xml", "--nomigrations", "--reuse-db", "--durations=20", @@ -124,21 +123,3 @@ convention = "google" [tool.ruff.lint.pylint] allow-magic-value-types = ['int', 'str'] - -[tool.black] -line-length = 120 -target-version = ['py311'] -exclude = ''' -/( - \.git - | \.hg - | \.mypy_cache - | \.tox - | \.venv - | _build - | buck-out - | build - | dist - | migrations -)/ -'''