Jonas L
c0465f85f4
chore: remove pylint install workaround ( #2802 )
2023-12-18 19:21:57 +01:00
jo
284fd5c688
chore: set dev dependencies version ranges
2023-02-03 07:36:58 +02:00
jo
f394336efc
chore: move isort config to pyproject.toml
2022-12-07 15:59:52 +02:00
jo
5738edb49c
chore: split test and coverage tasks
2022-12-07 15:59:52 +02:00
jo
33e13e877e
chore: don't use venv activation in makefile
2022-12-07 15:59:52 +02:00
jo
1647c2e4e8
chore: update cpu count lookup
2022-12-07 15:59:52 +02:00
jo
ffc03095f3
chore: setuptools enable legacy-editable
2022-08-25 09:51:36 +02:00
jo
38bf18cd1f
chore: revert pin setuptools to <64.0.0 for development
...
This reverts commit b1ebc3a44f
.
2022-08-25 09:51:36 +02:00
jo
3ea085d351
chore: add python docker-* targets
...
This allow testing in a similar context to the github CI.
2022-08-17 13:18:13 +02:00
jo
b1ebc3a44f
chore: pin setuptools to <64.0.0 for development
2022-08-11 21:48:42 +02:00
jo
d917ae1da8
chore: use max 4 cores for parallel execution
2022-08-09 21:08:29 +02:00
jo
160f5e14ce
chore: add combine-as isort option
2022-07-27 18:11:34 +02:00
jo
b93e1e5570
chore: install local python deps in editable mode
2022-07-27 15:35:57 +02:00
Jonas L
f03605a6ce
chore: enable pylint recursive linting ( #1981 )
2022-07-22 16:26:06 +02:00
jo
9ca2d8ad94
chore: don't reuse local packages wheels
2022-07-22 15:00:38 +02:00
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 : #1915
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 ( #1474 )
...
* 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 ( #1391 )
...
* 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