Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Latest commit

 

History

History
71 lines (54 loc) · 2.5 KB

CHANGELOG.md

File metadata and controls

71 lines (54 loc) · 2.5 KB

Changelog

[Unreleased]

[1.1.2] - 2021-04-19

Fixed

  • Fix #18 plugin crash when test case is marked with a non-pytest.mark decorator

[1.1.1] - 2021-04-12

Fixed

  • Fix pytest fixture collection error on non-test modules

[1.1.0] - 2021-04-11

Added

  • W6402 useless-pytest-mark-decorator: add warning for using pytest.mark on fixtures (thanks to @DKorytkin)
  • W6403 deprecated-positional-argument-for-pytest-fixture: add warning for positional arguments to pytest.fixture() (thanks to @DKorytkin)
  • F6401 cannot-enumerate-pytest-fixtures: add fatal error when the plugin cannot enumerate and collect pytest fixtures for analysis (#27)

[1.0.3] - 2021-03-13

Fixed

  • Fix #13 regression caused by mangling sys.modules

[1.0.2] - 2021-03-10

Fixed

  • Fix pytest Module already imported so cannot be rewritten warning when the package being linted was used by pytest/conftest already (#10)
  • Fix missing Python version constraint (#11)

[1.0.1] - 2021-03-03

Added

  • Suppressing FP unused-import when fixtures defined elsewhere are imported into conftest.py but not directly used (#2)

[1.0.0] - 2021-03-02

Added

  • Python 3.9 support

Removed

  • Python 2.7 & 3.5 support

Fixed

  • Fix not able to work with pytest-xdist plugin when --dist loadfile is set in configuration file (#5)

[0.3.0] - 2020-08-10

Added

Fixed

  • Fix incorrect path separator for Windows (#1)

[0.2.0] - 2020-05-25

Added

Changed

  • Refactor plugin to group patches and augmentations

[0.1.2] - 2020-05-22

Fixed

  • Fix fixtures defined with @pytest.yield_fixture decorator still showing FP
  • Fix crashes when using fixture + if + inline import
  • Fix crashes when relatively importing fixtures (from ..conftest import fixture)

[0.1.1] - 2020-05-19

Fixed

  • Fix crashes when *args or **kwargs is used in FuncDef

[0.1] - 2020-05-18

Added

  • Suppressing FP unused-import with tests
  • Suppressing FP unused-argument with tests
  • Suppressing FP redefined-outer-scope with tests
  • Add CI/CD configuration with Travis CI