-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (64 loc) · 1.85 KB
/
pyproject.toml
File metadata and controls
74 lines (64 loc) · 1.85 KB
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
[build-system]
requires = ["setuptools>=42", "wheel>=0.37"]
build-backend = "setuptools.build_meta"
[project]
name = "drf-attachments"
version = "0.1.0"
description = "Django module to manage any model's file up-/downloads by relating an Attachment model to it."
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"django>=4.2,<6",
"djangorestframework>=3.15,<4",
"python-magic>=0.4.18",
"rest-framework-generic-relations>=2.0.0",
"django-filter>=25.2,<26",
"importlib-metadata>=8.5,<8.6",
"content-disposition>=1.2.0,<1.3.0",
]
[project.optional-dependencies]
dev = [
"coverage>=7.2,<7.4",
"twine>=3.4",
"pre-commit>=2.17.0,<2.18",
]
[project.urls]
Homepage = "https://github.com/anexia/drf-attachments"
Repository = "https://github.com/anexia/drf-attachments"
[tool.ruff]
line-length = 120
respect-gitignore = true
extend-exclude = [".venv", "__pycache__"]
show-fixes = true
[tool.ruff.format]
quote-style = "double"
[tool.ruff.lint]
select = ["A", "B", "C", "E", "F", "I", "W", "T20", "LOG", "UP", "RUF010", "RUF019"]
ignore = ["E203", "E266", "E501", "F403", "F405"]
[tool.ruff.lint.isort]
known-first-party = ["drf-attachment"]
section-order = [
"future",
"standard-library",
"django",
"djangorestframework",
"third-party",
"first-party",
"local-folder",
]
[tool.ruff.lint.isort.sections]
"django" = ["django"]
"djangorestframework" = ["rest_framework"]
[tool.ruff.lint.per-file-ignores]
"apps.py" = ["F401"]