-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
82 lines (73 loc) · 2.11 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "flask-starter"
version = "1.0.0"
description = "A flask extension which contains a basic app and is configured in your local machine through a command line utility"
readme = "README.rst"
authors = [
{ name = "Prince Roshan", email = "princekrroshan01@gmail.com" }
]
license = { text = "MIT" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"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",
"Operating System :: OS Independent",
]
requires-python = ">=3.8"
dependencies = [
"flask>=3.0.0",
"flask-sqlalchemy>=3.1.0",
"flask-login>=0.6.3",
"flask-admin>=1.6.1",
"flask-wtf>=1.2.1",
"requests>=2.31.0",
"httplib2>=0.22.0",
"click>=8.1.7",
"rich>=13.7.0",
"gunicorn>=21.2.0",
]
[project.urls]
Homepage = "https://github.com/princekrroshan01/flask-starter"
Documentation = "https://github.com/princekrroshan01/flask-starter#readme"
Repository = "https://github.com/princekrroshan01/flask-starter.git"
Issues = "https://github.com/princekrroshan01/flask-starter/issues"
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"black>=24.1.0",
"isort>=5.13.0",
"flake8>=7.0.0",
"tox>=4.11.0",
]
[project.scripts]
flask-starter-project = "script:cli"
[tool.hatch.build.targets.wheel]
packages = ["."]
[tool.black]
line-length = 88
target-version = ['py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
[tool.flake8]
max-line-length = 88
extend-ignore = "E203"
exclude = [".git", "__pycache__", "build", "dist"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_functions = "test_*"
python_classes = "Test*"
addopts = "--cov=app --cov-report=term-missing"