-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
69 lines (61 loc) · 1.73 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
[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry]
name = "django-readonly-field"
version = "0.0.0"
description = "Make Django model fields readonly"
authors = ["Joachim Jablon <[email protected]>"]
maintainers = ["Sofien Ben Ayed <[email protected]>"]
license = "MIT"
readme = "README.rst"
repository = "https://github.com/botify-labs/django-readonly-field"
documentation = "https://django-readonly-field.readthedocs.io/en/latest/"
keywords = ["django", "posgresql", "read-only"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
]
[tool.poetry.dependencies]
python = "^3.8"
django = "*"
[tool.poetry.group.dev.dependencies]
build = "*"
dj-database-url = "*"
flake8 = "*"
psycopg2-binary = "*"
pytest = "*"
pytest-cov = "*"
pytest-django = "*"
requests = "*"
Sphinx = "*"
tox = "*"
twine = "*"
[tool.poetry-dynamic-versioning]
enable = true
pattern = '(?P<base>\d+\.\d+\.\d+)'
[tool.isort]
profile = "black"
[tool.doc8]
max-line-length = 88
ignore-path = "docs/_build"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.readonly_project.settings"
addopts = """
--cov-report term-missing --cov-branch --cov-report html --cov-report term \
--cov=django_readonly_field -vv --strict-markers -rfE -s
"""
testpaths = ["tests/"]
filterwarnings = [
"error",
"ignore:.*distutils Version classes are deprecated.*:DeprecationWarning",
"ignore:.*_SixMetaPathImporter",
"ignore:.*cgi",
]
[tool.coverage.run]
relative_files = true