Etymology
Today it means: The behaviour of a scallywag. Full definition →
From scallywag + -ery.
Etymology from Wiktionary, CC BY-SA 4.0.