-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
executable file
·99 lines (87 loc) · 2.09 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[project]
name = "flask-blueprints-loader"
version = "0.1.1"
description = "Automatically discover and register Flask blueprints"
keywords = [
"Flask",
"blueprint",
"extension",
"loader",
"import",
"auto-load",
"auto-import",
"web framework",
"Python"
]
authors = [{name = "curskey", email = "curskey@proton.me"}]
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.10"
classifiers = [
"Framework :: Flask",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
]
dependencies = [
"flask>=3.0",
]
[project.optional-dependencies]
develop = [
"pre-commit>=3.6",
"pytest>=7.4",
"pytest-cov>=4.1",
]
[project.urls]
Home = "https://github.com/curskey/flask-blueprints-loader"
Source = "https://github.com/curskey/flask-blueprints-loader"
Issue = "https://github.com/curskey/flask-blueprints-loader/issues/"
[tool.flit.module]
name = "flask_blueprints_loader"
[tool.flit.sdist]
include = [
"README.md",
"CHANGES.md"
]
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.ruff]
src = ["src", "tests"]
target-version = "py310"
fix = true
show-fixes = true
show-source = true
line-length = 100
ignore = ['E501', 'S101']
extend-select = ['C4', 'I', 'N', 'PT', 'RUF', 'S', 'SIM', 'TCH', 'TID', 'UP']
[tool.mypy]
python_version = "3.10"
files = ["src/flask_blueprints_loader"]
pretty = true
allow_redefinition = true
strict_equality = true
warn_no_return = false
ignore_missing_imports = true
disable_error_code = "union-attr"
[tool.pytest.ini_options]
minversion = "7.0"
pythonpath = ["src"]
testpaths = ["tests"]
filterwarnings = ["error"]
addopts = [
"-ra",
"--cov",
]
[tool.coverage.run]
branch = true
source = ["src"]
[build-system]
requires = ["flit_core<4"]
build-backend = "flit_core.buildapi"