Commit Graph

29 Commits

Author SHA1 Message Date
Jonas L 35071ef834
chore: allow multiple exclude flag for packages.py (#1643) 2022-03-02 09:45:45 +02:00
Jonas L e371dccb77
chore: always build egg (#1654)
Prevent a possible mismatch between new setup.py and old requires.txt in previous egg build.
2022-03-01 14:40:34 +02:00
Jonas L d55e58e416
chore: auto generate requirements.txt (#1651)
- force LC_ALL for the sort command
2022-02-28 20:02:01 +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 7393db50e0 test: require lint to succeed for shared/ and tools/ 2022-01-26 10:15:35 +02:00
jo bed5436a6e chore: split dev requirement from package install 2022-01-26 10:15:35 +02:00
jo e862e9f280 test(tools): fix mypy linters 2022-01-26 10:15:35 +02:00
jo 9de82bb568 chore: make linters config consistent in pyproject.toml
- remove mypy config from makefile
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
jo 0f8cb1a5ed chore: set python build system in pyproject.toml
- fix local package install
- local packages requirement url format
2022-01-26 10:15:35 +02:00
Jonas L 19986cf1b1
chore: exclude packages sections using tools/packages.py (#1499)
* feat: exclude packages sections using tools/packages.py

* chore: group apache deps packages in a section

This allow one to exlude the entire section and install nginx for example.
2022-01-10 08:23:37 +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
Kyle Robbertze 7182390000
feat: add support for Ubuntu Focal 20.04 (#1168)
Co-authored-by: Valerio Bozzolan <gnu@linux.it>
2021-11-04 09:55:50 +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
Jonas L c7304badb2
Type fix and checks for tools packages (#1403)
* Fix scripts/packages typings

* Prevent empty packages list when invalid distro
2021-10-17 00:21:22 +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
Kyle Robbertze 56f5a84146
Merge pull request #1339 from jooola/feat/ci_start_linting
Start linting 🎉 !
2021-09-13 12:01:31 +00:00
jo 9a7c3e0d21 Replace build.sh with make to manage airtime_mvc 2021-09-11 04:55:51 +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
jo 3677a08656 Prepare Ubuntu 20.04 support
Start building docker dev images for testing purpose.
2021-09-09 17:54:27 +02:00
jo 1ec11f2a87 Prepare Debian 11 support
Start building docker dev images for testing purpose.
2021-09-09 16:31:55 +02:00
jo 14d4012e8e Fix tools linting 2021-09-07 23:10:21 +02:00
jo 4724a30937 Fix tools makefile 2021-09-07 23:09:53 +02:00
jo 7cb3501540 Rename scripts/ to tools/ 2021-09-07 23:03:19 +02:00