-
-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (111 loc) · 3.16 KB
/
pyproject.toml
File metadata and controls
127 lines (111 loc) · 3.16 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
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
[build-system]
requires = ["flit_core>=3.12.0", "flit_scm", "wheel"]
build-backend = "flit_scm:buildapi"
[project]
name = "django-s3file"
authors = [
{ name = "Johannes Maron", email = "johannes@maron.family" }
]
readme = "README.md"
license = { file = "LICENSE" }
dynamic = ["version", "description"]
classifiers = [
"Development Status :: 6 - Mature",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: JavaScript",
"Topic :: Software Development",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
]
requires-python = ">=3.11"
dependencies = [
"django>=5.2.13",
"django-storages>=1.14.6",
"boto3",
]
[dependency-groups]
dev = [
{ include-group = "test" },
]
test = [
"pytest >=9.0.3",
"pytest-cov",
"pytest-django",
"selenium",
]
[project.urls]
# https://packaging.python.org/en/latest/specifications/well-known-project-urls/#well-known-labels
Homepage = "https://github.com/codingjoe/django-s3file"
Changelog = "https://github.com/codingjoe/django-s3file/releases"
Source = "https://github.com/codingjoe/django-s3file"
Releasenotes = "https://github.com/codingjoe/django-s3file/releases/latest"
Documentation = "https://github.com/codingjoe/django-s3file?tab=readme-ov-file"
Issues = "https://github.com/codingjoe/django-s3file/issues"
Funding = "https://github.com/sponsors/codingjoe"
[tool.flit.module]
name = "s3file"
[tool.setuptools_scm]
write_to = "s3file/_version.py"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov --cov-report=xml --cov-report=term --tb=short -rxs"
testpaths = [
"tests",
]
DJANGO_SETTINGS_MODULE = "tests.testapp.settings"
[tool.coverage.run]
source = ["s3file"]
[tool.coverage.report]
show_missing = true
skip_covered = true
[tool.ruff]
src = ["s3file", "tests"]
line-length = 88
indent-width = 4
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
preview = true
[tool.ruff.lint]
select = [
"D", # pydocstyle
"E", # pycodestyle errors
"EXE", # flake8-executable
"F", # pyflakes
"I", # isort
"PGH", # pygrep-hooks
"PT", # flake8-pytest-style
"RET", # flake8-return
"S", # flake8-bandit
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # pycodestyle warnings
]
ignore = ["D1", "E501", "PT012"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S"]
[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
[tool.ruff.lint.isort]
combine-as-imports = true
split-on-trailing-comma = true
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
force-wrap-aliases = true
known-first-party = ["s3file", "tests"]
[tool.ruff.lint.pydocstyle]
convention = "pep257"