-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
78 lines (71 loc) · 2.21 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
[project]
name = "django-rest-framework-client"
version = "v0.11.2"
description = "Python client for a DjangoRestFramework based web site"
authors = [
{name = "David Karchmer", email = "[email protected]"},
]
dependencies = [
"requests",
]
requires-python = ">=3.10,<4"
readme = "README.md"
license = {text = "MIT"}
keywords = ["django", "djangorestframework", "drf", "rest-client"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.urls]
Homepage = "https://github.com/dkarchmer/django-rest-framework-client"
Repository = "https://github.com/dkarchmer/django-rest-framework-client"
[project.optional-dependencies]
dev = [
"pytest>=8.3.2",
"ruff>=0.5.5",
"coverage>=7.6.0",
"mock>=5.1.0",
"requests-mock>=1.12.1",
"pre-commit>=3.7.1",
"setuptools>=71.1.0",
"twine>=5.1.1",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.scripts]
test = "pytest"
lint = "ruff check"
[tool.ruff]
line-length = 120
preview = true
target-version = "py312"
[too.ruff.lint]
select = ["ALL"]
ignore = [
# The following rules may cause conflicts when used with the ruff formatter and should be disabled:
"COM812", "ISC001",
"CPY001",
"S",
"PT", # pytest
"ARG002", # unsused argument (false positives in overriden methods)
"E203", # Whitespace before ':' conflicts with black
"PLR0914", # Too many variables
"PLR6301", # Method `perform_update` could be a function or static method (false positives in overidden methods)
"RUF012", # Too many issues with DRF classes and Django
"ANN101", # Self
"ANN002", # *args
"ANN003", # **kwargs
"D203", "D212", # D203 and D211, D212 and D213 are mutually exclusive
]
namespace-packages = ["scripts", "scripts/docker"]