- Fix #18 plugin crash when test case is marked with a non-pytest.mark decorator
- Fix pytest fixture collection error on non-test modules
- 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)
- Fix #13 regression caused by mangling
sys.modules
- 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)
- Suppressing FP
unused-importwhen fixtures defined elsewhere are imported intoconftest.pybut not directly used (#2)
- Python 3.9 support
- Python 2.7 & 3.5 support
- Fix not able to work with
pytest-xdistplugin when--dist loadfileis set in configuration file (#5)
- W6401
deprecated-pytest-yield-fixture: add warning for yield_fixture functions
- Fix incorrect path separator for Windows (#1)
- Suppressing FP
no-memberfrom using workaround of accessing cls in setup fixture
- Refactor plugin to group patches and augmentations
- Fix fixtures defined with
@pytest.yield_fixturedecorator still showing FP - Fix crashes when using fixture + if + inline import
- Fix crashes when relatively importing fixtures (
from ..conftest import fixture)
- Fix crashes when
*argsor**kwargsis used in FuncDef
- Suppressing FP
unused-importwith tests - Suppressing FP
unused-argumentwith tests - Suppressing FP
redefined-outer-scopewith tests - Add CI/CD configuration with Travis CI