Skip to content

Commit 39e1f22

Browse files
author
patrick
committed
fix build error
1 parent e2bfb0f commit 39e1f22

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

pyproject.toml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,13 @@ keywords = [
2222
"pydantic",
2323
"easy settings management",
2424
"dynaconf",
25-
"dotenv"
25+
"dotenv",
2626
]
2727
license = { text = "UNDEFINED" }
2828
name = "qpyconf"
2929
readme = "README.md"
3030
requires-python = ">=3.11"
31-
dependencies = [
32-
"dynaconf>=3.2.5",
33-
"pydantic>=2.7.4",
34-
]
31+
dependencies = ["dynaconf>=3.2.5", "pydantic>=2.7.4"]
3532

3633
[project.urls]
3734
issue = "https://github.com/fluent-qa/qpyconf/issues"
@@ -91,18 +88,18 @@ distribution = true
9188
include = ["src"]
9289
[tool.pdm.build]
9390
includes = ["src"]
94-
source-includes = ["src/", "tests/","scripts/"]
95-
package-dir = "qpyconf"
91+
source-includes = ["src/", "tests/", "scripts/"]
9692

9793
[tool.pdm.scripts]
98-
lint = "ruff ."
94+
lint = "ruff check --fix"
9995
fmt = "ruff format . --check"
10096
test = "pytest --cov-report term --cov=qpyconf tests/"
10197
cov_report = "pytest --cov-report html --cov=qpyconf tests/"
10298
cov_badge = "coverage-badge -f -o coverage.svg"
10399
docs = "mkdocs serve"
104100
docs-deploy = "mkdocs gh-deploy --force"
105101
cleanup = "sh scripts/cleanup.sh"
102+
purge = "sh scripts/cleanup.sh && rm -rf .venv/"
106103
build = "pdm build"
107104

108105

@@ -111,10 +108,10 @@ lint = ["ruff>=0.4.9"]
111108
test = ["pytest-cov>=5.0.0", "pytest>=8.2.2"]
112109

113110

114-
# [[tool.pdm.source]]
115-
# name = "mirrors"
116-
# url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
111+
[[tool.pdm.source]]
112+
name = "mirrors"
113+
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
117114

118-
# [[tool.pdm.source]]
119-
# name = "douban"
120-
# url = "https://pypi.doubanio.com/simple/"
115+
[[tool.pdm.source]]
116+
name = "douban"
117+
url = "https://pypi.doubanio.com/simple/"

0 commit comments

Comments
 (0)