Warn about unnecessary fixtures in tests' definition.
Project description
flake8_unused_fixtures
This project searches for all functions with prefix "test_" or suffix "_test" and searches for all unused fixture names inside the function body. For now, it does not check if the function is actually marked as fixture.
It is assumed that fixtures that do not need to be directly accessed are
declared using @pytest.mark.usefixtures
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for flake8_unused_fixtures-0.3.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea0a8316e5d399dd2f65ce1afed28bbc8618c09c06b51b4fe6f34b99ac5ef098 |
|
MD5 | b57d1e6a21b9ed346d1e3ae2ab80a8c2 |
|
BLAKE2b-256 | 582317086a2eff17f78e27990e157f198e3799804c3bf2fa1afd1cc46ba1be07 |
Close
Hashes for flake8_unused_fixtures-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf0ac51b076f9e6b570a0a83c31d64bffb4f2f7c817890d7da77a46fb73dbc5e |
|
MD5 | 6231ee644450150e9c82ad6aeccfedcd |
|
BLAKE2b-256 | dbded27ea39b8030bafb226bd00323bab9e1656385ef77c211e3a7ce489e71fd |