flake8 --per-file-ignores='tests/*:S101' .
Category: Python & pip
flake8 --per-file-ignores='tests/*:S101' .
Ignore specific codes only in certain files or directories
Ignores specific codes only for specific file patterns — e.g. allow assert in test files.