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
This commit is contained in:
parent
ada4c72e87
commit
30b3470a06
25 changed files with 50 additions and 22 deletions
|
@ -4,6 +4,7 @@ import shutil
|
|||
from queue import Queue
|
||||
|
||||
import pytest
|
||||
|
||||
from airtime_analyzer.analyzer_pipeline import AnalyzerPipeline
|
||||
|
||||
from .conftest import AUDIO_FILENAME, AUDIO_IMPORT_DEST
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import pytest
|
||||
|
||||
from airtime_analyzer.analyzer import Analyzer
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import distro
|
||||
import pytest
|
||||
|
||||
from airtime_analyzer.cuepoint_analyzer import CuePointAnalyzer
|
||||
|
||||
from .fixtures import FILE_INVALID_DRM, FILES, Fixture
|
||||
|
|
|
@ -5,6 +5,7 @@ import time
|
|||
from unittest import mock
|
||||
|
||||
import pytest
|
||||
|
||||
from airtime_analyzer.filemover_analyzer import FileMoverAnalyzer
|
||||
|
||||
from .conftest import AUDIO_FILENAME
|
||||
|
|
|
@ -3,6 +3,7 @@ from unittest import mock
|
|||
|
||||
import mutagen
|
||||
import pytest
|
||||
|
||||
from airtime_analyzer.metadata_analyzer import MetadataAnalyzer
|
||||
|
||||
from .fixtures import FILE_INVALID_DRM, FILE_INVALID_TXT, FILES_TAGGED, FixtureMeta
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import distro
|
||||
import pytest
|
||||
|
||||
from airtime_analyzer.playability_analyzer import (
|
||||
PlayabilityAnalyzer,
|
||||
UnplayableFileError,
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import pytest
|
||||
|
||||
from airtime_analyzer.replaygain_analyzer import ReplayGainAnalyzer
|
||||
|
||||
from .fixtures import FILE_INVALID_DRM, FILES, Fixture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue