We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69f96c1 commit d2a633dCopy full SHA for d2a633d
pyproject.toml
@@ -73,6 +73,15 @@ dependencies = [
73
"ruff",
74
]
75
76
+[[tool.hatch.envs.default.matrix]]
77
+pydantic = ["v1", "v2"]
78
+
79
+[tool.hatch.envs.default.overrides]
80
+matrix.pydantic.extra-dependencies = [
81
+ {value = "pydantic<2.0", if = ["v1"]},
82
+ {value = "pydantic>=2.0", if = ["v2"]},
83
+]
84
85
[tool.hatch.envs.default.scripts]
86
test = "pytest --cov=fastapi_users/ --cov-report=term-missing --cov-fail-under=100"
87
test-cov-xml = "pytest --cov=fastapi_users/ --cov-report=xml --cov-fail-under=100"
0 commit comments