diff --git a/pyproject.toml b/pyproject.toml index 9f174729..706eec1b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ optional-dependencies.dev = [ "pygments==2.19.2", "pylint[spelling]==4.0.4", "pylint-per-file-ignores==3.2.0", - "pyproject-fmt==2.11.1", + "pyproject-fmt==2.12.1", "pyrefly==0.50.1", "pyright==1.1.408", "pyroma==5.0.1", @@ -89,16 +89,16 @@ urls.Source = "https://github.com/VWS-Python/vws-python" [tool.setuptools] zip-safe = false -[tool.setuptools.packages.find] -where = [ - "src", -] - [tool.setuptools.package-data] vws = [ "py.typed", ] +[tool.setuptools.packages.find] +where = [ + "src", +] + [tool.distutils.bdist_wheel] universal = true @@ -156,6 +156,12 @@ lint.pydocstyle.convention = "google" [tool.pylint] +[tool.pylint.'FORMAT'] + +# Allow the body of an if to be on the same line as the test if there is no +# else. +single-line-if-stmt = false + [tool.pylint.'MASTER'] # Pickle collected data for later comparisons. @@ -256,12 +262,6 @@ per-file-ignores = [ "doccmd_README_rst_*.py:invalid-name", ] -[tool.pylint.'FORMAT'] - -# Allow the body of an if to be on the same line as the test if there is no -# else. -single-line-if-stmt = false - [tool.pylint.'SPELLING'] # Spelling dictionary name. Available dictionaries: none. To make it working @@ -319,15 +319,15 @@ max_supported_python = "3.14" xfail_strict = true log_cli = true -[tool.coverage.run] - -branch = true - [tool.coverage.report] exclude_also = [ "if TYPE_CHECKING:", ] +[tool.coverage.run] + +branch = true + [tool.mypy] strict = true