Commit Graph

16992 Commits

Author SHA1 Message Date
jo 9f88f82404 Fix inconsistent test across env
Liquidsoap version in CI is different from debian buster
and on test about playability is failing because of
this unhandled versions mismatch.
2021-06-08 14:24:32 +02:00
jo bafa6fc6d8 Add comment in pytest conftest 2021-06-08 14:24:32 +02:00
jo 8b7d6f8a7e Migrate metadata_analyzer_test to pytest 2021-06-08 14:24:32 +02:00
jo 9639010ba6 Fix tests naming 2021-06-08 14:24:32 +02:00
jo d94193ce57 Migrate analyzer_pipeline_test to pytest 2021-06-08 14:24:32 +02:00
jo 23d02bf959 fix: Temp dir path might contain underscores 2021-06-08 14:24:32 +02:00
jo 21c8aa65db Add extra comment on helper function 2021-06-08 14:24:32 +02:00
jo 6700b4b8e0 Extract common fixtures in conftest.py 2021-06-08 14:24:32 +02:00
jo dad360255b Fix wildcard import 2021-06-08 14:24:32 +02:00
jo 6dee626cbd Migrate filemover_analyzer_test to pytest 2021-06-08 14:24:32 +02:00
jo 27090c8f2f Use requirements.txt and add pytest dependency
Requirements.txt is a developement deps list
2021-06-08 14:24:32 +02:00
jo b37a095414 Migrate playability_analyzer_test to pytest 2021-06-08 14:24:32 +02:00
jo efcbd26447 Migrate replaygain_analyzer_test to pytest 2021-06-08 14:24:32 +02:00
jo 5ff923887d Migrate cuepoint_analyzer_test to pytest 2021-06-08 14:24:32 +02:00
jo 591b62ebee Migrate analyzer_test to pytest 2021-06-08 14:24:32 +02:00
jo 0a9b0223a6 Replace deprecated .warn() with .warning() 2021-06-08 14:24:32 +02:00
jo 3522c3c86e Remove empty test file 2021-06-08 14:24:32 +02:00
Kyle Robbertze 8bbd0d608c
Merge pull request #1244 from jooola/api_client_pytest
Migrate api_clients tests to pytest
2021-06-08 14:19:31 +02:00
jo 8d9d1e43c5 Update CI to run api_clients pytest 2021-06-08 14:06:32 +02:00
Kyle Robbertze befa02d5ec
Merge pull request #1245 from jooola/drop_daemon
Remove daemon helper from analyzer
2021-06-08 08:35:50 +02:00
jo ce976743e7 Remove daemon helper from analyzer
Let the system daemonize the process.
2021-06-08 00:31:18 +02:00
jo f944eca0a7 Migrate api_clients tests to pytest 2021-06-08 00:08:32 +02:00
Kyle Robbertze e8d5481422
Merge pull request #1210 from jooola/setup-pre-commit
Add pre-commit setup
2021-06-07 23:14:56 +02:00
Kyle Robbertze ebe7b2e03f
Merge pull request #1234 from jooola/dependabot
Setup dependabot config
2021-06-07 23:12:28 +02:00
jo cd17d0e6f9 Setup dependabot config 2021-06-07 23:08:32 +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 b75d9e5c59 Add note about pre-commit 2021-06-05 00:39:35 +02:00
jo 35e325fbf0 Move lint/pre-commit to test/pre-commit workflow 2021-06-05 00:39:35 +02:00
jo 488e8e750d Replace some unicode ' with simple quote 2021-06-05 00:39:35 +02:00
jo 62bd352071 Replace some em dash with en dash 2021-06-05 00:39:35 +02:00
jo 639a1249b1 Replace some unicode ... with 3 dots 2021-06-05 00:39:35 +02:00
jo 1e1cf249f7 Search and replace unicode a0c2 with 0020 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 571b1a25ca Rename test_* to *_test in api_clients 2021-06-04 17:06:05 +02:00
jo 5eb357520e Rename tests to test in airtime_analyzer 2021-06-04 17:06:05 +02:00
jo a3a4e83c48 temp: xDisable pylint 2021-06-04 17:06:05 +02:00
jo ced4fea3e1 Fix libretime-api 2021-06-04 17:06:05 +02:00
jo 97fed1c18d Remove broken symlink 2021-06-04 17:06:05 +02:00
jo 5e9f99ed7e More spelling fix (dangerous) 2021-06-04 17:06:05 +02:00
jo 6df8d0d939 Fix mixed line ending 2021-06-04 17:06:05 +02:00
jo 0180fa0e49 Fix shebangs 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 f2e840989a Fix executable bit 2021-06-04 17:06:05 +02:00
jo 6871956baa Fix end of files 2021-06-04 17:06:05 +02:00
jo d8195f0fd8 Fix trailing whitespaces in files 2021-06-04 17:06:05 +02:00
jo 1af089219f Bump pre-commit/actions version to 2.0.3 2021-06-04 17:06:05 +02:00
Jonas L c04daca033 Pin pre-commit action version
Co-authored-by: Kyle Robbertze <paddatrapper@users.noreply.github.com>
2021-06-04 17:06:05 +02:00
jo c27f020d73 Format code using black 2021-06-04 17:06:05 +02:00
jo efe4fa027e Format code using prettier 2021-06-04 17:04:53 +02:00