I am trying to find some pattern within files like my project's setup.py / setup.cfg', rio.yaml. Our code .. So within the Find in Files dialog I selected the Directory option. However the python libraries are still being searched:
That was a surprise: I had expected those to only show up if the Project were selected. So how can the Python libraries be excluded?
I have even manually excluded the virtual environment (.venv and friends) directories.
The files are still being searched under that .venv directory
I am on PyCharm Professional 2021.3.1.


