Commit Graph

14 Commits

Author SHA1 Message Date
jo 26a2c2dda0 chore: update python tests target 2022-06-30 13:24:05 +02:00
Kyle Robbertze 7ff0aff70a ci: report pytest coverage in PR via codecov
Fixes: 
2022-06-29 11:23:44 +02:00
jo 892a2a5f78 chore: set default python target to install 2022-02-14 21:01:35 +02:00
jo 98cbbab4ad chore: add bandit and flake8 to python dev deps 2022-02-14 12:44:17 +02:00
jo bed5436a6e chore: split dev requirement from package install 2022-01-26 10:15:35 +02:00
jo 7988b7467b test: allow to set python linters to fail per app 2022-01-26 10:15:35 +02:00
Jonas L 5b1e61a13e
chore: enhance python.mk ()
* chore: run pylint with multiple cpu

* chore: use .venv as dev venv dir
2022-01-04 13:09:19 +02:00
Jonas L 30b3470a06
Better format enforcing ()
* Add shared python format-check target

* Add .format-check to api lint target

* Format api code with makefile format target

* Add .format-check to tools lint target

* Add .format-check to analyzer lint target

* Format analyzer code with makefile format target

* Add .format-check to celery lint target

* Add .format-check to api_client lint target

* Format api_client code with makefile format target

* Add .format-check to playout lint target

* Run CI linting in parallel

* Disable isort in pre-commit
2021-10-17 16:24:37 +02:00
jo 67f4b60b3a Split venv setup and package install targets
This allow to reinstall the packages without
rebuilding the venv in case of dependencies change.
2021-09-15 19:40:58 +02:00
jo 6b7658d5a7 Use shared makefile de requirements 2021-09-13 14:23:04 +02:00
jo 5753fc34a4 Format Makefiles 2021-09-13 14:22:20 +02:00
jo 6e4876839b Add format in shared makefile 2021-09-13 14:21:19 +02:00
jo 3dbc1205d0 Start linting with mypy 2021-09-10 15:14:48 +02:00
jo ceb40ee216 Use shared python makefile and start linting
Always update setuptools/wheel/pip

Never fail while linting

We use github annotations to impove the code incrementally.
2021-09-10 15:14:46 +02:00