Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for upcoming pytest 7.0 deprecations #42

Merged
merged 4 commits into from
Oct 25, 2021

Commits on Oct 25, 2021

  1. Remove FlakesItem.collect

    `collect` is not called on the Item, but on the File.
    bluetech committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    cdf051e View commit details
    Browse the repository at this point in the history
  2. Remove add_marker backward compat check

    Since pytest-flakes depends on pytest>=5.0, the check is not necessary.
    bluetech committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    defe028 View commit details
    Browse the repository at this point in the history
  3. Remove tokenize.open backward compat

    Since pytest-flakes required python>=3.5, and tokenize.open was added in
    python 3.2, it's no longer needed.
    bluetech committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    5e61d72 View commit details
    Browse the repository at this point in the history
  4. Prepare for upcoming pytest 7.0 deprecations

    pytest-flakes is checked as part of pytest's CI. In pytest 7.0
    (previously 6.3), `py.path.local`-based arguments to hooks & node ctors
    are deprecated, so switch to the `pathlib` based replacements on pytest
    7.
    bluetech committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    68e5368 View commit details
    Browse the repository at this point in the history