pylama and fixes