-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (94 loc) · 2.45 KB
/
pyproject.toml
File metadata and controls
107 lines (94 loc) · 2.45 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "flask_inputfilter"
version = "0.3.0"
description = "A library to easily filter and validate input data in Flask applications"
readme = "README.rst"
requires-python = ">=3.7"
license = {text = "MIT"}
authors = [
{name = "Leander Cain Slotosch", email = "slotosch.leander@outlook.de"}
]
dependencies = [
"flask>=2.1",
"typing_extensions>=3.6.2",
]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.7",
]
[project.optional-dependencies]
dev = [
"autoflake",
"black",
"coverage",
"coveralls",
#"docformatter",
"flake8==5.0.4",
"flake8-pyproject==1.2.3",
"isort",
"pillow>=8.0.0",
"pytest",
"requests>=2.22.0",
"sphinx",
"sphinx-autobuild",
"sphinx_rtd_theme"
]
optional = [
"pillow>=8.0.0",
"requests>=2.22.0",
]
[project.urls]
Homepage = "https://github.com/LeanderCS/flask-inputfilter"
Documentation = "https://leandercs.github.io/flask-inputfilter"
Source = "https://github.com/LeanderCS/flask-inputfilter"
Issues = "https://github.com/LeanderCS/flask-inputfilter/issues"
[tool.setuptools.packages.find]
include = ["flask_inputfilter"]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning"
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37, py38, py39, py310, py311, py312, py313, py314
[testenv]
deps =
-renv_configs/requirements-{envname}.txt
install_command = {envbindir}/python -I -m pip install {opts} {packages}
commands =
pytest
"""
[tool.coverage.run]
source = ["flask_inputfilter"]
[tool.coverage.report]
omit = ["__init__.py", "setup.py", "*/tests/*"]
[tool.flake8]
exclude = ["__init__.py", "venv", "*.md", ".*"]
max-line-length = 79
[tool.black]
line-length = 79
[tool.isort]
profile = 'black'
line_length = 79
known_first_party = [
"flask_inputfilter/Condition/BaseCondition",
"flask_inputfilter/Filter/BaseFilter",
"flask_inputfilter/Validator/BaseValidator"
]
[tool.docformatter]
wrap-summaries = 79
wrap-descriptions = 79
recursive = true
in_place = true
pre_summary_newline = true