@@ -6,30 +6,30 @@ build-backend = "setuptools.build_meta"
66name = " firebase_functions"
77description = " Firebase Functions Python SDK"
88readme = " README.md"
9- license = {text = " Apache-2.0" }
10- authors = [
11- {name = " Firebase Team" }
12- ]
9+ license = " Apache-2.0"
10+ authors = [{ name = " Firebase Team" }]
1311keywords = [" firebase" , " functions" , " google" , " cloud" ]
1412classifiers = [
15- " Development Status :: 4 - Beta" ,
16- " Intended Audience :: Developers" ,
17- " Topic :: Software Development :: Build Tools" ,
18- " Programming Language :: Python :: 3.10" ,
19- " Programming Language :: Python :: 3.11" ,
13+ " Development Status :: 4 - Beta" ,
14+ " Intended Audience :: Developers" ,
15+ " Topic :: Software Development :: Build Tools" ,
16+ " Programming Language :: Python :: 3.10" ,
17+ " Programming Language :: Python :: 3.11" ,
18+ " Programming Language :: Python :: 3.12" ,
19+ " Programming Language :: Python :: 3.13" ,
2020]
2121requires-python = " >=3.10"
2222dependencies = [
23- " flask>=2.1.2" ,
24- " functions-framework>=3.0.0" ,
25- " firebase-admin>=6.0.0" ,
26- " pyyaml>=6.0" ,
27- " typing-extensions>=4.4.0" ,
28- " cloudevents>=1.2.0,<2.0.0" ,
29- " flask-cors>=3.0.10" ,
30- " pyjwt[crypto]>=2.5.0" ,
31- " google-events==0.5.0" ,
32- " google-cloud-firestore>=2.11.0" ,
23+ " flask>=2.1.2" ,
24+ " functions-framework>=3.0.0" ,
25+ " firebase-admin>=6.0.0" ,
26+ " pyyaml>=6.0" ,
27+ " typing-extensions>=4.4.0" ,
28+ " cloudevents>=1.2.0,<2.0.0" ,
29+ " flask-cors>=3.0.10" ,
30+ " pyjwt[crypto]>=2.5.0" ,
31+ " google-events==0.5.0" ,
32+ " google-cloud-firestore>=2.11.0" ,
3333]
3434dynamic = [" version" ]
3535
@@ -41,43 +41,38 @@ dynamic = ["version"]
4141
4242[dependency-groups ]
4343dev = [
44- " pytest>=7.1.2,<9" ,
45- " setuptools>=63.4.2" ,
46- " pytest-cov>=3.0.0" ,
47- " mypy>=1.0.0" ,
48- " sphinx>=6.1.3" ,
49- " sphinxcontrib-napoleon>=0.7" ,
50- " toml>=0.10.2" ,
51- " google-cloud-tasks>=2.13.1" ,
52- " ruff>=0.1.0" ,
53- " build>=1.0.0" ,
44+ " pytest>=7.1.2,<9" ,
45+ " setuptools>=63.4.2" ,
46+ " pytest-cov>=3.0.0" ,
47+ " mypy>=1.0.0" ,
48+ " sphinx>=6.1.3" ,
49+ " sphinxcontrib-napoleon>=0.7" ,
50+ " toml>=0.10.2" ,
51+ " google-cloud-tasks>=2.13.1" ,
52+ " ruff>=0.1.0" ,
53+ " build>=1.0.0" ,
5454]
5555
5656[tool .setuptools ]
57- package-dir = {"" = " src" }
58- packages = [" firebase_functions" ]
57+ package-dir = { "" = " src" }
58+ [tool .setuptools .packages .find ]
59+ where = [" src" ]
5960
6061[tool .setuptools .package-data ]
6162firebase_functions = [" py.typed" ]
6263
6364[tool .setuptools .dynamic ]
64- version = {attr = " firebase_functions.__version__" }
65+ version = { attr = " firebase_functions.__version__" }
6566
6667[tool .pytest .ini_options ]
67- pythonpath = [
68- " ." , " src/" ,
69- ]
68+ pythonpath = [" ." , " src/" ]
7069
7170[tool .coverage ]
72- [tool .coverage .run ]
73- omit = [
74- ' __init__.py' ,
75- ' tests/*' ,
76- ' */tests/*' ,
77- ]
71+ [tool .coverage .run ]
72+ omit = [' __init__.py' , ' tests/*' , ' */tests/*' ]
7873
79- [tool .coverage .report ]
80- skip_empty = true
74+ [tool .coverage .report ]
75+ skip_empty = true
8176
8277[tool .ruff ]
8378target-version = " py310"
@@ -86,27 +81,28 @@ indent-width = 4
8681
8782[tool .ruff .lint ]
8883select = [
89- " E" , # pycodestyle errors
90- " W" , # pycodestyle warnings
91- " F" , # pyflakes
92- " I" , # isort
93- " UP" , # pyupgrade
94- " B" , # flake8-bugbear
95- " C4" , # flake8-comprehensions
96- " PL" , # pylint
84+ " E" , # pycodestyle errors
85+ " W" , # pycodestyle warnings
86+ " F" , # pyflakes
87+ " I" , # isort
88+ " UP" , # pyupgrade
89+ " B" , # flake8-bugbear
90+ " C4" , # flake8-comprehensions
91+ " PL" , # pylint
9792]
9893ignore = [
99- " PLR0913" , # Too many arguments
100- " PLR0912" , # Too many branches
101- " PLR0915" , # Too many statements
102- " PLR2004" , # Magic value used in comparison
103- " PLW0603" , # Using the global statement
104- " PLC0415" , # Import outside toplevel
105- " E501" , # Line too long (handled by formatter)
94+ " PLR0913" , # Too many arguments
95+ " PLR0912" , # Too many branches
96+ " PLR0915" , # Too many statements
97+ " PLR2004" , # Magic value used in comparison
98+ " PLW0603" , # Using the global statement
99+ " PLC0415" , # Import outside toplevel
100+ " E501" , # Line too long (handled by formatter)
106101]
107102
108103[tool .ruff .format ]
109104quote-style = " double"
110105indent-style = " space"
111106skip-magic-trailing-comma = false
112- line-ending = " auto"
107+ line-ending = " auto"
108+
0 commit comments