To my knowledge (and experience), you can farm squid by having an aquarium. I had a 4*4*4 farm, which basically: 1. Spawned squid occasionally 2. Forced squid into small 1*2*1 hole 3. Killed with pistons and a redstone clock or by punching (no need to waste sword durability on this).