2022-02-11 23:52:31 -05:00
|
|
|
[project]
|
2023-09-05 18:09:22 -04:00
|
|
|
name = "CMSManage"
|
2022-02-11 23:52:31 -05:00
|
|
|
version = "0.1.0"
|
|
|
|
description = ""
|
|
|
|
authors = [
|
|
|
|
{name = "Adam Goldsmith", email = "contact@adamgoldsmith.name"},
|
|
|
|
]
|
|
|
|
dependencies = [
|
2024-08-07 13:17:22 -04:00
|
|
|
"django~=5.1",
|
2024-08-14 12:00:32 -04:00
|
|
|
"django-admin-logs~=1.3",
|
2024-04-18 11:31:01 -04:00
|
|
|
"django-auth-ldap~=4.8",
|
2023-03-22 11:36:44 -04:00
|
|
|
"django-markdownx~=4.0",
|
2022-02-14 12:44:42 -05:00
|
|
|
"django-recurrence~=1.11",
|
2023-09-07 10:54:59 -04:00
|
|
|
"django-widget-tweaks~=1.5",
|
2024-05-03 00:04:35 -04:00
|
|
|
"django-stubs-ext~=5.0",
|
2024-07-18 10:40:28 -04:00
|
|
|
"markdownify~=0.13",
|
2022-02-14 11:05:35 -05:00
|
|
|
"mdformat~=0.7",
|
2024-09-03 11:08:58 -04:00
|
|
|
"mdformat-tables~=1.0",
|
2024-02-28 17:26:50 -05:00
|
|
|
"django-autocomplete-light~=3.11",
|
2024-06-27 14:32:08 -04:00
|
|
|
"weasyprint~=62.3",
|
2024-06-05 10:18:25 -04:00
|
|
|
"requests~=2.32",
|
2023-04-03 10:53:29 -04:00
|
|
|
"semver~=3.0",
|
2024-03-29 12:01:08 -04:00
|
|
|
"djangorestframework~=3.15",
|
2023-11-20 00:40:18 -05:00
|
|
|
"django-q2~=1.6",
|
2024-08-14 12:00:32 -04:00
|
|
|
"lxml~=5.3",
|
2023-11-08 12:37:06 -05:00
|
|
|
"django-object-actions~=4.2",
|
2024-04-29 22:38:10 -04:00
|
|
|
"bitstring~=4.2",
|
2023-12-04 11:27:04 -05:00
|
|
|
"udm-rest-client~=1.2",
|
|
|
|
"openapi-client-udm~=1.0",
|
2023-12-30 12:21:33 -05:00
|
|
|
"django-nh3~=0.1",
|
|
|
|
"nh3~=0.2",
|
2024-01-22 12:33:10 -05:00
|
|
|
"django-tables2~=2.7",
|
2024-03-29 12:01:08 -04:00
|
|
|
"tablib[ods,xlsx]~=3.6",
|
2024-07-29 16:50:56 -04:00
|
|
|
"django-filter~=24.3",
|
2024-01-31 20:18:46 -05:00
|
|
|
"django-db-views~=0.1",
|
2024-04-14 01:21:32 -04:00
|
|
|
"django-weasyprint~=2.3",
|
|
|
|
"django-sendfile2~=0.7",
|
2024-04-29 22:38:10 -04:00
|
|
|
"django-bootstrap5~=24.2",
|
2024-04-30 00:36:04 -04:00
|
|
|
"django-configurations[database,email]~=2.5",
|
2024-07-22 19:02:17 -04:00
|
|
|
"django-vite~=3.0",
|
2024-08-16 17:56:57 -04:00
|
|
|
"django-template-partials~=24.4",
|
2024-09-07 11:21:01 -04:00
|
|
|
"google-api-python-client~=2.144",
|
2024-08-05 22:08:06 -04:00
|
|
|
"google-auth-oauthlib~=1.2",
|
2024-09-07 11:21:01 -04:00
|
|
|
"django-model-utils~=5.0",
|
2024-08-26 23:45:39 -04:00
|
|
|
"psycopg[binary,pool]~=3.2",
|
2024-08-28 15:10:13 -04:00
|
|
|
"django-simple-history~=3.7",
|
2024-08-30 11:49:21 -04:00
|
|
|
"django-postgres-metrics~=0.15",
|
2022-02-11 23:52:31 -05:00
|
|
|
]
|
2023-12-04 11:38:32 -05:00
|
|
|
requires-python = ">=3.11"
|
2022-02-11 23:52:31 -05:00
|
|
|
|
|
|
|
[project.optional-dependencies]
|
2022-02-15 16:33:45 -05:00
|
|
|
server = [
|
2024-06-05 10:18:25 -04:00
|
|
|
"uvicorn[standard]~=0.30",
|
2024-09-03 11:08:58 -04:00
|
|
|
"setuptools~=74.1",
|
2022-02-15 16:33:45 -05:00
|
|
|
]
|
2022-02-11 23:52:31 -05:00
|
|
|
|
2023-11-14 13:52:55 -05:00
|
|
|
[project.entry-points."djangoq.errorreporters"]
|
|
|
|
admin_email = "cmsmanage.django_q2_admin_email_reporter:AdminEmailReporter"
|
|
|
|
|
2024-01-17 21:17:24 -05:00
|
|
|
[tool.ruff]
|
2023-09-07 10:55:08 -04:00
|
|
|
line-length = 88
|
2024-02-02 01:25:28 -05:00
|
|
|
|
|
|
|
[tool.ruff.lint]
|
2024-08-07 13:58:54 -04:00
|
|
|
select = [
|
|
|
|
"E4",
|
|
|
|
"E7",
|
|
|
|
"E9",
|
|
|
|
"F",
|
|
|
|
"I",
|
|
|
|
"C4",
|
|
|
|
"UP",
|
|
|
|
"PERF",
|
|
|
|
"PL",
|
|
|
|
"SIM",
|
|
|
|
"FIX003",
|
|
|
|
"DJ012",
|
|
|
|
"A",
|
|
|
|
"INP",
|
|
|
|
"ISC",
|
|
|
|
"Q",
|
|
|
|
"PIE",
|
|
|
|
"LOG",
|
|
|
|
"RSE",
|
2024-08-07 14:09:42 -04:00
|
|
|
"TCH",
|
2024-08-07 14:18:05 -04:00
|
|
|
"PTH",
|
|
|
|
"FURB",
|
2024-08-07 14:29:52 -04:00
|
|
|
"B",
|
2024-08-07 13:58:54 -04:00
|
|
|
]
|
2024-08-07 13:53:37 -04:00
|
|
|
ignore = ["ISC001"]
|
2024-01-17 21:17:24 -05:00
|
|
|
|
|
|
|
[tool.ruff.lint.isort]
|
|
|
|
known-first-party = [
|
|
|
|
"cmsmanage",
|
|
|
|
"dashboard",
|
|
|
|
"doorcontrol",
|
|
|
|
"membershipworks",
|
|
|
|
"paperwork",
|
|
|
|
"rentals",
|
2024-08-15 10:52:58 -04:00
|
|
|
"reservations",
|
2024-01-17 21:17:24 -05:00
|
|
|
"tasks",
|
|
|
|
]
|
|
|
|
section-order = ["future", "standard-library", "django", "third-party", "first-party", "local-folder"]
|
|
|
|
|
|
|
|
[tool.ruff.lint.isort.sections]
|
|
|
|
"django" = ["django"]
|
2023-09-07 10:55:08 -04:00
|
|
|
|
2022-01-23 23:03:08 -05:00
|
|
|
[tool.djlint]
|
2022-02-16 22:44:54 -05:00
|
|
|
profile="django"
|
2022-01-23 23:03:08 -05:00
|
|
|
extension = ".dj.html"
|
|
|
|
indent = 2
|
|
|
|
blank_line_after_tag = "load,extends"
|
2024-01-26 14:13:46 -05:00
|
|
|
max_blank_lines = 1
|
2022-02-16 22:44:54 -05:00
|
|
|
ignore = "T003,H017,H021,H030,H031"
|
2024-08-05 22:08:06 -04:00
|
|
|
custom_blocks = "partialdef"
|
2022-11-07 12:48:57 -05:00
|
|
|
format_css = true
|
|
|
|
format_js = true
|
|
|
|
|
|
|
|
[tool.djlint.css]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[tool.djlint.js]
|
|
|
|
indent_size = 2
|
|
|
|
|
2022-12-13 13:30:37 -05:00
|
|
|
[tool.mypy]
|
2023-02-02 22:33:13 -05:00
|
|
|
plugins = [
|
2024-05-03 00:12:47 -04:00
|
|
|
"./cmsmanage/mypy_django_configurations_plugin.py",
|
2023-02-02 22:33:13 -05:00
|
|
|
"mypy_django_plugin.main",
|
|
|
|
"mypy_drf_plugin.main",
|
|
|
|
]
|
2022-12-13 13:30:37 -05:00
|
|
|
|
|
|
|
[tool.django-stubs]
|
2024-05-03 00:12:47 -04:00
|
|
|
django_settings_module = "cmsmanage.settings"
|
|
|
|
strict_settings = false
|
2022-02-14 12:44:42 -05:00
|
|
|
|
2024-09-05 00:57:22 -04:00
|
|
|
[tool.coverage.run]
|
|
|
|
source = [
|
|
|
|
"cmsmanage",
|
|
|
|
"dashboard",
|
|
|
|
"doorcontrol",
|
|
|
|
"membershipworks",
|
|
|
|
"paperwork",
|
|
|
|
"rentals",
|
|
|
|
"reservations",
|
|
|
|
]
|
|
|
|
omit = [
|
|
|
|
"*/migrations/*",
|
|
|
|
]
|
|
|
|
|
2022-02-11 23:52:31 -05:00
|
|
|
[[tool.pdm.source]]
|
|
|
|
url = "https://pypi.org/simple"
|
|
|
|
verify_ssl = true
|
|
|
|
name = "pypi"
|
|
|
|
|
2023-12-04 11:27:04 -05:00
|
|
|
[[tool.pdm.source]]
|
|
|
|
url = "https://git.claremontmakerspace.org/api/packages/CMS/pypi/simple"
|
|
|
|
verify_ssl = true
|
|
|
|
name = "CMS"
|
|
|
|
include_packages = ["openapi-client-udm"]
|
|
|
|
|
2022-02-11 23:52:31 -05:00
|
|
|
[tool.pdm.dev-dependencies]
|
|
|
|
lint = [
|
2024-09-03 11:08:58 -04:00
|
|
|
"djlint~=1.35",
|
2024-08-14 12:00:32 -04:00
|
|
|
"ruff~=0.6",
|
2022-02-11 23:52:31 -05:00
|
|
|
]
|
2022-12-13 13:30:37 -05:00
|
|
|
typing = [
|
2024-05-03 00:04:35 -04:00
|
|
|
"mypy~=1.10",
|
|
|
|
"django-stubs~=5.0",
|
2024-09-03 11:08:58 -04:00
|
|
|
"setuptools~=74.1",
|
2023-11-20 00:40:18 -05:00
|
|
|
"types-bleach~=6.1",
|
2024-06-05 10:18:25 -04:00
|
|
|
"types-requests~=2.32",
|
2023-03-22 11:36:44 -04:00
|
|
|
"types-urllib3~=1.26",
|
2024-05-03 00:04:35 -04:00
|
|
|
"djangorestframework-stubs[compatible-mypy]~=3.15",
|
2024-09-03 11:08:58 -04:00
|
|
|
"types-Markdown~=3.7",
|
2024-05-08 12:32:49 -04:00
|
|
|
"types-Pygments~=2.18",
|
2024-05-04 16:38:51 -04:00
|
|
|
"types-psycopg2~=2.9",
|
2024-08-07 13:17:22 -04:00
|
|
|
"types-lxml~=2024.8",
|
2024-08-21 12:28:32 -04:00
|
|
|
"google-api-python-client-stubs~=1.27",
|
|
|
|
"types-python-dateutil~=2.9",
|
2022-12-13 13:30:37 -05:00
|
|
|
]
|
2022-02-16 21:56:52 -05:00
|
|
|
debug = [
|
2024-06-05 10:18:25 -04:00
|
|
|
"django-debug-toolbar~=4.4",
|
2022-02-16 21:56:52 -05:00
|
|
|
]
|
2023-11-09 13:01:47 -05:00
|
|
|
dev = [
|
|
|
|
"django-extensions~=3.2",
|
2024-09-03 11:08:58 -04:00
|
|
|
"ipython~=8.27",
|
2024-09-07 11:21:01 -04:00
|
|
|
"hypothesis[django]~=6.112",
|
2024-02-16 11:11:13 -05:00
|
|
|
"tblib~=3.0",
|
2024-09-05 00:57:22 -04:00
|
|
|
"coverage~=7.6",
|
2023-11-09 13:01:47 -05:00
|
|
|
]
|
2022-02-11 23:52:31 -05:00
|
|
|
|
|
|
|
[tool.pdm.scripts]
|
|
|
|
start = "./manage.py runserver"
|
2024-03-08 16:10:33 -05:00
|
|
|
fmt.shell = "ruff check --fix ; ruff format . ; djlint --reformat ."
|
2022-02-11 23:52:31 -05:00
|
|
|
|
|
|
|
[build-system]
|
2023-09-05 18:09:22 -04:00
|
|
|
requires = ["pdm-backend"]
|
|
|
|
build-backend = "pdm.backend"
|