diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 387c58100..aa1124e3e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -175,6 +175,7 @@ lint_api: - changes: [api/**/*] image: $CI_REGISTRY/funkwhale/ci/python-funkwhale-api:3.11 + cache: *api_cache before_script: - cd api - make install diff --git a/api/Makefile b/api/Makefile index f946180cc..b24a42e33 100644 --- a/api/Makefile +++ b/api/Makefile @@ -11,4 +11,5 @@ lint: --jobs=$(CPU_CORES) \ --output-format=colorized \ --recursive=true \ + --disable=C,R,W,I \ config funkwhale_api tests diff --git a/changes/changelog.d/2346.enhancement b/changes/changelog.d/2346.enhancement new file mode 100644 index 000000000..57cf12d9b --- /dev/null +++ b/changes/changelog.d/2346.enhancement @@ -0,0 +1 @@ +disable some linter rule to avoid noise on the api lint process (#2346)