Add initial implementations for forms and organization apps with serializers, factories, and admin configurations
Some checks failed
CI/CD Pipeline / Run Tests (push) Failing after 45s
CI/CD Pipeline / Code Quality Checks (push) Failing after 48s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
Some checks failed
CI/CD Pipeline / Run Tests (push) Failing after 45s
CI/CD Pipeline / Code Quality Checks (push) Failing after 48s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped
This commit is contained in:
@@ -28,6 +28,7 @@ dependencies = [
|
||||
# Validation and serialization
|
||||
"django-filter==23.5",
|
||||
"django-cors-headers==4.3.1",
|
||||
"django-jazzmin>=2.6.2",
|
||||
# Logging and monitoring
|
||||
"python-json-logger==2.0.7",
|
||||
# Utilities
|
||||
@@ -46,7 +47,6 @@ dependencies = [
|
||||
"faker>=40.1.2",
|
||||
"factory-boy>=3.3.0",
|
||||
"openpyxl>=3.1.5",
|
||||
"django-jazzmin>=2.6.2",
|
||||
"playwright>=1.57.0",
|
||||
"pylint>=3.0",
|
||||
"whitenoise>=6.11.0",
|
||||
@@ -101,11 +101,14 @@ build-backend = "setuptools.build_meta"
|
||||
[tool.setuptools]
|
||||
packages = ["src"]
|
||||
|
||||
[tool.uv]
|
||||
package = false
|
||||
|
||||
# ==================================================================================
|
||||
# PYTEST CONFIGURATION
|
||||
# ==================================================================================
|
||||
[tool.pytest.ini_options]
|
||||
DJANGO_SETTINGS_MODULE = "config.settings.test"
|
||||
DJANGO_SETTINGS_MODULE = "settings.test"
|
||||
django_find_project = false
|
||||
testpaths = ["tests"]
|
||||
addopts = [
|
||||
@@ -159,6 +162,8 @@ omit = [
|
||||
"*/site-packages/*",
|
||||
"manage.py",
|
||||
"*/settings/*",
|
||||
"*/core/wsgi.py",
|
||||
"*/core/asgi.py",
|
||||
"*/config/wsgi.py",
|
||||
"*/config/asgi.py",
|
||||
"*/__pycache__/*",
|
||||
@@ -264,12 +269,12 @@ max-complexity = 10
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
# Ignore `E402` (import violations) in all `__init__.py` files
|
||||
"__init__.py" = ["E402"]
|
||||
# Ignore star imports and related errors in settings
|
||||
# Ignore star imports and related errors in compatibility settings
|
||||
"src/settings/*" = ["F403", "F405", "E402"]
|
||||
"src/settings/dev.py" = ["S105"]
|
||||
"src/settings/test.py" = ["S105"]
|
||||
"src/config/settings/*" = ["F403", "F405", "E402"]
|
||||
# Ignore star imports in test runner files
|
||||
"check_tests.py" = ["F403"]
|
||||
"run_tests.py" = ["F403"]
|
||||
"run_tests_simple.py" = ["F403"]
|
||||
"src/apps/core/excel.py" = ["C901"]
|
||||
# Ignore complexity issues in tests
|
||||
"tests/*" = ["C901", "S101"]
|
||||
"**/test_*" = ["C901", "S101"]
|
||||
@@ -381,7 +386,7 @@ module = "tests.*"
|
||||
disallow_untyped_defs = false
|
||||
|
||||
[tool.django-stubs]
|
||||
django_settings_module = "config.settings.development"
|
||||
django_settings_module = "settings.dev"
|
||||
|
||||
# ==================================================================================
|
||||
# BANDIT CONFIGURATION (Security)
|
||||
|
||||
Reference in New Issue
Block a user