-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (72 loc) · 2.11 KB
/
pyproject.toml
File metadata and controls
80 lines (72 loc) · 2.11 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
[build-system]
requires = ['flit_core >=3.2,<4']
build-backend = 'flit_core.buildapi'
[project]
name = 'nested_diff_restful'
authors = [{name = 'Michael Samoglyadov', email = 'mixas.sr@gmail.com'}]
readme = 'README.md'
license = {file = 'LICENSE'}
keywords = ['api', 'diff', 'nested-diff', 'recursive-diff', 'rest']
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
dynamic = ['version', 'description']
dependencies = [
'flask',
'gunicorn',
'nested_diff>=1.3.2',
]
requires-python = '>=3.8'
scripts = { nested_diff_restful = 'nested_diff_restful:start_wsgi_server' }
[project.optional-dependencies]
test = [
'pytest',
'pytest-cov',
'pytest-ruff',
'ruff==0.9.1', # pin version for reproducible results
]
[project.urls]
Homepage = 'https://github.com/mr-mixas/Nested-Diff-RESTful'
Repository = 'https://github.com/mr-mixas/Nested-Diff-RESTful.git'
[tool.pytest.ini_options]
addopts = [
'--cov=nested_diff_restful',
'--cov-fail-under=97',
'--cov-report=term-missing',
'--doctest-modules',
'--no-cov-on-fail',
'--ruff',
'--ruff-format',
'--verbosity=2',
]
[tool.ruff]
line-length = 79
select = ['ALL']
ignore = [
'ANN', # type annotations
'D', # docstrings
'SIM105', # contextlib.suppress is slower than try-except-pass
]
[tool.ruff.extend-per-file-ignores]
'tests/*' = [
'E501', # long lines
'PLR2004', # hardcoded value used in comparison
'S101', # use of `assert`
]
[tool.ruff.format]
quote-style = 'single'
[tool.ruff.lint]
flake8-quotes.inline-quotes = 'single'
isort.lines-between-types = 1