Pylint-pytest

Latest version: v1.1.8

Safety actively analyzes 638452 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.1.2

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

1.1.1

Fixed
- Fix pytest fixture collection error on non-test modules

1.1.0

Added
- W6402 `useless-pytest-mark-decorator`: add warning for [using pytest.mark on fixtures](https://docs.pytest.org/en/stable/reference.html#marks) (thanks to DKorytkin)
- W6403 `deprecated-positional-argument-for-pytest-fixture`: add warning for [positional arguments to pytest.fixture()](https://docs.pytest.org/en/stable/deprecations.html#pytest-fixture-arguments-are-keyword-only) (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

Fixed
- Fix 13 regression caused by mangling `sys.modules`

1.0.2

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

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

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.