Move pytest config into pyproject.toml and modernize.

Review Request #14793 — Created Jan. 29, 2026 and updated

Information

Djblets
release-6.x

Reviewers

Now that we're on Pytest 9+, we can put its configuration into
pyproject.toml instead of setup.cfg. Along with this, there's a
bunch of warnings that we no longer need to ignore.

Ran unit tests.

Summary ID
Move pytest config into pyproject.toml and modernize.
Now that we're on Pytest 9+, we can put its configuration into `pyproject.toml` instead of `setup.cfg`. Along with this, there's a bunch of warnings that we no longer need to ignore. Testing Done: Ran unit tests.
wqpxqrtqotmzupmumrvkvswzzwlvlnpy
Checks run (2 succeeded)
flake8 passed.
JSHint passed.