-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
135 lines (117 loc) · 3.97 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
[build-system]
requires = ['setuptools>=64', 'setuptools-scm>=8']
build-backend = 'setuptools.build_meta'
[project]
name = 'django-logikal'
description = 'Django utilities used at Logikal'
readme = 'README.rst'
requires-python = '~= 3.12'
license = {file = 'LICENSE.txt'}
authors = [{name = 'Logikal GmbH', email = '[email protected]'}]
keywords = ['python', 'django']
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.12',
'Framework :: Django',
'Framework :: Django :: 5',
'Topic :: Software Development',
'Topic :: Utilities',
'Typing :: Typed',
]
dynamic = ['version', 'dependencies', 'optional-dependencies']
[project.scripts]
run = 'django_logikal.run:main'
manage = 'django_logikal.manage:main'
[project.urls]
'Documentation' = 'https://docs.logikal.io/django-logikal/'
'Release notes' = 'https://github.com/logikal-io/django-logikal/releases'
'Issue tracker' = 'https://github.com/logikal-io/django-logikal/issues'
'Source code' = 'https://github.com/logikal-io/django-logikal'
[tool.setuptools.dynamic]
dependencies = {file = 'requirements/core.txt'}
[tool.setuptools.dynamic.optional-dependencies]
static = {file = 'requirements/extras/static.txt'}
dynamic = {file = 'requirements/extras/dynamic.txt'}
rest = {file = 'requirements/extras/rest.txt'}
bibliography = {file = 'requirements/extras/bibliography.txt'}
[tool.setuptools]
packages = [
'django_logikal',
'django_logikal.babel',
'django_logikal.management',
'django_logikal.management.commands',
'django_logikal.migration',
'django_logikal.migration.operations',
'django_logikal.settings',
'django_logikal.settings.common',
'django_logikal.settings.dynamic_site',
'django_logikal.settings.static_site',
'django_logikal.static.django_logikal',
'django_logikal.static.django_logikal.fonts',
'django_logikal.templates',
'django_logikal.templates.admin',
'django_logikal.templates.debug_toolbar',
'django_logikal.templates.django_logikal',
'django_logikal.templates.django_logikal.email',
'django_logikal.templates.rest_framework',
]
[tool.setuptools_scm]
[tool.pytest.ini_options]
addopts = '--ignore=static'
filterwarnings = [
'error',
# See https://github.com/googleapis/python-crc32c/issues/168
'ignore:pkg_resources is deprecated as an API:DeprecationWarning',
# See https://github.com/googleapis/api-common-protos/issues/121
"ignore:Deprecated call to `pkg_resources.declare_namespace\\('google:DeprecationWarning",
"ignore:Deprecated call to `pkg_resources.declare_namespace\\('sphinxcontrib:DeprecationWarning",
# Can be removed with the next release of django-migration-linter
"ignore:unclosed file .* name='/dev/null':ResourceWarning",
# Caused by pybtex
'ignore:open_text is deprecated:DeprecationWarning',
]
DJANGO_SETTINGS_MODULE = 'tests.dynamic_site.settings.testing'
[tool.django_logikal]
DJANGO_SETTINGS_MODULE = 'tests.dynamic_site.settings.dev'
[tool.django_logikal.run]
default_address_port = '127.0.0.1:8000'
[tool.django_logikal.translate]
apps = ['dynamic_site']
contact = 'Gergely Kalmár <[email protected]>'
[tool.docs]
parallel = false # parallel builds do not work with automatic docker compose service starting
[tool.browser.versions]
chrome = '130.0.6723.69'
[tool.mypy]
plugins = ['mypy_django_plugin.main']
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
'antimarkdown.*',
'anymail.message',
'debug_toolbar',
'django_distill',
'django_migration_linter',
'docker.*',
'factory.*',
'markdownify',
'premailer',
'pybtex.*',
'robots.*',
'rest_framework.*',
]
[tool.coverage.report]
exclude_lines = [
'pragma: no cover',
'\.\.\.', # exclude abstract methods
'except ImportError:', # exclude import guard
]
[tool.pylint.BASIC]
good-names = ['rf', 'to', 'cc']
[tool.stormware]
organization = 'logikal.io'
project = 'django'