File: pyproject.toml

package info (click to toggle)
python-djangorestframework-yaml 3.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 268 kB
  • sloc: python: 483; makefile: 11
file content (104 lines) | stat: -rw-r--r-- 2,450 bytes parent folder | download
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
[tool.poetry]
name = "rest-framework-yaml"
version = "3.0.1"
description = "YAML support for Django REST Framework"
authors = [
    "José Padilla <hello@jpadilla.com>",
    "Xavier Francisco <xavier.n.francisco@gmail.com>",
]
license = "BSD"
readme = "README.md"
homepage = "https://github.com/Qu4tro/drf-yaml"
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Environment :: Web Environment",
    "Framework :: Django",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: BSD License",
    "Operating System :: OS Independent",
    "Natural Language :: English",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Topic :: Internet :: WWW/HTTP",
]
packages = [{include = "rest_framework_yaml"}]


[tool.poetry.dependencies]
python = "^3.8"
PyYAML = ">=5.1"

[tool.poetry.group.dev.dependencies]
django = "^4.2"
djangorestframework = "^3.14.0"
tox = "^4.5.1"
pre-commit = "^3.2.2"
mypy = "^1.2.0"
pytest = "^7.3.1"
pytest-cov = "^4.0.0"
pytest-sugar = "^0.9.7"
djangorestframework-stubs = "^3.14.0"
django-stubs = "^4.2.0"
types-pyyaml = "^6.0.12.9"
toml = "^0.10.2"
bpython = "^0.24"
types-toml = "^0.10.8.6"

[tool.poetry.group.docs.dependencies]
mkdocs = "^1.4.2"
mkdocs-material = "^9.1.8"
mike = "^1.1.2"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.black]
target-version = ["py311"]

[tool.isort]
profile = "black"

[tool.mypy]
strict = true

[tool.ruff]
select = [
    "A" , "B", "C", "E", "D", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG",
    "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY",
    "PD", "PGH", "PIE", "PL", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH",
    "TID", "TRY", "UP", "YTT",
]
ignore = [
    "UP006", "UP007", "UP035",
    "ANN101", "ANN401",
    "D203", "D212",
]

[tool.ruff.flake8-builtins]
builtins-ignorelist = ['format']

[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = [
    "test_*.py",
    "_test_*.py",
]
addopts = "--verbose -rf -rE --durations=8"

[tool.coverage.run]
source = ["."]
branch = true
omit = []

[tool.coverage.report]
skip_covered = true
skip_empty = true
exclude_lines = [
  "# pragma: no cover",
  "NotImplementedError",
  "if __name__ == \"__main__\"",
]