@@ -34,10 +34,10 @@ index 1fc0bb5a0..f1c68470b 100644
3434+ Note. ``xgboost-cpu`` does not provide an sdist (source distribution). You may install sdist
3535+ from https://pypi.org/project/xgboost/.
3636diff --git python-package/pyproject.toml python-package/pyproject.toml
37- index 46c1451c2..c5dc908d9 100644
37+ index 32abff1c6..5206f2e31 100644
3838--- python-package/pyproject.toml
3939+++ python-package/pyproject.toml
40- @@ -6 ,7 +6 ,7 @@ backend-path = ["."]
40+ @@ -7 ,7 +7 ,7 @@ backend-path = ["."]
4141 build-backend = "packager.pep517"
4242
4343 [project]
@@ -46,10 +46,13 @@ index 46c1451c2..c5dc908d9 100644
4646 description = "XGBoost Python Package"
4747 readme = { file = "README.rst", content-type = "text/x-rst" }
4848 authors = [
49- @@ -82,3 +82,6 @@ class-attribute-naming-style = "snake_case"
49+ @@ -71,6 +71,9 @@ disable = [
50+ dummy-variables-rgx = "(unused|)_.*"
51+ reports = false
5052
51- # Allow single-letter variables
52- variable-rgx = "[a-zA-Z_][a-z0-9_]{0,30}$"
53- +
5453+ [tool.hatch.build.targets.wheel]
5554+ packages = ["xgboost/"]
55+ +
56+ [tool.pylint.basic]
57+ # Enforce naming convention
58+ const-naming-style = "UPPER_CASE"
0 commit comments