Skip to content

Commit 6a50152

Browse files
committed
fix: Update setuptools requirement and remove duplicate coverage config
- Bump setuptools>=64.0.0 (required for PEP 660 editable installs) - Remove [tool.coverage] section - .coveragerc is single source of truth
1 parent f797db3 commit 6a50152

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

pyproject.toml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Build System Configuration
33
# =============================================================================
44
[build-system]
5-
requires = ["setuptools>=61.0", "wheel", "pybind11"]
5+
requires = ["setuptools>=64.0.0", "wheel", "pybind11"]
66
build-backend = "build_ddbc.build_backend"
77
backend-path = ["."]
88

@@ -130,25 +130,6 @@ markers = [
130130
]
131131
addopts = "-m 'not stress'"
132132

133-
# =============================================================================
134-
# Coverage Configuration
135-
# =============================================================================
136-
[tool.coverage.run]
137-
source = ["mssql_python"]
138-
omit = [
139-
"*/tests/*",
140-
"*/__pycache__/*",
141-
"*/pybind/*",
142-
]
143-
144-
[tool.coverage.report]
145-
exclude_lines = [
146-
"pragma: no cover",
147-
"def __repr__",
148-
"raise NotImplementedError",
149-
"if __name__ == .__main__.:",
150-
]
151-
152133
# =============================================================================
153134
# Code Formatting - Black
154135
# =============================================================================

0 commit comments

Comments
 (0)