Skip to content

Modernize/improve various development things #595

Description

@The-Compiler

I noticed a couple of things while picking up work on pytest-qt again:

  • One test uses tmpdir instead of tmp_path
  • All tests use testdir instead of pytester
  • We might want to switch from autoflake/pyupgrade/black/flake8 to ruff?
  • We should switch from setup.py to a pyproject.toml (and maybe uv?)
  • License PyPI classifiers are deprected, we should use a SPDX license
  • We should force colored pytest output on GitHub Actions
  • We should have type annotations and use mypy on CI (and then probably add py.typed too)

Thoughts? We should probably split this into more bite-sized issues, just writing down what went through my head before I forget everything again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions