Jonas L
1550d44ac5
style(legacy): format ( #2039 )
2022-08-10 13:38:19 +02:00
jo
80218f33eb
chore: rewrite extract-requirements to python
...
Using python ast to guess requirements in the setup.py file.
2022-07-17 21:25:37 +02:00
jo
08bcaf459c
chore(api): add openapi schema
2022-06-18 12:13:11 +02:00
renovate[bot]
567d0406ba
chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v2.7.1 ( #1881 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 14:40:14 +02:00
renovate[bot]
3e7ecb622a
chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v2.7.0 ( #1874 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-14 15:48:53 +02:00
renovate[bot]
f4f1fb28f7
chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v4.3.0 ( #1866 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-07 22:40:17 +02:00
renovate[bot]
9b2c5fbc85
chore(deps): update pre-commit hook asottile/pyupgrade to v2.34.0 ( #1865 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-07 07:58:44 +02:00
renovate[bot]
623655e3d0
chore(deps): update pre-commit hook asottile/pyupgrade to v2.32.1 ( #1832 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-05 08:04:41 +02:00
renovate[bot]
e820931b43
chore(deps): update pre-commit hook asottile/pyupgrade to v2.32.0 ( #1806 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 16:26:18 +02:00
renovate[bot]
cbdd1b4840
chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v4.2.0 ( #1807 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 16:25:23 +02:00
Jonas L
cd63285c71
chore: upgrade pre-commit hooks ( #1731 )
2022-04-04 11:05:31 +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
9eab3b8d17
chore: update pre-commit to handle js/ts/css files
2022-02-10 08:17:02 +01:00
jo
89c845b269
chore: upgrade black pre-commit hook
2022-02-09 17:24:36 +02:00
jo
32cb67806a
chore: add pyupgrade pre-commit hook
...
- add --py3-plus flag to pyupgrade hook
- add --py36-plus flag to pyupgrade hook
2022-01-27 10:37:48 +02:00
jo
21aaf9bca1
chore: upgrade pre-commit hooks
2022-01-27 10:37:48 +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
3a7d450191
Enable pre-commit on legacy code
2021-10-12 11:16:43 +02:00
jo
c70cd8e587
Fix duplicate check-yaml entry
2021-10-12 11:16:43 +02:00
jo
c4c89eae19
Fix paths after legacy rename
2021-10-11 13:43:39 +02:00
jo
1742f91a34
Cleanup pre-commit lint task
2021-09-10 13:34:26 +02:00
jo
6d8e6e15cf
Add extra builtin dictionnary for codespell
2021-08-17 22:49:55 +02:00
jo
7fbbce0032
Upgrade pre-commit hooks
2021-08-17 22:45:24 +02:00
jo
01fbd1e8b9
Add isort pre-commit hook
...
Sort import statement in python files
See https://github.com/PyCQA/isort
2021-06-05 00:39:35 +02:00
jo
b26de72704
Remove python encoding pragma
2021-06-05 00:39:23 +02:00
jo
813cbac60d
Ignore python test naming for libretime api
2021-06-04 17:06:05 +02:00
jo
a3a4e83c48
temp: xDisable pylint
2021-06-04 17:06:05 +02:00
jo
225863d227
Set end of line to LF
2021-06-04 17:06:05 +02:00
jo
0cd499eee1
Add pre-commit setup
...
- Add pre-commit hooks
- Add github action to enforce pre-commit setup
For any hooks required for a 'sub project', for
instance the UI. It will be possible to create custom hooks,
and call some package scripts in the package.json file.
Fixes #1208
2021-06-04 17:04:53 +02:00