Skip to content

Commit

Permalink
fixup! feat: initial implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Agrendalath committed Dec 13, 2024
1 parent 7eb4e38 commit e377f59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
19 changes: 0 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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
)/
'''

0 comments on commit e377f59

Please sign in to comment.