-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (70 loc) · 1.77 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (70 loc) · 1.77 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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=42", "wheel"]
[project]
authors = [
{name = "Konstantin Fadeev", email = "jredkiy@yandex.ru"}
]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3"
]
dependencies = [
'marshmallow>=4.3.0',
'PyYAML>=6.0.3'
]
description = "OpenAPI specification validator and converter to Marshmallow schemas."
license = "LGPL-2.1-only"
license-files = ["LICENSE.txt"]
name = "Schema-First"
readme = "README.md"
requires-python = ">=3.12"
version = "0.16.4"
[project.optional-dependencies]
dev = [
"bandit>=1.9.3",
"build>=1.4.0",
'openapi-spec-validator>=0.7.1',
"pre-commit>=4.6.2",
"pytest>=9.1.1",
"pytest-cov>=7.0.0",
"python-dotenv>=1.2.1",
"tox==4.59.0",
"twine==6.2.0"
]
[project.urls]
changelog = "https://github.com/flask-pro/schema-first/blob/master/CHANGES.md"
repository = "https://github.com/flask-pro/schema-first"
[tool.bandit]
exclude_dirs = ["tests", "venv"]
[tool.black]
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
^/foo.py # exclude a file named foo.py in the root of the project (in addition to the defaults)
'''
include = '\.pyi?$'
line-length = 100
skip-string-normalization = true
target-version = ['py312']
[tool.isort]
include_trailing_comma = true
line_length = 100
multi_line_output = 3
profile = "google"
split_on_trailing_comma = true
src_paths = ["src", "tests"]
[tool.setuptools.packages.find]
include = ["schema_first*"]
where = ["src"]
[tool.tox]
legacy_tox_ini = """
[tox]
env_list =
py314
py313
py312
[testenv]
extras = dev
commands = pytest -s -x --cov-report term-missing:skip-covered --cov=./src/schema_first tests/
"""