added ".venv" directory to ignore list
optimized assignment