Describe the bug
Path.exists has a follow_symlinks keyword argument since 3.12. There is a rule for this too as far as I can tell. But code using this argument isn't flagged as requiring Python 3.12.
To Reproduce
from pathlib import Path
print(Path.cwd().exists(follow_symlinks=True))
vermin --no-tips -t=3.10- --violations ./path_exists.py
Detecting python files..
Analyzing using 32 processes..
Minimum required versions: 3.4
Incompatible versions: 2.x
Expected behavior
vermin should deduce the minimum required version to be 3.12 and show the violation of using the follow_symlinks keyword argument.
Environment (please complete the following information):
Vermin 1.8.0
Additional context
This came up while linting pwndbg in a Python 3.10 environment using mypy. We expected vermin to catch this.
Describe the bug
Path.existshas afollow_symlinkskeyword argument since 3.12. There is a rule for this too as far as I can tell. But code using this argument isn't flagged as requiring Python 3.12.To Reproduce
Expected behavior
vermin should deduce the minimum required version to be 3.12 and show the violation of using the
follow_symlinkskeyword argument.Environment (please complete the following information):
Vermin 1.8.0
Additional context
This came up while linting pwndbg in a Python 3.10 environment using mypy. We expected vermin to catch this.