kojiromike commented on code in PR #3658: URL: https://github.com/apache/avro/pull/3658#discussion_r2822625103
########## lang/py/pyproject.toml: ########## @@ -16,21 +16,40 @@ ## # Minimal pip build requirements: # https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support + +[project] +name = "avro" +description = "Avro is a serialization and RPC framework." +version = "1.13.0" +requires-python = ">=3.10" + [build-system] -requires = ["setuptools>=40.8.0", "wheel"] +requires = ["setuptools>=78.1.0", "wheel"] build-backend = "setuptools.build_meta" -[tool.black] +[tool.ruff] line-length = 150 -[tool.isort] -profile = 'black' +[tool.mypy] +python_version = "3.11" +strict = true +warn_return_any = true +warn_unused_configs = true +disallow_untyped_defs = true +disallow_any_generics = true +check_untyped_defs = true +no_implicit_reexport = true +warn_redundant_casts = true +warn_unused_ignores = true -[tool.autoflake] -expand-star-imports = true -recursive = true -# Put a name in __all_ to explicitly export something a module imports. -# This is clearer and will keep autoflake from trying to remove it. -remove-all-unused-imports = true -remove-duplicate-keys = true -remove-unused-variables = true +[dependency-groups] Review Comment: No objection to uv. I just think of tox as a test runner and env manager, and uv as a packaging and dependency manager, and since avro python doesn't have any runtime dependencies besides python, it never seemed necessary. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
