-
Notifications
You must be signed in to change notification settings - Fork 175
/
Copy pathpyproject.toml
91 lines (81 loc) · 2.15 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "Flask-PyMongo"
dynamic = ["version"]
description = "PyMongo support for Flask applications"
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.9"
authors = [
{ name = "Dan Crosta", email = "dcrosta@late.am" },
]
classifiers = [
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"Flask>=3.0",
"PyMongo>=4.0",
]
[project.urls]
Download = "https://github.com/mongodb-labs/flask-pymongo/tags"
Homepage = "http://flask-pymongo.readthedocs.org/"
[dependency-groups]
dev = [
"markdown2>=2.5.2",
"mypy>=1.14.1",
"pre-commit>=4.0.1",
"pytest>=8.3.4",
"sphinx>=7.4.7",
]
[tool.hatch.version]
path = "flask_pymongo/_version.py"
[tool.hatch.build.targets.sdist]
include = [
"/flask_pymongo",
]
[tool.pytest.ini_options]
minversion = "8.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = ["error"]
log_cli_level = "info"
testpaths = [
"tests",
]
[tool.mypy]
python_version = "3.9"
strict = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
[[tool.mypy.overrides]]
module = ["tests.*"]
disable_error_code = ["no-untyped-def", "no-untyped-call"]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"I", # isort
]
unfixable = [
"RUF100", # Unused noqa
"T20", # Removes print statements
"F401", # Unused imports
]