diff --git a/.flake8 b/.flake8 deleted file mode 100644 index 8639974..0000000 --- a/.flake8 +++ /dev/null @@ -1,9 +0,0 @@ -[flake8] -extend-ignore = C901, W504, E701, E203, W503 -max-line-length = 125 -# NOTE: Update in .pre-commit-config.yaml as well -extend-exclude = .git,__pycache__,old,build,dist,*/migrations/*.py,legacy/,.venv -max-complexity = 10 -per-file-ignores = - /**/tests/*_mock_data.py: E501 - **/snap_test_*.py: E501 diff --git a/helm/Chart.lock b/helm/Chart.lock index 8128d62..59ee045 100644 --- a/helm/Chart.lock +++ b/helm/Chart.lock @@ -1,6 +1,6 @@ dependencies: -- name: django-app - repository: oci://ghcr.io/toggle-corp/charts - version: 0.1.2 -digest: sha256:345fe5056e46773c9fd69766d0cbd1184c0892c9db196cacc6fab2ce2561b4c0 -generated: "2025-07-23T10:02:03.677212324Z" +- name: toggle-django-helm + repository: oci://ghcr.io/toggle-corp + version: 0.2.0 +digest: sha256:670c8daa77095e7a9fffd8bd0027757ad118d789f8d3650615d4a10ed4903fb3 +generated: "2025-08-20T21:13:59.058777751+05:45" diff --git a/helm/Chart.yaml b/helm/Chart.yaml index 0b5eb7e..2cf9b78 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -7,7 +7,7 @@ sources: - https://github.com/toggle-corp/timur-backend dependencies: - - name: django-app + - name: toggle-django-helm alias: app - version: 0.1.2 - repository: oci://ghcr.io/toggle-corp/charts + version: 0.2.0 + repository: oci://ghcr.io/toggle-corp diff --git a/main/settings.py b/main/settings.py index 6219cb5..c9e37ae 100644 --- a/main/settings.py +++ b/main/settings.py @@ -152,6 +152,7 @@ "corsheaders", "rangefilter", # Django admin date range filter "djangoql", + "rest_framework", # -- Allauth "allauth", "allauth.account", diff --git a/pyproject.toml b/pyproject.toml index 3f2edf9..a63a950 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -108,3 +108,13 @@ extend-select = ["I", "E", "F", "B", "A", "W", "DJ", "AIR", "COM", "INT", "ISC", "utils/strawberry/*.py" = ["UP"] "/**/tests/*_mock_data.py" = ["E501"] "**/snap_test_*.py" = ["E501"] + +[tool.coverage.report] +# https://coverage.readthedocs.io/en/7.10.6/excluding.html#advanced-exclusion +exclude_also = [ + "raise NotImplementedError", + "if typing.TYPE_CHECKING:", +] +partial_branches = [ + "if typing.TYPE_CHECKING:", +]