pre-commit is not needed to run tests. --- traitlets-5.16.1/pyproject.toml.orig +++ traitlets-5.16.1/pyproject.toml @@ -38,7 +38,6 @@ # prefix) in https://github.com/python/mypy/pull/20929; test assertions in # tests/test_typing.py target that newer output, so require >=1.20. "mypy>=2.0; implementation_name != 'pypy'", - "pre-commit", "pytest-mock", "pytest>=7.0,<10.0", ]