Github's super linter seems to call each file individually. So instead of flake --config foo . it does flake --config foo /path/to/file1.py and this ignores the exclude values in the config.