urls: fix flake8 issues