@@ -12,9 +12,7 @@ readme = "README.md"
12
12
requires-python = " >=3.9"
13
13
license = " MIT"
14
14
keywords = [" react" , " javascript" , " reactpy" , " component" ]
15
- authors = [
16
- {
name =
" Ryan Morshead" ,
email =
" [email protected] " },
17
- ]
15
+ authors = [{
name =
" Ryan Morshead" ,
email =
" [email protected] " }]
18
16
classifiers = [
19
17
" Development Status :: 4 - Beta" ,
20
18
" Programming Language :: Python" ,
@@ -39,33 +37,18 @@ dependencies = [
39
37
[project .optional-dependencies ]
40
38
all = [" reactpy[starlette,sanic,fastapi,flask,tornado,testing]" ]
41
39
42
- starlette = [
43
- " starlette >=0.13.6" ,
44
- " uvicorn[standard] >=0.19.0" ,
45
- ]
40
+ starlette = [" starlette >=0.13.6" , " uvicorn[standard] >=0.19.0" ]
46
41
sanic = [
47
42
" sanic >=21" ,
48
43
" sanic-cors" ,
49
44
" tracerite>=1.1.1" ,
50
45
" setuptools" ,
51
46
" uvicorn[standard] >=0.19.0" ,
52
47
]
53
- fastapi = [
54
- " fastapi >=0.63.0" ,
55
- " uvicorn[standard] >=0.19.0" ,
56
- ]
57
- flask = [
58
- " flask" ,
59
- " markupsafe>=1.1.1,<2.1" ,
60
- " flask-cors" ,
61
- " flask-sock" ,
62
- ]
63
- tornado = [
64
- " tornado" ,
65
- ]
66
- testing = [
67
- " playwright" ,
68
- ]
48
+ fastapi = [" fastapi >=0.63.0" , " uvicorn[standard] >=0.19.0" ]
49
+ flask = [" flask" , " markupsafe>=1.1.1,<2.1" , " flask-cors" , " flask-sock" ]
50
+ tornado = [" tornado" ]
51
+ testing = [" playwright" ]
69
52
70
53
[project .urls ]
71
54
Source = " https://github.com/reactive-python/reactpy"
@@ -101,21 +84,17 @@ cov-report = [
101
84
# "- coverage combine",
102
85
" coverage report" ,
103
86
]
104
- cov = [
105
- " test-cov {args}" ,
106
- " cov-report" ,
107
- ]
87
+ cov = [" test-cov {args}" , " cov-report" ]
108
88
109
89
[tool .hatch .envs .default .env-vars ]
110
- REACTPY_DEBUG_MODE = " 1"
90
+ REACTPY_DEBUG_MODE = " 1"
111
91
112
92
[tool .hatch .envs .lint ]
113
93
features = [" all" ]
114
94
dependencies = [
115
- " mypy>=1.0.0 " ,
95
+ " mypy==1.8 " ,
116
96
" types-click" ,
117
97
" types-tornado" ,
118
- " types-pkg-resources" ,
119
98
" types-flask" ,
120
99
" types-requests" ,
121
100
]
@@ -127,13 +106,8 @@ all = ["types"]
127
106
[[tool .hatch .build .hooks .build-scripts .scripts ]]
128
107
work_dir = " ../../js"
129
108
out_dir = " reactpy/_static"
130
- commands = [
131
- " npm ci" ,
132
- " npm run build"
133
- ]
134
- artifacts = [
135
- " app/dist/"
136
- ]
109
+ commands = [" npm ci" , " npm run build" ]
110
+ artifacts = [" app/dist/" ]
137
111
138
112
# --- Pytest ---------------------------------------------------------------------------
139
113
@@ -159,9 +133,7 @@ warn_unused_ignores = true
159
133
source_pkgs = [" reactpy" ]
160
134
branch = false
161
135
parallel = false
162
- omit = [
163
- " reactpy/__init__.py" ,
164
- ]
136
+ omit = [" reactpy/__init__.py" ]
165
137
166
138
[tool .coverage .report ]
167
139
fail_under = 100
@@ -174,6 +146,4 @@ exclude_lines = [
174
146
" if __name__ == .__main__.:" ,
175
147
" if TYPE_CHECKING:" ,
176
148
]
177
- omit = [
178
- " reactpy/__main__.py" ,
179
- ]
149
+ omit = [" reactpy/__main__.py" ]
0 commit comments